@clickview/online 0.0.10-dev.1 → 0.0.10-rc.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/en.json +1 -1
- package/dist/online-app.css +10 -8
- package/dist/online-app.js +5 -5
- package/package.json +3 -3
- package/dist/libs/analytics/src/Analytics.d.ts +0 -10
- package/dist/libs/analytics/src/AnalyticsHelper.d.ts +0 -30
- package/dist/libs/analytics/src/AnalyticsService.d.ts +0 -52
- package/dist/libs/analytics/src/clients/BaseAnalyticsClient.d.ts +0 -24
- package/dist/libs/analytics/src/clients/CollectionApiClient.d.ts +0 -48
- package/dist/libs/analytics/src/clients/DebuggerClient.d.ts +0 -7
- package/dist/libs/analytics/src/constants/ApplicationOptionsKey.d.ts +0 -1
- package/dist/libs/analytics/src/constants/CountryRegionMapping.d.ts +0 -7
- package/dist/libs/analytics/src/constants/EventFirehose.d.ts +0 -4
- package/dist/libs/analytics/src/constants/GlobalChannels.d.ts +0 -3
- package/dist/libs/analytics/src/constants/Regions.d.ts +0 -6
- package/dist/libs/analytics/src/constants/Services.d.ts +0 -4
- package/dist/libs/analytics/src/enrichers/BaseAnalyticsEnricher.d.ts +0 -19
- package/dist/libs/analytics/src/enrichers/CoreContextEnricher.d.ts +0 -22
- package/dist/libs/analytics/src/enrichers/UserDataEnricher.d.ts +0 -10
- package/dist/libs/analytics/src/enums/CountryCode.d.ts +0 -5
- package/dist/libs/analytics/src/enums/RegionName.d.ts +0 -5
- package/dist/libs/analytics/src/interfaces/AnalyticsTypes.d.ts +0 -317
- package/dist/libs/analytics/src/interfaces/Config.d.ts +0 -3
- package/dist/libs/analytics/src/interfaces/Folder.d.ts +0 -3
- package/dist/libs/analytics/src/interfaces/HashObject.d.ts +0 -3
- package/dist/libs/analytics/src/interfaces/Owner.d.ts +0 -3
- package/dist/libs/analytics/src/interfaces/Playlist.d.ts +0 -3
- package/dist/libs/analytics/src/interfaces/Rating.d.ts +0 -4
- package/dist/libs/analytics/src/interfaces/Region.d.ts +0 -5
- package/dist/libs/analytics/src/interfaces/RegionalUrl.d.ts +0 -5
- package/dist/libs/analytics/src/interfaces/Resource.d.ts +0 -5
- package/dist/libs/analytics/src/interfaces/Series.d.ts +0 -3
- package/dist/libs/analytics/src/interfaces/Subtitle.d.ts +0 -4
- package/dist/libs/analytics/src/interfaces/User.d.ts +0 -17
- package/dist/libs/analytics/src/interfaces/VersionData.d.ts +0 -4
- package/dist/libs/analytics/src/interfaces/Video.d.ts +0 -16
- package/dist/libs/analytics/src/interfaces/index.d.ts +0 -15
- package/dist/libs/analytics/src/interfaces/primitives/BaseObject.d.ts +0 -7
- package/dist/libs/analytics/src/models/AnalyticsEvent.d.ts +0 -49
- package/dist/libs/analytics/src/models/CollectionEvent.d.ts +0 -61
- package/dist/libs/analytics/src/services/ContextService.d.ts +0 -19
- package/dist/libs/analytics/src/transport/EventTransport.d.ts +0 -39
- package/dist/libs/analytics/src/utils/CollectionApiClientHelper.d.ts +0 -6
- package/dist/libs/analytics/src/utils/DataFormatHelper.d.ts +0 -14
- package/dist/libs/analytics/src/utils/EventWhitelistHelper.d.ts +0 -19
- package/dist/libs/analytics/src/utils/TypeHelper.d.ts +0 -4
- package/dist/libs/analytics/src/utils/UploadDataFormatHelper.d.ts +0 -10
- package/dist/libs/analytics/src/utils/UrlHelper.d.ts +0 -3
- package/dist/libs/analytics/src/utils/UserAgentHelper.d.ts +0 -10
- package/dist/libs/analytics/src/utils/VideoDataFormatHelper.d.ts +0 -42
- package/dist/libs/common/src/backbone/constants/Caches.d.ts +0 -3
- package/dist/libs/common/src/backbone/constants/CommonChannels.d.ts +0 -5
- package/dist/libs/common/src/backbone/constants/CommonServices.d.ts +0 -4
- package/dist/libs/common/src/backbone/constants/DataProviders.d.ts +0 -4
- package/dist/libs/common/src/backbone/core/AppLink.d.ts +0 -37
- package/dist/libs/common/src/backbone/core/BaseAppRouter.d.ts +0 -103
- package/dist/libs/common/src/backbone/core/BaseApplication.d.ts +0 -76
- package/dist/libs/common/src/backbone/core/BaseBehavior.d.ts +0 -6
- package/dist/libs/common/src/backbone/core/BaseCollection.d.ts +0 -7
- package/dist/libs/common/src/backbone/core/BaseCollectionView.d.ts +0 -16
- package/dist/libs/common/src/backbone/core/BaseError.d.ts +0 -18
- package/dist/libs/common/src/backbone/core/BaseLayoutView.d.ts +0 -11
- package/dist/libs/common/src/backbone/core/BaseModel.d.ts +0 -27
- package/dist/libs/common/src/backbone/core/BaseNestedModel.d.ts +0 -21
- package/dist/libs/common/src/backbone/core/BaseService.d.ts +0 -10
- package/dist/libs/common/src/backbone/core/BaseView.d.ts +0 -131
- package/dist/libs/common/src/backbone/core/EventNames.d.ts +0 -16
- package/dist/libs/common/src/backbone/core/LayoutService.d.ts +0 -31
- package/dist/libs/common/src/backbone/core/ListenToRadio.d.ts +0 -3
- package/dist/libs/common/src/backbone/core/LocationUtils.d.ts +0 -23
- package/dist/libs/common/src/backbone/core/Middleware.d.ts +0 -10
- package/dist/libs/common/src/backbone/core/Shell.d.ts +0 -79
- package/dist/libs/common/src/backbone/core/Types.d.ts +0 -12
- package/dist/libs/common/src/backbone/core/index.d.ts +0 -18
- package/dist/libs/common/src/backbone/enums/DataServiceErrorType.d.ts +0 -8
- package/dist/libs/common/src/backbone/enums/HttpStatus.d.ts +0 -10
- package/dist/libs/common/src/backbone/enums/HttpVerbs.d.ts +0 -6
- package/dist/libs/common/src/backbone/errors/DevError.d.ts +0 -4
- package/dist/libs/common/src/backbone/errors/NotImplementedError.d.ts +0 -5
- package/dist/libs/common/src/backbone/index.d.ts +0 -2
- package/dist/libs/common/src/backbone/interfaces/BaseCollectionIdentifier.d.ts +0 -19
- package/dist/libs/common/src/backbone/interfaces/ChainableDataService.d.ts +0 -9
- package/dist/libs/common/src/backbone/interfaces/DataCache.d.ts +0 -8
- package/dist/libs/common/src/backbone/interfaces/DataProvider.d.ts +0 -15
- package/dist/libs/common/src/backbone/interfaces/DataServiceError.d.ts +0 -7
- package/dist/libs/common/src/backbone/interfaces/DataServiceRequests.d.ts +0 -218
- package/dist/libs/common/src/backbone/interfaces/Pagination.d.ts +0 -33
- package/dist/libs/common/src/backbone/interfaces/StickitBinding.d.ts +0 -38
- package/dist/libs/common/src/backbone/interfaces/Xhr.d.ts +0 -9
- package/dist/libs/common/src/backbone/interfaces/index.d.ts +0 -9
- package/dist/libs/common/src/backbone/services/BaseAlertService.d.ts +0 -69
- package/dist/libs/common/src/backbone/services/BaseDataService.d.ts +0 -82
- package/dist/libs/common/src/backbone/services/EnvironmentVariables.d.ts +0 -13
- package/dist/libs/common/src/backbone/services/InstanceManager.d.ts +0 -33
- package/dist/libs/common/src/backbone/services/LanguageService.d.ts +0 -22
- package/dist/libs/common/src/backbone/services/ViewModelService.d.ts +0 -68
- package/dist/libs/common/src/backbone/services/caches/FifoMemoryCache.d.ts +0 -20
- package/dist/libs/common/src/backbone/services/data-providers/AjaxDataProvider.d.ts +0 -31
- package/dist/libs/common/src/backbone/utils/ConcurrencyHelper.d.ts +0 -13
- package/dist/libs/common/src/backbone/utils/DataServiceErrorHelper.d.ts +0 -2
- package/dist/libs/common/src/backbone/utils/FunctionHelper.d.ts +0 -8
- package/dist/libs/common/src/backbone/utils/LocalStorageHelper.d.ts +0 -58
- package/dist/libs/common/src/backbone/utils/UrlHelper.d.ts +0 -14
- package/dist/libs/common/src/backbone/utils/UserAgentHelper.d.ts +0 -7
- package/dist/libs/common/src/react/components/BackboneViewWrapper.d.ts +0 -10
- package/dist/libs/common/src/react/constants/ViewModelActions.d.ts +0 -3
- package/dist/libs/common/src/react/context/PageTitleContext.d.ts +0 -10
- package/dist/libs/common/src/react/core/ReactApplication.d.ts +0 -9
- package/dist/libs/common/src/react/core/ReactLayoutView.d.ts +0 -13
- package/dist/libs/common/src/react/flight/FlightHelpers.d.ts +0 -14
- package/dist/libs/common/src/react/flight/FlightMiddleware.d.ts +0 -11
- package/dist/libs/common/src/react/flight/FlightReducer.d.ts +0 -2
- package/dist/libs/common/src/react/flight/FlightSimulator.d.ts +0 -24
- package/dist/libs/common/src/react/flight/constants/Actions.d.ts +0 -7
- package/dist/libs/common/src/react/flight/constants/index.d.ts +0 -1
- package/dist/libs/common/src/react/flight/data-layers/AjaxRequest.d.ts +0 -2
- package/dist/libs/common/src/react/flight/data-layers/index.d.ts +0 -1
- package/dist/libs/common/src/react/flight/enums/RequestStatus.d.ts +0 -6
- package/dist/libs/common/src/react/flight/enums/index.d.ts +0 -1
- package/dist/libs/common/src/react/flight/index.d.ts +0 -9
- package/dist/libs/common/src/react/flight/interfaces/Action.d.ts +0 -28
- package/dist/libs/common/src/react/flight/interfaces/Dispatch.d.ts +0 -3
- package/dist/libs/common/src/react/flight/interfaces/FlightState.d.ts +0 -22
- package/dist/libs/common/src/react/flight/interfaces/HttpRequest.d.ts +0 -27
- package/dist/libs/common/src/react/flight/interfaces/NormalizeOptions.d.ts +0 -4
- package/dist/libs/common/src/react/flight/interfaces/NormalizedData.d.ts +0 -7
- package/dist/libs/common/src/react/flight/interfaces/Request.d.ts +0 -29
- package/dist/libs/common/src/react/flight/interfaces/Response.d.ts +0 -9
- package/dist/libs/common/src/react/flight/interfaces/UpdateStateOptions.d.ts +0 -15
- package/dist/libs/common/src/react/flight/interfaces/index.d.ts +0 -9
- package/dist/libs/common/src/react/flight/normalizer/Denormalizer.d.ts +0 -3
- package/dist/libs/common/src/react/flight/normalizer/Normalizer.d.ts +0 -8
- package/dist/libs/common/src/react/flight/normalizer/index.d.ts +0 -2
- package/dist/libs/common/src/react/flight/utils/SimulatorHelper.d.ts +0 -5
- package/dist/libs/common/src/react/flight/utils/StateHelper.d.ts +0 -11
- package/dist/libs/common/src/react/flight/utils/index.d.ts +0 -2
- package/dist/libs/common/src/react/hooks/UseInstance.d.ts +0 -6
- package/dist/libs/common/src/react/hooks/UseRenderBackboneView.d.ts +0 -10
- package/dist/libs/common/src/react/hooks/UseService.d.ts +0 -2
- package/dist/libs/common/src/react/hooks/UseSetPageTitle.d.ts +0 -7
- package/dist/libs/common/src/react/hooks/UseViewModel.d.ts +0 -4
- package/dist/libs/common/src/react/index.d.ts +0 -2
- package/dist/libs/common/src/react/interfaces/ApplicationData.d.ts +0 -3
- package/dist/libs/common/src/react/interfaces/ApplicationState.d.ts +0 -8
- package/dist/libs/common/src/react/interfaces/BaseReducerActions.d.ts +0 -4
- package/dist/libs/common/src/react/interfaces/HashObject.d.ts +0 -3
- package/dist/libs/common/src/react/interfaces/ViewModelAction.d.ts +0 -5
- package/dist/libs/common/src/react/interfaces/ViewModelPayload.d.ts +0 -5
- package/dist/libs/common/src/react/interfaces/index.d.ts +0 -4
- package/dist/libs/common/src/react/reducers/ViewModelReducer.d.ts +0 -3
- package/dist/libs/common/src/react/utils/ArrayHelper.d.ts +0 -45
- package/dist/libs/common/src/react/utils/FetchHelper.d.ts +0 -50
- package/dist/libs/common/src/react/utils/ObjectHelper.d.ts +0 -10
- package/dist/libs/common/src/react/utils/PageTitleHelper.d.ts +0 -3
- package/dist/libs/common/src/react/utils/RandomHelper.d.ts +0 -3
- package/dist/libs/common/src/react/utils/TextHelper.d.ts +0 -10
- package/dist/libs/common/src/react/utils/TimeHelper.d.ts +0 -8
- package/dist/libs/common/src/react/utils/TypeHelper.d.ts +0 -5
- package/dist/libs/shared/src/apps/content-updates/flight-requests/ContentUpdateRequests.d.ts +0 -11
- package/dist/libs/shared/src/apps/content-updates/interfaces/ClassificationVideosGrouping.d.ts +0 -7
- package/dist/libs/shared/src/apps/content-updates/interfaces/ContentUpdate.d.ts +0 -7
- package/dist/libs/shared/src/apps/content-updates/interfaces/ContentUpdateAppLinks.d.ts +0 -12
- package/dist/libs/shared/src/apps/content-updates/interfaces/Reason.d.ts +0 -6
- package/dist/libs/shared/src/apps/content-updates/interfaces/VideoWithClassification.d.ts +0 -4
- package/dist/libs/shared/src/apps/content-updates/interfaces/index.d.ts +0 -5
- package/dist/libs/shared/src/apps/notifications/enums/NotificationType.d.ts +0 -16
- package/dist/libs/shared/src/apps/playlists/components/empty-state/EmptyPlaylistList.d.ts +0 -2
- package/dist/libs/shared/src/apps/playlists/components/empty-state/EmptyVideoList.d.ts +0 -9
- package/dist/libs/shared/src/apps/playlists/components/playlist-list/PartialPlaylistList.d.ts +0 -13
- package/dist/libs/shared/src/apps/playlists/components/playlist-list/PlaylistItem.d.ts +0 -19
- package/dist/libs/shared/src/apps/playlists/components/playlist-list/PlaylistList.d.ts +0 -21
- package/dist/libs/shared/src/apps/playlists/components/playlist-list/PlaylistOwnerAvatar.d.ts +0 -9
- package/dist/libs/shared/src/apps/playlists/components/playlist-list/index.d.ts +0 -3
- package/dist/libs/shared/src/apps/playlists/components/sort-select/PlaylistSortSelect.d.ts +0 -16
- package/dist/libs/shared/src/apps/playlists/enums/MigrationTaskStatus.d.ts +0 -6
- package/dist/libs/shared/src/apps/playlists/enums/PlaylistSortType.d.ts +0 -7
- package/dist/libs/shared/src/apps/playlists/enums/PlaylistType.d.ts +0 -5
- package/dist/libs/shared/src/apps/playlists/hooks/UseHandlePlaylistError.d.ts +0 -9
- package/dist/libs/shared/src/apps/playlists/interfaces/data-requests/CreateOrUpdatePlaylistRequest.d.ts +0 -7
- package/dist/libs/shared/src/apps/playlists/interfaces/data-requests/index.d.ts +0 -1
- package/dist/libs/shared/src/apps/playlists/interfaces/identifiers/PlaylistCollectionIdentifier.d.ts +0 -8
- package/dist/libs/shared/src/apps/playlists/interfaces/identifiers/PlaylistVideoCollectionIdentifier.d.ts +0 -4
- package/dist/libs/shared/src/apps/playlists/interfaces/identifiers/index.d.ts +0 -2
- package/dist/libs/shared/src/apps/playlists/interfaces/index.d.ts +0 -2
- package/dist/libs/shared/src/apps/playlists/utils/PlaylistSortHelper.d.ts +0 -4
- package/dist/libs/shared/src/apps/playlists/utils/PlaylistStateUpdateHelper.d.ts +0 -9
- package/dist/libs/shared/src/apps/playlists/utils/RecentPlaylistHelper.d.ts +0 -12
- package/dist/libs/shared/src/apps/playlists/utils/getBackgroundColourClass.d.ts +0 -2
- package/dist/libs/shared/src/apps/playlists/validation/PlaylistValidationSchema.d.ts +0 -5
- package/dist/libs/shared/src/apps/subjects/components/audience-filter/AudienceFilter.d.ts +0 -13
- package/dist/libs/shared/src/apps/subjects/components/audience-item/AudienceItem.d.ts +0 -16
- package/dist/libs/shared/src/apps/subjects/components/audience-item/index.d.ts +0 -2
- package/dist/libs/shared/src/apps/subjects/components/audience-item/partial-loading/PartialAudiences.d.ts +0 -9
- package/dist/libs/shared/src/apps/subjects/components/classification-list/ClassificationList.d.ts +0 -12
- package/dist/libs/shared/src/apps/subjects/components/coming-soon/ComingSoon.d.ts +0 -10
- package/dist/libs/shared/src/apps/subjects/components/hero-video/HeroVideo.d.ts +0 -14
- package/dist/libs/shared/src/apps/subjects/components/preferences/bulk-preference-summary/BulkPreferenceSummary.d.ts +0 -7
- package/dist/libs/shared/src/apps/subjects/components/preferences/footer/PreferenceFooter.d.ts +0 -11
- package/dist/libs/shared/src/apps/subjects/components/preferences/index.d.ts +0 -5
- package/dist/libs/shared/src/apps/subjects/components/preferences/nav/PreferencesNav.d.ts +0 -12
- package/dist/libs/shared/src/apps/subjects/components/preferences/preference-item/PreferenceItem.d.ts +0 -16
- package/dist/libs/shared/src/apps/subjects/components/preferences/preference-item/PreferenceItemStatus.d.ts +0 -11
- package/dist/libs/shared/src/apps/subjects/components/preferences/subject-preference-grid/SubjectPreferenceGrid.d.ts +0 -12
- package/dist/libs/shared/src/apps/subjects/components/preferences/subject-preference-item/SubjectPreferenceItem.d.ts +0 -13
- package/dist/libs/shared/src/apps/subjects/components/preferences/subject-preference-item/partial-loading/PartialSubjectPreferences.d.ts +0 -7
- package/dist/libs/shared/src/apps/subjects/contexts/SubjectPreferencesContext.d.ts +0 -8
- package/dist/libs/shared/src/apps/subjects/enums/ClassificationMemberType.d.ts +0 -5
- package/dist/libs/shared/src/apps/subjects/hooks/useAudienceParams.d.ts +0 -5
- package/dist/libs/shared/src/apps/subjects/interfaces/ClassificationPreference.d.ts +0 -4
- package/dist/libs/shared/src/apps/subjects/reducers/AudienceReducer.d.ts +0 -11
- package/dist/libs/shared/src/apps/subjects/utils/OnboardingHelper.d.ts +0 -15
- package/dist/libs/shared/src/apps/upload/constants/UploadConstants.d.ts +0 -39
- package/dist/libs/shared/src/apps/upload/enums/FileLifestyle.d.ts +0 -4
- package/dist/libs/shared/src/apps/upload/errors/file-type/FileTypeError.d.ts +0 -15
- package/dist/libs/shared/src/apps/upload/errors/internet-connectivity/InternetConnectivityError.d.ts +0 -7
- package/dist/libs/shared/src/apps/upload/services/DropzoneWrapper.d.ts +0 -30
- package/dist/libs/shared/src/apps/upload/services/UploadService.d.ts +0 -66
- package/dist/libs/shared/src/apps/upload/utils/FileExtensionsHelper.d.ts +0 -9
- package/dist/libs/shared/src/components/actions/ActionButton.d.ts +0 -16
- package/dist/libs/shared/src/components/actions/Actions.d.ts +0 -26
- package/dist/libs/shared/src/components/actions/ActionsDropdown.d.ts +0 -15
- package/dist/libs/shared/src/components/alert/Alert.d.ts +0 -7
- package/dist/libs/shared/src/components/alert/AlertContent.d.ts +0 -8
- package/dist/libs/shared/src/components/alert/AlertList.d.ts +0 -8
- package/dist/libs/shared/src/components/app-link/AppLink.d.ts +0 -13
- package/dist/libs/shared/src/components/audience-label/AudienceLabel.d.ts +0 -14
- package/dist/libs/shared/src/components/avatar/Avatar.d.ts +0 -8
- package/dist/libs/shared/src/components/back-button/BackButton.d.ts +0 -16
- package/dist/libs/shared/src/components/badges/Badge.d.ts +0 -14
- package/dist/libs/shared/src/components/badges/BadgeListContainer.d.ts +0 -6
- package/dist/libs/shared/src/components/banner-header/BannerHeader.d.ts +0 -19
- package/dist/libs/shared/src/components/breadcrumbs/BreadcrumbList.d.ts +0 -16
- package/dist/libs/shared/src/components/breadcrumbs/Breadcrumbs.d.ts +0 -22
- package/dist/libs/shared/src/components/channel-form-field/ChannelFormField.d.ts +0 -8
- package/dist/libs/shared/src/components/clickview-avatar/ClickViewAvatar.d.ts +0 -2
- package/dist/libs/shared/src/components/confirmation-popup/ConfirmationPopup.d.ts +0 -20
- package/dist/libs/shared/src/components/div-button/DivButton.d.ts +0 -10
- package/dist/libs/shared/src/components/edit-link/EditLink.d.ts +0 -26
- package/dist/libs/shared/src/components/edit-resource/EditResource.d.ts +0 -15
- package/dist/libs/shared/src/components/edit-video-links/EditVideoLinks.d.ts +0 -11
- package/dist/libs/shared/src/components/edit-video-resources/EditVideoResources.d.ts +0 -20
- package/dist/libs/shared/src/components/edit-video-subtitles/EditVideoSubtitles.d.ts +0 -16
- package/dist/libs/shared/src/components/empty-state/EmptyState.d.ts +0 -8
- package/dist/libs/shared/src/components/favourite-button/FavouriteButton.d.ts +0 -9
- package/dist/libs/shared/src/components/file-select/FileSelect.d.ts +0 -14
- package/dist/libs/shared/src/components/file-select-button/FileSelectButton.d.ts +0 -15
- package/dist/libs/shared/src/components/file-upload-list/FileUploadList.d.ts +0 -8
- package/dist/libs/shared/src/components/forms/date-picker-form-field/DatePickerFormField.d.ts +0 -17
- package/dist/libs/shared/src/components/forms/form-buttons/FormButtons.d.ts +0 -11
- package/dist/libs/shared/src/components/forms/form-checkbox/FormCheckbox.d.ts +0 -7
- package/dist/libs/shared/src/components/forms/form-field/CharacterCounter.d.ts +0 -8
- package/dist/libs/shared/src/components/forms/form-field/FormField.d.ts +0 -17
- package/dist/libs/shared/src/components/forms/form-wrapper/FormWrapper.d.ts +0 -21
- package/dist/libs/shared/src/components/icon-button/IconButton.d.ts +0 -19
- package/dist/libs/shared/src/components/image-cropper/ImageCropper.d.ts +0 -10
- package/dist/libs/shared/src/components/image-select/ImageSelect.d.ts +0 -14
- package/dist/libs/shared/src/components/language-select/LanguageSelect.d.ts +0 -8
- package/dist/libs/shared/src/components/lazy-image/LazyImage.d.ts +0 -7
- package/dist/libs/shared/src/components/mask/Mask.d.ts +0 -10
- package/dist/libs/shared/src/components/popup/Popup.d.ts +0 -30
- package/dist/libs/shared/src/components/popup/PopupButtons.d.ts +0 -14
- package/dist/libs/shared/src/components/popup/PopupLoadingSpinner.d.ts +0 -2
- package/dist/libs/shared/src/components/progress-bars/clips/ClipThumbnailProgressBar.d.ts +0 -8
- package/dist/libs/shared/src/components/progress-bars/interactives/InteractiveProgressBar.d.ts +0 -11
- package/dist/libs/shared/src/components/progress-bars/videos/VideoWatchProgressBar.d.ts +0 -7
- package/dist/libs/shared/src/components/rating-select/RatingSelect.d.ts +0 -12
- package/dist/libs/shared/src/components/resource-list/ResourceList.d.ts +0 -14
- package/dist/libs/shared/src/components/search-bar/SearchBar.d.ts +0 -168
- package/dist/libs/shared/src/components/search-bar/SearchInput.d.ts +0 -13
- package/dist/libs/shared/src/components/search-bar/SearchUtils.d.ts +0 -44
- package/dist/libs/shared/src/components/series-link/SeriesLink.d.ts +0 -14
- package/dist/libs/shared/src/components/spinner-button/SpinnerButton.d.ts +0 -8
- package/dist/libs/shared/src/components/subtitle-list/SubtitleList.d.ts +0 -9
- package/dist/libs/shared/src/components/svg-container/SvgContainer.d.ts +0 -21
- package/dist/libs/shared/src/components/svgs/clickview-logo/ClickViewLogo.d.ts +0 -4
- package/dist/libs/shared/src/components/tags/TagItem.d.ts +0 -10
- package/dist/libs/shared/src/components/tags/TagList.d.ts +0 -9
- package/dist/libs/shared/src/components/text/Text.d.ts +0 -13
- package/dist/libs/shared/src/components/thumbnails/base/BaseThumbnail.d.ts +0 -25
- package/dist/libs/shared/src/components/thumbnails/base/ThumbnailFallback.d.ts +0 -24
- package/dist/libs/shared/src/components/thumbnails/video/VideoThumbnail.d.ts +0 -45
- package/dist/libs/shared/src/components/thumbnails/video/expandable/ExpandableVideoThumbnail.d.ts +0 -3
- package/dist/libs/shared/src/components/thumbnails/video/static/StaticVideoThumbnail.d.ts +0 -3
- package/dist/libs/shared/src/components/toggle-switch/ToggleSwitch.d.ts +0 -9
- package/dist/libs/shared/src/components/tooltip/Tooltip.d.ts +0 -16
- package/dist/libs/shared/src/components/widgets/dynamic-widget/DynamicWidget.d.ts +0 -23
- package/dist/libs/shared/src/components/widgets/dynamic-widget/DynamicWidgetEventHandlers.d.ts +0 -24
- package/dist/libs/shared/src/components/widgets/dynamic-widget/DynamicWidgetReducer.d.ts +0 -58
- package/dist/libs/shared/src/components/widgets/fixed-widget/FixedWidget.d.ts +0 -47
- package/dist/libs/shared/src/components/widgets/fixed-widget/FixedWidgetReducer.d.ts +0 -22
- package/dist/libs/shared/src/components/widgets/fixed-widget/FixedWidgetUtils.d.ts +0 -43
- package/dist/libs/shared/src/components/widgets/fixed-widget/PartialFixedWidget.d.ts +0 -2
- package/dist/libs/shared/src/components/widgets/fixed-widget/index.d.ts +0 -3
- package/dist/libs/shared/src/components/widgets/items/series-widget-item/PartialSeriesList.d.ts +0 -2
- package/dist/libs/shared/src/components/widgets/items/series-widget-item/SeriesWidgetItem.d.ts +0 -13
- package/dist/libs/shared/src/components/widgets/items/series-widget-item/index.d.ts +0 -2
- package/dist/libs/shared/src/components/widgets/items/subject-widget-item/AllSubjectsWidgetLink.d.ts +0 -10
- package/dist/libs/shared/src/components/widgets/items/subject-widget-item/EditSubjectsWidgetLink.d.ts +0 -10
- package/dist/libs/shared/src/components/widgets/items/subject-widget-item/PartialSubjectWidgetItem.d.ts +0 -2
- package/dist/libs/shared/src/components/widgets/items/subject-widget-item/SubjectWidgetItem.d.ts +0 -14
- package/dist/libs/shared/src/components/widgets/items/subject-widget-item/index.d.ts +0 -4
- package/dist/libs/shared/src/components/widgets/items/user-channels-widget-item/UserChannelsWidgetItem.d.ts +0 -16
- package/dist/libs/shared/src/components/widgets/items/video-widget-item/VideoWidgetItem.d.ts +0 -20
- package/dist/libs/shared/src/components/widgets/sliding-list/SlidingListContainer.d.ts +0 -13
- package/dist/libs/shared/src/components/widgets/widget-button/WidgetButton.d.ts +0 -16
- package/dist/libs/shared/src/constants/AppVariables.d.ts +0 -5
- package/dist/libs/shared/src/constants/BootstrapKeys.d.ts +0 -8
- package/dist/libs/shared/src/constants/CacheDurations.d.ts +0 -4
- package/dist/libs/shared/src/constants/DataPrefixes.d.ts +0 -12
- package/dist/libs/shared/src/constants/ImageSizes.d.ts +0 -8
- package/dist/libs/shared/src/constants/LayoutRegions.d.ts +0 -7
- package/dist/libs/shared/src/constants/RadioChannels.d.ts +0 -20
- package/dist/libs/shared/src/constants/SharedServices.d.ts +0 -25
- package/dist/libs/shared/src/constants/SupportArticles.d.ts +0 -3
- package/dist/libs/shared/src/constants/WithStatements.d.ts +0 -27
- package/dist/libs/shared/src/context/ImageStorageContext.d.ts +0 -45
- package/dist/libs/shared/src/enums/BulkOnboardingPreferencesState.d.ts +0 -6
- package/dist/libs/shared/src/enums/ClassificationType.d.ts +0 -4
- package/dist/libs/shared/src/enums/CountryCode.d.ts +0 -5
- package/dist/libs/shared/src/enums/CssMeasurement.d.ts +0 -4
- package/dist/libs/shared/src/enums/CurriculumType.d.ts +0 -6
- package/dist/libs/shared/src/enums/CustomerType.d.ts +0 -11
- package/dist/libs/shared/src/enums/DateFormat.d.ts +0 -7
- package/dist/libs/shared/src/enums/GlanceFormat.d.ts +0 -3
- package/dist/libs/shared/src/enums/Images.d.ts +0 -26
- package/dist/libs/shared/src/enums/LibraryType.d.ts +0 -5
- package/dist/libs/shared/src/enums/MasterObjectTypes.d.ts +0 -8
- package/dist/libs/shared/src/enums/MasterType.d.ts +0 -59
- package/dist/libs/shared/src/enums/MediaQueries.d.ts +0 -20
- package/dist/libs/shared/src/enums/ObjectOwnerType.d.ts +0 -4
- package/dist/libs/shared/src/enums/ObjectStatus.d.ts +0 -5
- package/dist/libs/shared/src/enums/PermissionName.d.ts +0 -23
- package/dist/libs/shared/src/enums/PlayerMediaType.d.ts +0 -5
- package/dist/libs/shared/src/enums/PlaylistPrivacy.d.ts +0 -5
- package/dist/libs/shared/src/enums/PresentationType.d.ts +0 -4
- package/dist/libs/shared/src/enums/ResourceFileType.d.ts +0 -9
- package/dist/libs/shared/src/enums/SettingKind.d.ts +0 -4
- package/dist/libs/shared/src/enums/SettingName.d.ts +0 -17
- package/dist/libs/shared/src/enums/ThemeType.d.ts +0 -3
- package/dist/libs/shared/src/enums/ThumbnailTextPosition.d.ts +0 -5
- package/dist/libs/shared/src/enums/UploadInteractionType.d.ts +0 -4
- package/dist/libs/shared/src/enums/UserGroup.d.ts +0 -5
- package/dist/libs/shared/src/enums/UserRole.d.ts +0 -15
- package/dist/libs/shared/src/enums/WidgetContents.d.ts +0 -10
- package/dist/libs/shared/src/enums/WidgetInteraction.d.ts +0 -7
- package/dist/libs/shared/src/errors/primitives/AlertError.d.ts +0 -4
- package/dist/libs/shared/src/errors/primitives/DialogError.d.ts +0 -9
- package/dist/libs/shared/src/errors/primitives/ErrorPageError.d.ts +0 -7
- package/dist/libs/shared/src/flight-requests/AudienceRequests.d.ts +0 -4
- package/dist/libs/shared/src/flight-requests/ClassificationRequests.d.ts +0 -13
- package/dist/libs/shared/src/flight-requests/ConfigRequests.d.ts +0 -6
- package/dist/libs/shared/src/flight-requests/FollowRequests.d.ts +0 -8
- package/dist/libs/shared/src/flight-requests/ImageRequests.d.ts +0 -7
- package/dist/libs/shared/src/flight-requests/LinkRequests.d.ts +0 -11
- package/dist/libs/shared/src/flight-requests/PlaylistRequests.d.ts +0 -26
- package/dist/libs/shared/src/flight-requests/PreferenceRequests.d.ts +0 -25
- package/dist/libs/shared/src/flight-requests/RatingRequests.d.ts +0 -4
- package/dist/libs/shared/src/flight-requests/ResourceRequests.d.ts +0 -11
- package/dist/libs/shared/src/flight-requests/SettingRequests.d.ts +0 -8
- package/dist/libs/shared/src/flight-requests/SubtitleRequests.d.ts +0 -9
- package/dist/libs/shared/src/flight-requests/UserRequests.d.ts +0 -11
- package/dist/libs/shared/src/hooks/UseAlerts.d.ts +0 -6
- package/dist/libs/shared/src/hooks/UseBatchFetch.d.ts +0 -14
- package/dist/libs/shared/src/hooks/UseCanSubmitForm.d.ts +0 -10
- package/dist/libs/shared/src/hooks/UseFetchAll.d.ts +0 -12
- package/dist/libs/shared/src/hooks/UseGetMediaQueryString.d.ts +0 -2
- package/dist/libs/shared/src/hooks/UseHover.d.ts +0 -21
- package/dist/libs/shared/src/hooks/UseInfiniteList.d.ts +0 -20
- package/dist/libs/shared/src/hooks/UseInfiniteScroll.d.ts +0 -1
- package/dist/libs/shared/src/hooks/UseLazyLoad.d.ts +0 -6
- package/dist/libs/shared/src/hooks/UseListenOn.d.ts +0 -3
- package/dist/libs/shared/src/hooks/UseMediaQuery.d.ts +0 -1
- package/dist/libs/shared/src/hooks/UseReorderedItems.d.ts +0 -9
- package/dist/libs/shared/src/hooks/UseResizeListener.d.ts +0 -9
- package/dist/libs/shared/src/hooks/UseSelectAllPages.d.ts +0 -15
- package/dist/libs/shared/src/hooks/useAppOptions.d.ts +0 -2
- package/dist/libs/shared/src/hooks/useGetCollectionItems.d.ts +0 -7
- package/dist/libs/shared/src/hooks/useQueryString.d.ts +0 -9
- package/dist/libs/shared/src/images/svg/ImportedSvgs.d.ts +0 -87
- package/dist/libs/shared/src/images/svg/actions/index.d.ts +0 -24
- package/dist/libs/shared/src/images/svg/arrows/index.d.ts +0 -9
- package/dist/libs/shared/src/images/svg/index.d.ts +0 -2
- package/dist/libs/shared/src/images/svg/objects/index.d.ts +0 -36
- package/dist/libs/shared/src/images/svg/player/index.d.ts +0 -14
- package/dist/libs/shared/src/images/svg/settings.d.ts +0 -1
- package/dist/libs/shared/src/images/svg/status/index.d.ts +0 -13
- package/dist/libs/shared/src/interfaces/AppLinkWithLabel.d.ts +0 -5
- package/dist/libs/shared/src/interfaces/DialogOptions.d.ts +0 -13
- package/dist/libs/shared/src/interfaces/ImageUrls.d.ts +0 -16
- package/dist/libs/shared/src/interfaces/QueryParams.d.ts +0 -3
- package/dist/libs/shared/src/interfaces/RegionalUrl.d.ts +0 -5
- package/dist/libs/shared/src/interfaces/SlidingListRefs.d.ts +0 -6
- package/dist/libs/shared/src/interfaces/WidgetContext.d.ts +0 -9
- package/dist/libs/shared/src/interfaces/app-variables/BaseNotificationsAppVariables.d.ts +0 -16
- package/dist/libs/shared/src/interfaces/app-variables/BaseSearchAppVariables.d.ts +0 -17
- package/dist/libs/shared/src/interfaces/app-variables/index.d.ts +0 -2
- package/dist/libs/shared/src/interfaces/collections/AudienceCollection.d.ts +0 -4
- package/dist/libs/shared/src/interfaces/collections/CategoryCollection.d.ts +0 -4
- package/dist/libs/shared/src/interfaces/collections/ClassificationCollection.d.ts +0 -4
- package/dist/libs/shared/src/interfaces/collections/ClassroomCollection.d.ts +0 -4
- package/dist/libs/shared/src/interfaces/collections/ClassroomGroupCollection.d.ts +0 -4
- package/dist/libs/shared/src/interfaces/collections/ClipCollection.d.ts +0 -4
- package/dist/libs/shared/src/interfaces/collections/CompanyCollection.d.ts +0 -3
- package/dist/libs/shared/src/interfaces/collections/CustomerCollection.d.ts +0 -4
- package/dist/libs/shared/src/interfaces/collections/FolderCollection.d.ts +0 -4
- package/dist/libs/shared/src/interfaces/collections/InteractiveCollection.d.ts +0 -4
- package/dist/libs/shared/src/interfaces/collections/LibraryCollection.d.ts +0 -4
- package/dist/libs/shared/src/interfaces/collections/LinkCollection.d.ts +0 -4
- package/dist/libs/shared/src/interfaces/collections/PersonCollection.d.ts +0 -3
- package/dist/libs/shared/src/interfaces/collections/PlaylistCollection.d.ts +0 -4
- package/dist/libs/shared/src/interfaces/collections/PresentationAudienceCollection.d.ts +0 -4
- package/dist/libs/shared/src/interfaces/collections/ResourceCollection.d.ts +0 -3
- package/dist/libs/shared/src/interfaces/collections/SeriesCollection.d.ts +0 -4
- package/dist/libs/shared/src/interfaces/collections/SubtitleCollection.d.ts +0 -3
- package/dist/libs/shared/src/interfaces/collections/TagCollection.d.ts +0 -4
- package/dist/libs/shared/src/interfaces/collections/UserCollection.d.ts +0 -3
- package/dist/libs/shared/src/interfaces/collections/VideoCollection.d.ts +0 -4
- package/dist/libs/shared/src/interfaces/collections/VideoHistoryCollection.d.ts +0 -4
- package/dist/libs/shared/src/interfaces/collections/WidgetCollection.d.ts +0 -3
- package/dist/libs/shared/src/interfaces/collections/index.d.ts +0 -25
- package/dist/libs/shared/src/interfaces/collections/primitives/BasePaginatedCollection.d.ts +0 -7
- package/dist/libs/shared/src/interfaces/collections/primitives/index.d.ts +0 -1
- package/dist/libs/shared/src/interfaces/index.d.ts +0 -13
- package/dist/libs/shared/src/interfaces/models/Audience.d.ts +0 -3
- package/dist/libs/shared/src/interfaces/models/Avatar.d.ts +0 -3
- package/dist/libs/shared/src/interfaces/models/Banner.d.ts +0 -3
- package/dist/libs/shared/src/interfaces/models/Category.d.ts +0 -3
- package/dist/libs/shared/src/interfaces/models/Channel.d.ts +0 -3
- package/dist/libs/shared/src/interfaces/models/Classification.d.ts +0 -21
- package/dist/libs/shared/src/interfaces/models/Classroom.d.ts +0 -4
- package/dist/libs/shared/src/interfaces/models/ClassroomGroup.d.ts +0 -18
- package/dist/libs/shared/src/interfaces/models/Clip.d.ts +0 -8
- package/dist/libs/shared/src/interfaces/models/Company.d.ts +0 -3
- package/dist/libs/shared/src/interfaces/models/Config.d.ts +0 -13
- package/dist/libs/shared/src/interfaces/models/Cover.d.ts +0 -3
- package/dist/libs/shared/src/interfaces/models/Curriculum.d.ts +0 -18
- package/dist/libs/shared/src/interfaces/models/Customer.d.ts +0 -6
- package/dist/libs/shared/src/interfaces/models/EntitySetting.d.ts +0 -9
- package/dist/libs/shared/src/interfaces/models/FileUpload.d.ts +0 -20
- package/dist/libs/shared/src/interfaces/models/Folder.d.ts +0 -7
- package/dist/libs/shared/src/interfaces/models/Following.d.ts +0 -4
- package/dist/libs/shared/src/interfaces/models/Glance.d.ts +0 -9
- package/dist/libs/shared/src/interfaces/models/Group.d.ts +0 -3
- package/dist/libs/shared/src/interfaces/models/HeroBanner.d.ts +0 -3
- package/dist/libs/shared/src/interfaces/models/Image.d.ts +0 -7
- package/dist/libs/shared/src/interfaces/models/InteractiveMetadata.d.ts +0 -14
- package/dist/libs/shared/src/interfaces/models/Language.d.ts +0 -4
- package/dist/libs/shared/src/interfaces/models/LanguageConfig.d.ts +0 -5
- package/dist/libs/shared/src/interfaces/models/Library.d.ts +0 -5
- package/dist/libs/shared/src/interfaces/models/Link.d.ts +0 -4
- package/dist/libs/shared/src/interfaces/models/Organisation.d.ts +0 -3
- package/dist/libs/shared/src/interfaces/models/Pdf.d.ts +0 -4
- package/dist/libs/shared/src/interfaces/models/Person.d.ts +0 -3
- package/dist/libs/shared/src/interfaces/models/PlayerViewKey.d.ts +0 -3
- package/dist/libs/shared/src/interfaces/models/Playlist.d.ts +0 -14
- package/dist/libs/shared/src/interfaces/models/Poster.d.ts +0 -3
- package/dist/libs/shared/src/interfaces/models/Presentation.d.ts +0 -6
- package/dist/libs/shared/src/interfaces/models/PresentationAudience.d.ts +0 -6
- package/dist/libs/shared/src/interfaces/models/Rating.d.ts +0 -5
- package/dist/libs/shared/src/interfaces/models/Resource.d.ts +0 -17
- package/dist/libs/shared/src/interfaces/models/Restriction.d.ts +0 -6
- package/dist/libs/shared/src/interfaces/models/Season.d.ts +0 -4
- package/dist/libs/shared/src/interfaces/models/Series.d.ts +0 -10
- package/dist/libs/shared/src/interfaces/models/Share.d.ts +0 -9
- package/dist/libs/shared/src/interfaces/models/Subject.d.ts +0 -13
- package/dist/libs/shared/src/interfaces/models/Subtitle.d.ts +0 -7
- package/dist/libs/shared/src/interfaces/models/Tag.d.ts +0 -3
- package/dist/libs/shared/src/interfaces/models/TallPoster.d.ts +0 -3
- package/dist/libs/shared/src/interfaces/models/Theme.d.ts +0 -14
- package/dist/libs/shared/src/interfaces/models/Thumbnail.d.ts +0 -6
- package/dist/libs/shared/src/interfaces/models/User.d.ts +0 -64
- package/dist/libs/shared/src/interfaces/models/UserChannel.d.ts +0 -7
- package/dist/libs/shared/src/interfaces/models/Video.d.ts +0 -34
- package/dist/libs/shared/src/interfaces/models/VideoHistory.d.ts +0 -12
- package/dist/libs/shared/src/interfaces/models/Widget.d.ts +0 -16
- package/dist/libs/shared/src/interfaces/models/YearGroup.d.ts +0 -5
- package/dist/libs/shared/src/interfaces/models/index.d.ts +0 -57
- package/dist/libs/shared/src/interfaces/models/interactive/ActionableItem.d.ts +0 -6
- package/dist/libs/shared/src/interfaces/models/interactive/Interaction.d.ts +0 -16
- package/dist/libs/shared/src/interfaces/models/interactive/InteractionType.d.ts +0 -7
- package/dist/libs/shared/src/interfaces/models/interactive/InteractionTypeId.d.ts +0 -8
- package/dist/libs/shared/src/interfaces/models/interactive/Interactive.d.ts +0 -7
- package/dist/libs/shared/src/interfaces/models/interactive/Timepoint.d.ts +0 -9
- package/dist/libs/shared/src/interfaces/models/interactive/index.d.ts +0 -6
- package/dist/libs/shared/src/interfaces/models/primitives/BaseObject.d.ts +0 -8
- package/dist/libs/shared/src/interfaces/models/primitives/VirtualObject.d.ts +0 -5
- package/dist/libs/shared/src/interfaces/models/primitives/index.d.ts +0 -2
- package/dist/libs/shared/src/interfaces/props/ViewProps.d.ts +0 -8
- package/dist/libs/shared/src/interfaces/props/index.d.ts +0 -1
- package/dist/libs/shared/src/interfaces/requests/CreateOrUpdateClipRequest.d.ts +0 -6
- package/dist/libs/shared/src/interfaces/requests/CreateViewKeyRequest.d.ts +0 -3
- package/dist/libs/shared/src/interfaces/requests/ReorderRequest.d.ts +0 -12
- package/dist/libs/shared/src/interfaces/requests/UpdateObjectChannel.d.ts +0 -3
- package/dist/libs/shared/src/interfaces/requests/UpdateObjectRating.d.ts +0 -3
- package/dist/libs/shared/src/interfaces/requests/UpdateResourceRequest.d.ts +0 -3
- package/dist/libs/shared/src/interfaces/requests/UpdateVideoRequest.d.ts +0 -9
- package/dist/libs/shared/src/interfaces/requests/index.d.ts +0 -7
- package/dist/libs/shared/src/interfaces/services/BaseConfigDataService.d.ts +0 -5
- package/dist/libs/shared/src/interfaces/services/BaseLibraryDataService.d.ts +0 -10
- package/dist/libs/shared/src/interfaces/services/BaseSeriesDataService.d.ts +0 -4
- package/dist/libs/shared/src/interfaces/services/BaseSettingsDataService.d.ts +0 -7
- package/dist/libs/shared/src/interfaces/services/BaseUserDataService.d.ts +0 -6
- package/dist/libs/shared/src/interfaces/services/BaseVideoDataService.d.ts +0 -5
- package/dist/libs/shared/src/interfaces/services/BaseVideoUploadDataService.d.ts +0 -8
- package/dist/libs/shared/src/interfaces/services/index.d.ts +0 -7
- package/dist/libs/shared/src/legacy/behaviors/file-drop/FileDropBehavior.d.ts +0 -19
- package/dist/libs/shared/src/legacy/behaviors/file-drop/FileDropHelper.d.ts +0 -4
- package/dist/libs/shared/src/legacy/behaviors/file-select/FileSelectBehavior.d.ts +0 -16
- package/dist/libs/shared/src/legacy/components/file-select/FileSelectComponent.d.ts +0 -29
- package/dist/libs/shared/src/legacy/components/file-uploads/FileUploadComponent.d.ts +0 -15
- package/dist/libs/shared/src/legacy/components/resource-item/ResourceItemComponent.d.ts +0 -22
- package/dist/libs/shared/src/legacy/components/subtitle-item/SubtitleItemComponent.d.ts +0 -17
- package/dist/libs/shared/src/legacy/errors/too-many-files/TooManyFilesError.d.ts +0 -7
- package/dist/libs/shared/src/legacy/errors/too-many-resources/TooManyResourcesError.d.ts +0 -8
- package/dist/libs/shared/src/legacy/errors/too-many-subtitles/TooManySubtitlesError.d.ts +0 -8
- package/dist/libs/shared/src/legacy/utils/LangHelper.d.ts +0 -5
- package/dist/libs/shared/src/services/AppOptionsService.d.ts +0 -20
- package/dist/libs/shared/src/services/ConfigDataService.d.ts +0 -13
- package/dist/libs/shared/src/services/ImageUrlService.d.ts +0 -12
- package/dist/libs/shared/src/services/LanguageDataService.d.ts +0 -7
- package/dist/libs/shared/src/services/UserDataService.d.ts +0 -23
- package/dist/libs/shared/src/utils/AudienceHelper.d.ts +0 -14
- package/dist/libs/shared/src/utils/DashboardHelper.d.ts +0 -9
- package/dist/libs/shared/src/utils/DragHelper.d.ts +0 -4
- package/dist/libs/shared/src/utils/DurationHelper.d.ts +0 -7
- package/dist/libs/shared/src/utils/FavouriteHelpers.d.ts +0 -30
- package/dist/libs/shared/src/utils/FormHelper.d.ts +0 -4
- package/dist/libs/shared/src/utils/ImageHelper.d.ts +0 -32
- package/dist/libs/shared/src/utils/ImageSelectHelper.d.ts +0 -6
- package/dist/libs/shared/src/utils/NumberHelper.d.ts +0 -3
- package/dist/libs/shared/src/utils/PartialLoadingHelper.d.ts +0 -12
- package/dist/libs/shared/src/utils/PermissionsHelper.d.ts +0 -10
- package/dist/libs/shared/src/utils/RatingHelper.d.ts +0 -4
- package/dist/libs/shared/src/utils/RecentItemHelper.d.ts +0 -11
- package/dist/libs/shared/src/utils/RegionHelper.d.ts +0 -4
- package/dist/libs/shared/src/utils/ReorderHelper.d.ts +0 -15
- package/dist/libs/shared/src/utils/SubtitleHelper.d.ts +0 -9
- package/dist/libs/shared/src/utils/SvgHelper.d.ts +0 -18
- package/dist/libs/shared/src/utils/UserHelper.d.ts +0 -3
- package/dist/libs/shared/src/utils/VideoDetailsHelper.d.ts +0 -12
- package/dist/libs/shared/src/utils/VideoHelper.d.ts +0 -5
- package/dist/libs/shared/src/utils/WidgetHelper.d.ts +0 -12
- package/dist/libs/shared/src/utils/video-actions/VideoActionsHelper.d.ts +0 -14
- package/dist/libs/shared/src/views/delete-link/DeleteLinkView.d.ts +0 -8
- package/dist/libs/shared/src/views/delete-resource/DeleteResourceView.d.ts +0 -8
- package/dist/libs/shared/src/views/delete-subtitle/DeleteSubtitleView.d.ts +0 -8
- package/dist/libs/shared/src/views/dialog/DialogView.d.ts +0 -9
- package/dist/libs/shared/src/views/edit-link/EditLinkView.d.ts +0 -8
- package/dist/libs/shared/src/views/edit-resource/EditResourceView.d.ts +0 -8
- package/dist/libs/shared/src/views/image-upload/ImageUploadView.d.ts +0 -9
- package/dist/online-app.css.map +0 -1
- package/dist/online-app.js.map +0 -1
- package/dist/projects/online/src/apps/content-updates/ContentUpdatesApplication.d.ts +0 -13
- package/dist/projects/online/src/apps/content-updates/components/classification-banner/ClassificationBanner.d.ts +0 -11
- package/dist/projects/online/src/apps/content-updates/components/classification-update-breadcrumbs/ClassificationUpdateBreadcrumbsContainer.d.ts +0 -9
- package/dist/projects/online/src/apps/content-updates/components/index.d.ts +0 -3
- package/dist/projects/online/src/apps/content-updates/components/whats-new-breadcrumbs/WhatsNewBreadcrumbsContainer.d.ts +0 -6
- package/dist/projects/online/src/apps/content-updates/context/ContentUpdatesAppContext.d.ts +0 -4
- package/dist/projects/online/src/apps/content-updates/context/index.d.ts +0 -1
- package/dist/projects/online/src/apps/content-updates/utils/ContentUpdateAppLinks.d.ts +0 -2
- package/dist/projects/online/src/apps/content-updates/views/classification-update/ClassificationUpdateView.d.ts +0 -8
- package/dist/projects/online/src/apps/content-updates/views/classification-update/index.d.ts +0 -1
- package/dist/projects/online/src/apps/content-updates/views/content-updates/ContentUpdatesView.d.ts +0 -7
- package/dist/projects/online/src/apps/content-updates/views/content-updates/components/ContentUpdateClassification.d.ts +0 -14
- package/dist/projects/online/src/apps/content-updates/views/content-updates/index.d.ts +0 -1
- package/dist/projects/online/src/apps/content-updates/views/content-updates/partial-loading/PartialContentUpdatesView.d.ts +0 -2
- package/dist/projects/online/src/apps/content-updates/views/index.d.ts +0 -2
- package/dist/projects/online/src/apps/dashboard/OnlineDashboardApplication.d.ts +0 -12
- package/dist/projects/online/src/apps/dashboard/components/hero-widget/CarouselIndicators.d.ts +0 -6
- package/dist/projects/online/src/apps/dashboard/components/hero-widget/CarouselItem.d.ts +0 -13
- package/dist/projects/online/src/apps/dashboard/components/hero-widget/CarouselSliderButton.d.ts +0 -7
- package/dist/projects/online/src/apps/dashboard/components/hero-widget/HeroWidget.d.ts +0 -12
- package/dist/projects/online/src/apps/dashboard/components/hero-widget/index.d.ts +0 -4
- package/dist/projects/online/src/apps/dashboard/components/index.d.ts +0 -1
- package/dist/projects/online/src/apps/dashboard/components/onboarding-nag/OnboardingNag.d.ts +0 -8
- package/dist/projects/online/src/apps/dashboard/components/onboarding-nag-item/OnboardingNagItem.d.ts +0 -9
- package/dist/projects/online/src/apps/dashboard/components/onboarding-progress/OnboardingProgress.d.ts +0 -6
- package/dist/projects/online/src/apps/dashboard/flight-requests/DashboardRequests.d.ts +0 -10
- package/dist/projects/online/src/apps/dashboard/flight-requests/index.d.ts +0 -1
- package/dist/projects/online/src/apps/dashboard/types/index.d.ts +0 -0
- package/dist/projects/online/src/apps/dashboard/views/dashboard/DashboardView.d.ts +0 -2
- package/dist/projects/online/src/apps/dashboard/views/dev-error/DashboardDevErrorView.d.ts +0 -6
- package/dist/projects/online/src/apps/dashboard/views/error/DashboardErrorView.d.ts +0 -7
- package/dist/projects/online/src/apps/dashboard/views/index.d.ts +0 -3
- package/dist/projects/online/src/apps/default/OnlineDefaultApplication.d.ts +0 -12
- package/dist/projects/online/src/apps/default/views/verify-email/VerifyEmailValidation.d.ts +0 -3
- package/dist/projects/online/src/apps/default/views/verify-email/VerifyEmailView.d.ts +0 -3
- package/dist/projects/online/src/apps/exchange/ExchangeApplication.d.ts +0 -13
- package/dist/projects/online/src/apps/exchange/components/exchange-sub-nav/ExchangeSubNav.d.ts +0 -2
- package/dist/projects/online/src/apps/exchange/views/exchange/ExchangeView.d.ts +0 -2
- package/dist/projects/online/src/apps/libraries/LibrariesApplication.d.ts +0 -11
- package/dist/projects/online/src/apps/libraries/components/libraries-list/LibrariesList.d.ts +0 -7
- package/dist/projects/online/src/apps/libraries/components/libraries-list/partial-loading/PartialLibrariesList.d.ts +0 -2
- package/dist/projects/online/src/apps/libraries/components/library-item/LibraryItem.d.ts +0 -7
- package/dist/projects/online/src/apps/libraries/flight-requests/LibrariesRequests.d.ts +0 -7
- package/dist/projects/online/src/apps/libraries/utils/LibraryHelper.d.ts +0 -9
- package/dist/projects/online/src/apps/libraries/views/libraries/LibrariesView.d.ts +0 -2
- package/dist/projects/online/src/apps/movies-and-tv/MoviesAndTvApplication.d.ts +0 -12
- package/dist/projects/online/src/apps/movies-and-tv/views/movies-and-tv/MoviesAndTvView.d.ts +0 -2
- package/dist/projects/online/src/apps/playlists/OnlinePlaylistsApplication.d.ts +0 -33
- package/dist/projects/online/src/apps/playlists/components/left-nav/LeftNav.d.ts +0 -12
- package/dist/projects/online/src/apps/playlists/components/left-nav/left-nav-item/LeftNavItem.d.ts +0 -9
- package/dist/projects/online/src/apps/playlists/components/left-nav/left-nav-playlist-owner-indicator/LevNavPlaylistOwnerIndicator.d.ts +0 -8
- package/dist/projects/online/src/apps/playlists/components/left-nav/partial-loading/PartialLeftNav.d.ts +0 -2
- package/dist/projects/online/src/apps/playlists/components/old-forms/OldFormField.d.ts +0 -9
- package/dist/projects/online/src/apps/playlists/components/old-forms/OldFormWrapper.d.ts +0 -13
- package/dist/projects/online/src/apps/playlists/components/old-forms/OldSpinnerButton.d.ts +0 -12
- package/dist/projects/online/src/apps/playlists/components/old-forms/index.d.ts +0 -3
- package/dist/projects/online/src/apps/playlists/components/play-playlist/PlayPlaylist.d.ts +0 -13
- package/dist/projects/online/src/apps/playlists/components/play-playlist/index.d.ts +0 -1
- package/dist/projects/online/src/apps/playlists/components/playlist-details/PlaylistDetailsComponent.d.ts +0 -11
- package/dist/projects/online/src/apps/playlists/components/playlist-details/index.d.ts +0 -1
- package/dist/projects/online/src/apps/playlists/components/playlist-header/PartialPlaylistHeader.d.ts +0 -2
- package/dist/projects/online/src/apps/playlists/components/playlist-header/PlaylistHeader.d.ts +0 -19
- package/dist/projects/online/src/apps/playlists/components/playlist-list-header/PartialPlaylistListHeader.d.ts +0 -2
- package/dist/projects/online/src/apps/playlists/components/playlist-list-header/PlaylistListHeader.d.ts +0 -11
- package/dist/projects/online/src/apps/playlists/components/series-metadata/SeriesMetadata.d.ts +0 -7
- package/dist/projects/online/src/apps/playlists/components/series-metadata/index.d.ts +0 -1
- package/dist/projects/online/src/apps/playlists/components/share-playlist/SharePlaylist.d.ts +0 -9
- package/dist/projects/online/src/apps/playlists/components/share-playlist/index.d.ts +0 -1
- package/dist/projects/online/src/apps/playlists/components/video-not-found/VideoNotFoundComponent.d.ts +0 -8
- package/dist/projects/online/src/apps/playlists/components/video-not-found/index.d.ts +0 -1
- package/dist/projects/online/src/apps/playlists/components/web-player/WebPlayerComponent.d.ts +0 -9
- package/dist/projects/online/src/apps/playlists/components/web-player/index.d.ts +0 -1
- package/dist/projects/online/src/apps/playlists/context/PlaylistsAppContext.d.ts +0 -4
- package/dist/projects/online/src/apps/playlists/context/index.d.ts +0 -1
- package/dist/projects/online/src/apps/playlists/filters/MigrationFilter.d.ts +0 -2
- package/dist/projects/online/src/apps/playlists/filters/index.d.ts +0 -1
- package/dist/projects/online/src/apps/playlists/flight-requests/VideoRequests.d.ts +0 -5
- package/dist/projects/online/src/apps/playlists/interfaces/index.d.ts +0 -1
- package/dist/projects/online/src/apps/playlists/interfaces/models/MigrationTask.d.ts +0 -4
- package/dist/projects/online/src/apps/playlists/interfaces/models/index.d.ts +0 -1
- package/dist/projects/online/src/apps/playlists/services/FlightPlaylistDataService.d.ts +0 -15
- package/dist/projects/online/src/apps/playlists/services/index.d.ts +0 -1
- package/dist/projects/online/src/apps/playlists/utils/PlaylistVideoActionAppLinkHelper.d.ts +0 -4
- package/dist/projects/online/src/apps/playlists/utils/index.d.ts +0 -1
- package/dist/projects/online/src/apps/playlists/views/add-to-playlist/AddToPlaylistView.d.ts +0 -7
- package/dist/projects/online/src/apps/playlists/views/add-to-playlist/components/index.d.ts +0 -1
- package/dist/projects/online/src/apps/playlists/views/add-to-playlist/components/select-playlist/SelectPlaylist.d.ts +0 -11
- package/dist/projects/online/src/apps/playlists/views/add-to-playlist/components/select-playlist/index.d.ts +0 -1
- package/dist/projects/online/src/apps/playlists/views/delete-playlist/DeletePlaylistView.d.ts +0 -10
- package/dist/projects/online/src/apps/playlists/views/edit-playlist/EditPlaylistView.d.ts +0 -8
- package/dist/projects/online/src/apps/playlists/views/left-nav/LeftNavView.d.ts +0 -7
- package/dist/projects/online/src/apps/playlists/views/migration-in-progress/MigrationInProgressView.d.ts +0 -2
- package/dist/projects/online/src/apps/playlists/views/new-playlist/NewPlaylistView.d.ts +0 -8
- package/dist/projects/online/src/apps/playlists/views/play-playlist/PlayPlaylistView.d.ts +0 -12
- package/dist/projects/online/src/apps/playlists/views/playlist/PlaylistView.d.ts +0 -10
- package/dist/projects/online/src/apps/playlists/views/playlists/PlaylistsView.d.ts +0 -7
- package/dist/projects/online/src/apps/playlists/views/remove-video-from-playlist/RemoveVideoFromPlaylistView.d.ts +0 -9
- package/dist/projects/online/src/apps/subjects/SubjectApplication.d.ts +0 -16
- package/dist/projects/online/src/apps/subjects/SubjectPlaylistsApplication.d.ts +0 -15
- package/dist/projects/online/src/apps/subjects/utils/ClassificationAppLinks.d.ts +0 -7
- package/dist/projects/online/src/apps/subjects/utils/OnboardingHelper.d.ts +0 -19
- package/dist/projects/online/src/apps/subjects/utils/index.d.ts +0 -1
- package/dist/projects/online/src/apps/subjects/views/classification/ClassificationView.d.ts +0 -11
- package/dist/projects/online/src/apps/subjects/views/classification/ClassificationViewUtils.d.ts +0 -11
- package/dist/projects/online/src/apps/subjects/views/classification/index.d.ts +0 -1
- package/dist/projects/online/src/apps/subjects/views/classification-playlist/ClassificationPlaylistView.d.ts +0 -7
- package/dist/projects/online/src/apps/subjects/views/classification-playlist/components/PartialPlaylistHeader.d.ts +0 -2
- package/dist/projects/online/src/apps/subjects/views/classifications/ClassificationsView.d.ts +0 -11
- package/dist/projects/online/src/apps/subjects/views/classifications/index.d.ts +0 -1
- package/dist/projects/online/src/apps/subjects/views/preferences/OnlineBasePreferencesView.d.ts +0 -8
- package/dist/projects/online/src/apps/subjects/views/preferences/curriculum-presentation/OnlineCurriculumPresentationSelectorView.d.ts +0 -6
- package/dist/projects/online/src/apps/subjects/views/preferences/index.d.ts +0 -7
- package/dist/projects/online/src/apps/subjects/views/preferences/level-preferences/OnlineLevelPreferencesView.d.ts +0 -6
- package/dist/projects/online/src/apps/subjects/views/preferences/subject-preferences/OnlineSubjectPreferencesView.d.ts +0 -6
- package/dist/projects/online/src/apps/subjects/views/preferences/subject-presentation/OnlineSubjectPresentationSelectorView.d.ts +0 -6
- package/dist/projects/online/src/apps/subjects/views/preferences/summary/OnlinePreferencesSummaryView.d.ts +0 -6
- package/dist/projects/online/src/apps/subjects/views/preferences/welcome/OnlinePreferencesWelcomeView.d.ts +0 -6
- package/dist/projects/online/src/apps/workspace/WorkspaceApplication.d.ts +0 -19
- package/dist/projects/online/src/apps/workspace/components/edit-workspace-video-details/EditWorkspaceVideoDetails.d.ts +0 -9
- package/dist/projects/online/src/apps/workspace/components/edit-workspace-video-details/partial-loading/PartialEditWorkspaceVideoDetails.d.ts +0 -2
- package/dist/projects/online/src/apps/workspace/context/WorkspaceAppContext.d.ts +0 -3
- package/dist/projects/online/src/apps/workspace/flight-requests/WorkspaceVideoRequests.d.ts +0 -9
- package/dist/projects/online/src/apps/workspace/views/edit-workspace-video/EditWorkspaceVideoView.d.ts +0 -8
- package/dist/projects/online/src/apps/workspace/views/edit-workspace-video/partial-loading/PartialEditVideoUploadArea.d.ts +0 -2
- package/dist/projects/online/src/index.d.ts +0 -155
- package/dist/projects/online/src/shared/components/AppLinkComponent.d.ts +0 -12
- package/dist/projects/online/src/shared/components/InfiniteScrollFooter.d.ts +0 -7
- package/dist/projects/online/src/shared/components/LazyImageComponent.d.ts +0 -2
- package/dist/projects/online/src/shared/components/OnlineSvgContainer.d.ts +0 -7
- package/dist/projects/online/src/shared/components/Spinner.d.ts +0 -6
- package/dist/projects/online/src/shared/components/SpinnerButtonComponent.d.ts +0 -12
- package/dist/projects/online/src/shared/components/alert/AlertComponent.d.ts +0 -7
- package/dist/projects/online/src/shared/components/alert/AlertContentComponent.d.ts +0 -8
- package/dist/projects/online/src/shared/components/alert/index.d.ts +0 -2
- package/dist/projects/online/src/shared/components/index.d.ts +0 -6
- package/dist/projects/online/src/shared/components/popup/Popup.d.ts +0 -12
- package/dist/projects/online/src/shared/components/popup/PopupButtons.d.ts +0 -6
- package/dist/projects/online/src/shared/components/popup/PopupLoadingSpinner.d.ts +0 -2
- package/dist/projects/online/src/shared/components/popup/index.d.ts +0 -3
- package/dist/projects/online/src/shared/components/video-list/PartialVideoList.d.ts +0 -2
- package/dist/projects/online/src/shared/components/video-list/PlaceHolder.d.ts +0 -2
- package/dist/projects/online/src/shared/components/video-list/RestrictedBadge.d.ts +0 -7
- package/dist/projects/online/src/shared/components/video-list/RestrictionInfo.d.ts +0 -7
- package/dist/projects/online/src/shared/components/video-list/SortableVideoList.d.ts +0 -7
- package/dist/projects/online/src/shared/components/video-list/SortableVideoListContainer.d.ts +0 -11
- package/dist/projects/online/src/shared/components/video-list/ThumbnailComponent.d.ts +0 -10
- package/dist/projects/online/src/shared/components/video-list/VideoActionsComponent.d.ts +0 -12
- package/dist/projects/online/src/shared/components/video-list/VideoItemComponent.d.ts +0 -15
- package/dist/projects/online/src/shared/components/video-list/VideoItemPreviewComponent.d.ts +0 -9
- package/dist/projects/online/src/shared/components/video-list/VideoList.d.ts +0 -8
- package/dist/projects/online/src/shared/constants/Actions.d.ts +0 -106
- package/dist/projects/online/src/shared/constants/BootstrapKeys.d.ts +0 -3
- package/dist/projects/online/src/shared/constants/DataPrefixes.d.ts +0 -26
- package/dist/projects/online/src/shared/constants/Layouts.d.ts +0 -3
- package/dist/projects/online/src/shared/constants/OnlineViewModels.d.ts +0 -3
- package/dist/projects/online/src/shared/constants/RadioChannels.d.ts +0 -20
- package/dist/projects/online/src/shared/constants/ResponsiveHideLeftNavAppLinks.d.ts +0 -2
- package/dist/projects/online/src/shared/constants/Services.d.ts +0 -8
- package/dist/projects/online/src/shared/constants/SupportArticles.d.ts +0 -3
- package/dist/projects/online/src/shared/constants/WithStatements.d.ts +0 -11
- package/dist/projects/online/src/shared/constants/index.d.ts +0 -9
- package/dist/projects/online/src/shared/enums/ClassificationMemberType.d.ts +0 -5
- package/dist/projects/online/src/shared/enums/Svg.d.ts +0 -13
- package/dist/projects/online/src/shared/enums/index.d.ts +0 -1
- package/dist/projects/online/src/shared/errors/not-found/NotFoundError.d.ts +0 -7
- package/dist/projects/online/src/shared/hooks/UseMixinVideoRestrictions.d.ts +0 -14
- package/dist/projects/online/src/shared/hooks/UsePolling.d.ts +0 -1
- package/dist/projects/online/src/shared/hooks/UseRenderBackboneView.d.ts +0 -10
- package/dist/projects/online/src/shared/hooks/UseResizeListener.d.ts +0 -9
- package/dist/projects/online/src/shared/hooks/UseRevertPageTitleOnUnsetChild.d.ts +0 -2
- package/dist/projects/online/src/shared/hooks/index.d.ts +0 -3
- package/dist/projects/online/src/shared/identifiers/DataIdentifier.d.ts +0 -15
- package/dist/projects/online/src/shared/identifiers/WidgetCollectionIdentifier.d.ts +0 -32
- package/dist/projects/online/src/shared/identifiers/index.d.ts +0 -3
- package/dist/projects/online/src/shared/identifiers/primitives/ServiceOptions.d.ts +0 -7
- package/dist/projects/online/src/shared/interfaces/SharedObject.d.ts +0 -9
- package/dist/projects/online/src/shared/interfaces/index.d.ts +0 -1
- package/dist/projects/online/src/shared/layouts/LayoutComponent.d.ts +0 -12
- package/dist/projects/online/src/shared/layouts/OnlineLayoutView.d.ts +0 -31
- package/dist/projects/online/src/shared/layouts/index.d.ts +0 -2
- package/dist/projects/online/src/shared/services/AppBridgeService.d.ts +0 -23
- package/dist/projects/online/src/shared/services/OnlineContextService.d.ts +0 -10
- package/dist/projects/online/src/shared/services/index.d.ts +0 -2
- package/dist/projects/online/src/shared/utils/BackboneHelper.d.ts +0 -18
- package/dist/projects/online/src/shared/utils/OnlineHelper.d.ts +0 -10
- package/dist/projects/online/src/shared/utils/PopupHelper.d.ts +0 -17
- package/dist/projects/online/src/shared/utils/index.d.ts +0 -3
- package/dist/projects/online/src/shared/views/alert/AlertView.d.ts +0 -8
- package/dist/projects/online/src/shared/views/error/ErrorView.d.ts +0 -11
- package/dist/projects/online/src/shared/views/index.d.ts +0 -3
- package/dist/projects/online/src/shared/views/share/ShareView.d.ts +0 -6
- package/dist/projects/online/src/styles/index.d.ts +0 -1
|
@@ -1,218 +0,0 @@
|
|
|
1
|
-
import { Events } from 'backbone';
|
|
2
|
-
export interface BaseDataServiceRequest {
|
|
3
|
-
/**
|
|
4
|
-
* This will be a url, an event or a cache key
|
|
5
|
-
* depending on the DataProviderType
|
|
6
|
-
*/
|
|
7
|
-
resource: string;
|
|
8
|
-
/**
|
|
9
|
-
* This is used to generate the events that can be listened to
|
|
10
|
-
* on the backbone radio channel.
|
|
11
|
-
*
|
|
12
|
-
* (e.g. if your eventPrefix was 'library' events would be:
|
|
13
|
-
* library:request, library:sync, library:success and library:error)
|
|
14
|
-
*/
|
|
15
|
-
eventPrefix: string;
|
|
16
|
-
/**
|
|
17
|
-
* This is the instance that is listening to the events.
|
|
18
|
-
* We pass this in so we can use the IoC of
|
|
19
|
-
* listenTo rather than using an on binding.
|
|
20
|
-
* (https://en.wikipedia.org/wiki/Inversion_of_control)
|
|
21
|
-
*
|
|
22
|
-
* This means that there won't be stale event listeners once
|
|
23
|
-
* the listener is disposed of.
|
|
24
|
-
*/
|
|
25
|
-
listener?: Events;
|
|
26
|
-
/**
|
|
27
|
-
* How long in seconds before the data
|
|
28
|
-
* is stale and we need to retreive it again
|
|
29
|
-
*/
|
|
30
|
-
expiryTime?: number;
|
|
31
|
-
/**
|
|
32
|
-
* Set of eventPrefix keys that will be evicted from the cache
|
|
33
|
-
* once the data request has completed.
|
|
34
|
-
*
|
|
35
|
-
* Accepts full and partial keys, where partial keys will be used to generate
|
|
36
|
-
* a regex for matching. Allows for multiple keys to be evicted in bulk.
|
|
37
|
-
*/
|
|
38
|
-
invalidationKeys?: string[];
|
|
39
|
-
/**
|
|
40
|
-
* This is used by a view to gain reference to the model or collection
|
|
41
|
-
* and store it somewhere. If the data is already cached, the callback will
|
|
42
|
-
* be called syncronously. Otherwise it will be called when the data becomes
|
|
43
|
-
* available.
|
|
44
|
-
*/
|
|
45
|
-
callback?: (data?: any) => any;
|
|
46
|
-
/**
|
|
47
|
-
* Callback to be passed from a view to be fired on an error.
|
|
48
|
-
*/
|
|
49
|
-
errorCallback?: () => void;
|
|
50
|
-
/**
|
|
51
|
-
* Success handler is attached as a callback to the successEvent fired on the dataProvider's dataChannel.
|
|
52
|
-
* Should NOT be used for data manipulation or management by views - use a callback or eventPrefix instead.
|
|
53
|
-
* Context is not bound at execution time, so ensure that any context is already bound to
|
|
54
|
-
* the handler when it is passed.
|
|
55
|
-
*/
|
|
56
|
-
successHandler?: (...args: any[]) => any;
|
|
57
|
-
/**
|
|
58
|
-
* Error handler is attached as a callback to the errorEvent fired on the dataProvider's dataChannel.
|
|
59
|
-
* Context is not bound at execution time, so ensure that any context is already bound to
|
|
60
|
-
* the handler when it is passed.
|
|
61
|
-
* A default errorHandler will be bound unless another error handler is passed in.
|
|
62
|
-
* Alternatively, passing in false will mean that no errorHandler is bound.
|
|
63
|
-
*/
|
|
64
|
-
errorHandler?: ((...args: any[]) => any) | boolean;
|
|
65
|
-
}
|
|
66
|
-
export interface DataServiceGetRequest<T> extends BaseDataServiceRequest {
|
|
67
|
-
/**
|
|
68
|
-
* This should be used to put the data returned from the DataProvider
|
|
69
|
-
* into an instance of a Model or Collection.
|
|
70
|
-
*
|
|
71
|
-
* This should be defined by the children inheriting from BaseDataService
|
|
72
|
-
* and should not be exposed to views or services consuming BaseDataService.
|
|
73
|
-
*/
|
|
74
|
-
formatData?: (data: any) => T;
|
|
75
|
-
/**
|
|
76
|
-
* Redefine callback with stronger types.
|
|
77
|
-
*/
|
|
78
|
-
callback?: (data: T) => any;
|
|
79
|
-
/**
|
|
80
|
-
* The name of the property on the bootstrap object
|
|
81
|
-
* that this request will use.
|
|
82
|
-
*/
|
|
83
|
-
bootstrapName?: string;
|
|
84
|
-
}
|
|
85
|
-
export interface DataServiceClearAndGetRequest<T> extends BaseDataServiceRequest {
|
|
86
|
-
/**
|
|
87
|
-
* This should be used to put the data returned from the DataProvider
|
|
88
|
-
* into an instance of a Model or Collection.
|
|
89
|
-
*
|
|
90
|
-
* This should be defined by the children inheriting from BaseDataService
|
|
91
|
-
* and should not be exposed to views or services consuming BaseDataService.
|
|
92
|
-
*/
|
|
93
|
-
formatData?: (data: any) => T;
|
|
94
|
-
/**
|
|
95
|
-
* Redfine callback as a required option
|
|
96
|
-
* because this is the only way to retreive the data
|
|
97
|
-
* in a clearCacheAndGet call
|
|
98
|
-
*/
|
|
99
|
-
callback: (data: T) => void;
|
|
100
|
-
}
|
|
101
|
-
export interface DataServiceCreateRequest<T> extends BaseDataServiceRequest {
|
|
102
|
-
/**
|
|
103
|
-
* This is the data we'll be creating.
|
|
104
|
-
*/
|
|
105
|
-
data: any;
|
|
106
|
-
/**
|
|
107
|
-
* This is how the data should be stored in the cache.
|
|
108
|
-
*/
|
|
109
|
-
formatData?: (data: any) => T;
|
|
110
|
-
/**
|
|
111
|
-
* Redefine callback with stronger types.
|
|
112
|
-
*/
|
|
113
|
-
callback?: (data: T) => any;
|
|
114
|
-
}
|
|
115
|
-
export interface DataServiceUpdateRequest<T> extends BaseDataServiceRequest {
|
|
116
|
-
/**
|
|
117
|
-
* This is the data we'll be sending
|
|
118
|
-
* to the server.
|
|
119
|
-
*/
|
|
120
|
-
data: any;
|
|
121
|
-
/**
|
|
122
|
-
* This is how the data should be stored in the cache.
|
|
123
|
-
*/
|
|
124
|
-
formatData?: (data: any) => T;
|
|
125
|
-
/**
|
|
126
|
-
* Redefine callback with stronger types.
|
|
127
|
-
*/
|
|
128
|
-
callback?: (data: T) => any;
|
|
129
|
-
}
|
|
130
|
-
/**
|
|
131
|
-
* The delete request is the simplest one.
|
|
132
|
-
* We have this here just incase we need to add to it
|
|
133
|
-
* in the future.
|
|
134
|
-
*/
|
|
135
|
-
export interface DataServiceDeleteRequest extends BaseDataServiceRequest {
|
|
136
|
-
}
|
|
137
|
-
export interface DataServiceRequestOptions {
|
|
138
|
-
/**
|
|
139
|
-
* This is used to generate the events that can be listened to
|
|
140
|
-
* on the backbone radio channel.
|
|
141
|
-
*
|
|
142
|
-
* (e.g. if your eventPrefix was library
|
|
143
|
-
* our events would be library:request and library:sync)
|
|
144
|
-
*/
|
|
145
|
-
eventPrefix: string;
|
|
146
|
-
/**
|
|
147
|
-
* Different requests will need to manage/change the cache
|
|
148
|
-
* in different ways.
|
|
149
|
-
*/
|
|
150
|
-
cacheOptions?: DataServiceCacheOptions;
|
|
151
|
-
/**
|
|
152
|
-
* This should be used to put the data returned from the DataProvider
|
|
153
|
-
* into an instance of a Model or Collection.
|
|
154
|
-
*
|
|
155
|
-
* This should be defined by the children inheriting from BaseDataService
|
|
156
|
-
* and should not be exposed to views or services consuming BaseDataService.
|
|
157
|
-
*/
|
|
158
|
-
formatData?: (data: any) => any;
|
|
159
|
-
/**
|
|
160
|
-
* After certain requests it may be necessary to refresh
|
|
161
|
-
* some data in the cache that has become stale.
|
|
162
|
-
* I.e. Deleting or moving a video
|
|
163
|
-
* Set of eventPrefix keys that will be evicted from the cache
|
|
164
|
-
* once the data request has completed.
|
|
165
|
-
*
|
|
166
|
-
* Accepts full and partial keys, where partial keys will be used to generate
|
|
167
|
-
* a regex for matching. Allows for multiple keys to be evicted in bulk.
|
|
168
|
-
*/
|
|
169
|
-
invalidationKeys?: string[];
|
|
170
|
-
/**
|
|
171
|
-
* Redefine callback with stronger types. It is called after a successful request
|
|
172
|
-
*/
|
|
173
|
-
callback?: (data: any) => any;
|
|
174
|
-
/**
|
|
175
|
-
* Callback to be passed from a view to be fired on an error.
|
|
176
|
-
*/
|
|
177
|
-
errorCallback?: () => void;
|
|
178
|
-
/**
|
|
179
|
-
* Success handler is attached as a callback to the successEvent fired on the dataProvider's dataChannel.
|
|
180
|
-
* Should NOT be used for data manipulation or management by views - use a callback or eventPrefix instead.
|
|
181
|
-
* Context is not bound at execution time, so ensure that any context is already bound to
|
|
182
|
-
* the handler when it is passed.
|
|
183
|
-
*/
|
|
184
|
-
successHandler?: (...args: any[]) => any;
|
|
185
|
-
/**
|
|
186
|
-
* Error handler is attached as a callback to the errorEvent fired on the dataProvider's dataChannel.
|
|
187
|
-
* Context is not bound at execution time, so ensure that any context is already bound to
|
|
188
|
-
* the handler when it is passed.
|
|
189
|
-
* A default errorHandler will be bound unless another error handler is passed in.
|
|
190
|
-
* Alternatively, passing in false will mean that no errorHandler is bound.
|
|
191
|
-
*/
|
|
192
|
-
errorHandler?: ((...args: any[]) => any) | boolean;
|
|
193
|
-
}
|
|
194
|
-
export interface DataServiceCacheOptions {
|
|
195
|
-
/**
|
|
196
|
-
* All requests will be cached by default. In circumstances where the return value
|
|
197
|
-
* is not required (i.e. after a delete call), set the flag to true.
|
|
198
|
-
*/
|
|
199
|
-
noCache?: boolean;
|
|
200
|
-
/**
|
|
201
|
-
* Certain requets (ie. deletes) may require the current cacheKey to be cleared.
|
|
202
|
-
* Set to true to clear.
|
|
203
|
-
*/
|
|
204
|
-
clearCacheKey?: boolean;
|
|
205
|
-
/**
|
|
206
|
-
* Where muliple views may require access to the same reource/data, set openRequest to
|
|
207
|
-
* ensure that any subsequent view can bind it's own callbacks to the existing
|
|
208
|
-
* network call.
|
|
209
|
-
*/
|
|
210
|
-
openRequest?: boolean;
|
|
211
|
-
/**
|
|
212
|
-
* Cached data will utilise a timestamp to determine it's own expiry time within the cache.
|
|
213
|
-
*/
|
|
214
|
-
timestamp?: number;
|
|
215
|
-
}
|
|
216
|
-
export interface RequestSignatures {
|
|
217
|
-
[signature: string]: string;
|
|
218
|
-
}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
export interface Pagination {
|
|
2
|
-
cursors: Cursors;
|
|
3
|
-
limit: number;
|
|
4
|
-
}
|
|
5
|
-
export interface Cursors {
|
|
6
|
-
next: string;
|
|
7
|
-
previous: string;
|
|
8
|
-
}
|
|
9
|
-
/**
|
|
10
|
-
* Do not extend or implement this interface.
|
|
11
|
-
* It is only exported for use within the BaseDataService.
|
|
12
|
-
*
|
|
13
|
-
* By default, the BaseDataService will convert legacy pagination
|
|
14
|
-
* objects to cursor-based pagination objects.
|
|
15
|
-
*/
|
|
16
|
-
export interface LegacyPagination {
|
|
17
|
-
page: number;
|
|
18
|
-
pageSize: number;
|
|
19
|
-
totalItems: number;
|
|
20
|
-
totalPages: number;
|
|
21
|
-
}
|
|
22
|
-
/**
|
|
23
|
-
* Do not extend or implement this interface.
|
|
24
|
-
* It is only exported for use within the BaseDataService.
|
|
25
|
-
*
|
|
26
|
-
* By default, the BaseDataService will convert legacy pagination
|
|
27
|
-
* objects to cursor-based pagination objects.
|
|
28
|
-
*/
|
|
29
|
-
export interface OffsetPagination {
|
|
30
|
-
offset: number;
|
|
31
|
-
pageSize: number;
|
|
32
|
-
totalItems: number;
|
|
33
|
-
}
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
/// <reference types="jquery" />
|
|
2
|
-
/// <reference types="jqueryui" />
|
|
3
|
-
/// <reference types="typeahead" />
|
|
4
|
-
/// <reference types="dropzone" />
|
|
5
|
-
/// <reference types="bootstrap" />
|
|
6
|
-
import { BaseModel } from '../core/BaseModel';
|
|
7
|
-
export interface StickitBinding {
|
|
8
|
-
observe: string;
|
|
9
|
-
onGet?: string | ((value: string, options: any) => string);
|
|
10
|
-
onSet?: string | ((value: string, options: any) => string);
|
|
11
|
-
getVal?: string | (($el: JQuery, event: Event, options: any) => string);
|
|
12
|
-
update?: string | (($el: JQuery, value: string, model: BaseModel, options: any) => void);
|
|
13
|
-
updateModel?: string | boolean | ((value: string, event: Event, options: any) => boolean);
|
|
14
|
-
updateView?: string | boolean | (() => boolean);
|
|
15
|
-
afterUpdate?: string | (($el: JQuery, value: string, options: any) => void);
|
|
16
|
-
updateMethod?: string;
|
|
17
|
-
escape?: boolean;
|
|
18
|
-
initialize?: string | (($el: JQuery, model: BaseModel, options: any) => void);
|
|
19
|
-
destroy?: string | (($el: JQuery, model: BaseModel, options: any) => void);
|
|
20
|
-
visible?: boolean | ((value: string, options: any) => boolean);
|
|
21
|
-
visibleFn?: string;
|
|
22
|
-
events?: string[];
|
|
23
|
-
name?: string;
|
|
24
|
-
selectOptions?: {
|
|
25
|
-
collection: string;
|
|
26
|
-
labelPath: string;
|
|
27
|
-
valuePath: string;
|
|
28
|
-
defaultOption?: string;
|
|
29
|
-
};
|
|
30
|
-
setOptions?: {
|
|
31
|
-
silent?: boolean;
|
|
32
|
-
validate?: boolean;
|
|
33
|
-
};
|
|
34
|
-
classes?: {
|
|
35
|
-
[className: string]: StickitBinding;
|
|
36
|
-
};
|
|
37
|
-
attributes?: StickitBinding[];
|
|
38
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
export interface Xhr extends Pick<XMLHttpRequest, 'getResponseHeader' | 'status'> {
|
|
2
|
-
responseJSON?: any;
|
|
3
|
-
}
|
|
4
|
-
/**
|
|
5
|
-
* We're making getResponseHeader optional for a slightly nicer API
|
|
6
|
-
*/
|
|
7
|
-
export interface SimulatedXhr extends Omit<Xhr, 'getResponseHeader'> {
|
|
8
|
-
getResponseHeader?: (name: string) => string;
|
|
9
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
export * from './BaseCollectionIdentifier';
|
|
2
|
-
export * from './ChainableDataService';
|
|
3
|
-
export * from './DataCache';
|
|
4
|
-
export * from './DataProvider';
|
|
5
|
-
export * from './DataServiceError';
|
|
6
|
-
export * from './DataServiceRequests';
|
|
7
|
-
export * from './Pagination';
|
|
8
|
-
export * from './StickitBinding';
|
|
9
|
-
export * from './Xhr';
|
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { ObjectHash } from 'backbone';
|
|
3
|
-
import { AppLink } from "../core/AppLink";
|
|
4
|
-
import { BaseView } from "../core/BaseView";
|
|
5
|
-
import { BaseCollectionView } from "../core/BaseCollectionView";
|
|
6
|
-
import { BaseComponent } from "../core/BaseView";
|
|
7
|
-
import { ViewCtor } from "../core/Types";
|
|
8
|
-
import { BaseService, BaseServiceOptions } from "../core/BaseService";
|
|
9
|
-
export declare enum AlertType {
|
|
10
|
-
Success = "success",
|
|
11
|
-
Warning = "warning",
|
|
12
|
-
Fail = "danger",
|
|
13
|
-
Info = "info"
|
|
14
|
-
}
|
|
15
|
-
export declare enum DefaultAlertHeading {
|
|
16
|
-
Success = "Success! \uD83D\uDE4C",
|
|
17
|
-
Warning = "Whoops...",
|
|
18
|
-
Fail = "Oops...",
|
|
19
|
-
Info = "FYI"
|
|
20
|
-
}
|
|
21
|
-
export interface BaseAlert {
|
|
22
|
-
id?: string;
|
|
23
|
-
type: AlertType;
|
|
24
|
-
heading: string;
|
|
25
|
-
message?: string;
|
|
26
|
-
appLink?: AppLink;
|
|
27
|
-
appLinkText?: string;
|
|
28
|
-
appLinkClassName?: string;
|
|
29
|
-
timeout?: number;
|
|
30
|
-
}
|
|
31
|
-
export interface DefaultAlertCallback {
|
|
32
|
-
(message?: string, options?: ObjectHash): void;
|
|
33
|
-
}
|
|
34
|
-
export interface BaseAlertOptions {
|
|
35
|
-
useXHR: boolean;
|
|
36
|
-
}
|
|
37
|
-
declare type View = BaseView | BaseCollectionView | BaseComponent;
|
|
38
|
-
interface AlertProps {
|
|
39
|
-
alerts: BaseAlert[];
|
|
40
|
-
removeAlert: (id: string) => void;
|
|
41
|
-
}
|
|
42
|
-
export interface BaseAlertServiceOptions extends BaseServiceOptions {
|
|
43
|
-
maxAlerts?: number;
|
|
44
|
-
defaultSuccessAlert: BaseAlert;
|
|
45
|
-
defaultErrorAlert: BaseAlert;
|
|
46
|
-
alertViewCtor?: ViewCtor<View> | ((props: AlertProps) => React.ReactElement);
|
|
47
|
-
}
|
|
48
|
-
export declare class BaseAlertService extends BaseService {
|
|
49
|
-
private options;
|
|
50
|
-
private alertCollection;
|
|
51
|
-
constructor(options: BaseAlertServiceOptions);
|
|
52
|
-
initialize(): void;
|
|
53
|
-
get name(): string;
|
|
54
|
-
get defaults(): ObjectHash;
|
|
55
|
-
/**
|
|
56
|
-
* As it's not known which application is currently in scope,
|
|
57
|
-
* we emit a render event to construct the alert collection view
|
|
58
|
-
* if required. If the current application already has a alert
|
|
59
|
-
* view rendered, it will simply be ignored.
|
|
60
|
-
*/
|
|
61
|
-
private showAlerts;
|
|
62
|
-
removeAlert(id: string): void;
|
|
63
|
-
createAlert(alertData: BaseAlert): void;
|
|
64
|
-
clearAllAlerts(): void;
|
|
65
|
-
success(successAlert: string | BaseAlert | BaseAlertOptions): DefaultAlertCallback;
|
|
66
|
-
error(errorAlert: string | BaseAlert | BaseAlertOptions): DefaultAlertCallback;
|
|
67
|
-
private generateUniqueAlertId;
|
|
68
|
-
}
|
|
69
|
-
export {};
|
|
@@ -1,82 +0,0 @@
|
|
|
1
|
-
import { ObjectHash } from 'backbone';
|
|
2
|
-
import { Cursors } from "../interfaces/Pagination";
|
|
3
|
-
import { DataProvider } from "../interfaces/DataProvider";
|
|
4
|
-
import { DataServiceGetRequest, DataServiceCreateRequest, DataServiceUpdateRequest, DataServiceDeleteRequest } from "../interfaces/DataServiceRequests";
|
|
5
|
-
import { DataCache } from "../interfaces/DataCache";
|
|
6
|
-
import { BaseService } from "../core/BaseService";
|
|
7
|
-
import { DataServiceClearAndGetRequest } from "../interfaces/DataServiceRequests";
|
|
8
|
-
import { ChainableDataService } from "../interfaces/ChainableDataService";
|
|
9
|
-
import { BaseAlertService } from './BaseAlertService';
|
|
10
|
-
export interface BaseDataServiceOptions {
|
|
11
|
-
dataProvider: DataProvider;
|
|
12
|
-
cache: DataCache;
|
|
13
|
-
bootstrapData?: ObjectHash;
|
|
14
|
-
defaultErrorHandler?: (...args: any[]) => any;
|
|
15
|
-
alertService: BaseAlertService;
|
|
16
|
-
}
|
|
17
|
-
export declare class BaseDataService extends BaseService {
|
|
18
|
-
private bootstrapData;
|
|
19
|
-
/**
|
|
20
|
-
* This is what is used to actually fetch the data.
|
|
21
|
-
* This can be an AjaxDataProvider, a SignalRDataProvider
|
|
22
|
-
* or a LocalStorageDataProvider.
|
|
23
|
-
*/
|
|
24
|
-
private dataProvider;
|
|
25
|
-
/**
|
|
26
|
-
* Store fetched data.
|
|
27
|
-
*/
|
|
28
|
-
private cache;
|
|
29
|
-
/**
|
|
30
|
-
* Maintain a hash of dataRequestSignatures to ensure
|
|
31
|
-
* that we only bind listeners for the first data event
|
|
32
|
-
* for a given eventprefix.
|
|
33
|
-
*/
|
|
34
|
-
private dataRequestSignatures;
|
|
35
|
-
/**
|
|
36
|
-
* Default errorHandler attached as a callback to the errorEvent fired on the dataProvider's dataChannel.
|
|
37
|
-
* Will not be bound if an alternative errorHandler is passed in as an option when making a data request
|
|
38
|
-
* or if false is passed in as the errorHandler option.
|
|
39
|
-
*/
|
|
40
|
-
private defaultErrorHandler;
|
|
41
|
-
/**
|
|
42
|
-
* A reference to the consuming applications alert service.
|
|
43
|
-
*/
|
|
44
|
-
protected alertService: BaseAlertService;
|
|
45
|
-
/**
|
|
46
|
-
* Specify the properties you want to be
|
|
47
|
-
* taken from `options` and added to the context.
|
|
48
|
-
*/
|
|
49
|
-
props: string[];
|
|
50
|
-
/**
|
|
51
|
-
* The default properties that will be taken
|
|
52
|
-
* from `options` and added to the context.
|
|
53
|
-
*/
|
|
54
|
-
private get defaultProps();
|
|
55
|
-
constructor(options: BaseDataServiceOptions);
|
|
56
|
-
protected getCursors(cacheKey: string): Cursors;
|
|
57
|
-
protected clearCacheAndGet<T>(options: DataServiceClearAndGetRequest<T>): void;
|
|
58
|
-
protected get<T>(options: DataServiceGetRequest<T>): T;
|
|
59
|
-
protected create<T>(options: DataServiceCreateRequest<T>): void;
|
|
60
|
-
protected update<T>(options: DataServiceUpdateRequest<T>): void;
|
|
61
|
-
protected delete(options: DataServiceDeleteRequest): void;
|
|
62
|
-
private listenToResponse;
|
|
63
|
-
private cacheData;
|
|
64
|
-
private processPagination;
|
|
65
|
-
private formatData;
|
|
66
|
-
/**
|
|
67
|
-
* Used to syncronously execute dataService operations.
|
|
68
|
-
* This will mainly be used if we need to update a model
|
|
69
|
-
* or collection after an api call.
|
|
70
|
-
*/
|
|
71
|
-
protected chain(): ChainableDataService;
|
|
72
|
-
protected invalidateCache(invalidationKeys?: string[]): void;
|
|
73
|
-
private currentTimestamp;
|
|
74
|
-
private isExpired;
|
|
75
|
-
private getEventNames;
|
|
76
|
-
private getTransportChannel;
|
|
77
|
-
private getAlertChannel;
|
|
78
|
-
private setRequestSignature;
|
|
79
|
-
private hasRequestSignature;
|
|
80
|
-
private convertOffsetPaginationToCursors;
|
|
81
|
-
private convertLegacyPaginationToCursors;
|
|
82
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { ObjectHash } from 'backbone';
|
|
2
|
-
declare class StaticEnvironmentVariables {
|
|
3
|
-
private static instance;
|
|
4
|
-
private variables;
|
|
5
|
-
constructor();
|
|
6
|
-
static get Instance(): StaticEnvironmentVariables;
|
|
7
|
-
get name(): string;
|
|
8
|
-
get isDevelopment(): boolean;
|
|
9
|
-
get(name: string): any;
|
|
10
|
-
setUpVariables(variables: ObjectHash): void;
|
|
11
|
-
}
|
|
12
|
-
export declare const EnvironmentVariables: StaticEnvironmentVariables;
|
|
13
|
-
export {};
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { ObjectHash } from 'backbone';
|
|
2
|
-
import { BaseDataServiceOptions, BaseDataService } from "./BaseDataService";
|
|
3
|
-
import { BaseService } from "../core/BaseService";
|
|
4
|
-
import { BaseAlertService } from './BaseAlertService';
|
|
5
|
-
interface DataServiceConstructor {
|
|
6
|
-
new (options: BaseDataServiceOptions): BaseDataService;
|
|
7
|
-
}
|
|
8
|
-
interface DataServiceInstanceOptions {
|
|
9
|
-
cache: string;
|
|
10
|
-
dataProvider: string;
|
|
11
|
-
bootstrapData?: ObjectHash;
|
|
12
|
-
defaultErrorHandler?: (...args: any[]) => any;
|
|
13
|
-
alertService: BaseAlertService;
|
|
14
|
-
}
|
|
15
|
-
declare class StaticInstanceManager extends BaseService {
|
|
16
|
-
private static instance;
|
|
17
|
-
private constructors;
|
|
18
|
-
private destructors;
|
|
19
|
-
private instances;
|
|
20
|
-
private singletonInstances;
|
|
21
|
-
private referenceCounts;
|
|
22
|
-
private constructor();
|
|
23
|
-
get name(): string;
|
|
24
|
-
static get Instance(): StaticInstanceManager;
|
|
25
|
-
registerDataService(ctor: DataServiceConstructor, options: DataServiceInstanceOptions): this;
|
|
26
|
-
registerInstance<TInstanceOptions>(ctor: new (...args: any[]) => any, options?: TInstanceOptions): this;
|
|
27
|
-
registerSingleton(instance: any): this;
|
|
28
|
-
getInstance<T>(name: string, owner?: Backbone.Events): T;
|
|
29
|
-
releaseInstance(name: string): this;
|
|
30
|
-
private validateConstructor;
|
|
31
|
-
}
|
|
32
|
-
export declare const InstanceManager: StaticInstanceManager;
|
|
33
|
-
export {};
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { ObjectHash } from 'backbone';
|
|
2
|
-
import { BaseService } from "../core/BaseService";
|
|
3
|
-
interface LanguageInterpolationOptions {
|
|
4
|
-
smartCount?: number;
|
|
5
|
-
[propName: string]: any;
|
|
6
|
-
}
|
|
7
|
-
interface LanguageConfig {
|
|
8
|
-
locale: string;
|
|
9
|
-
phrases: ObjectHash;
|
|
10
|
-
}
|
|
11
|
-
declare class StaticLanguageService extends BaseService {
|
|
12
|
-
private static instance;
|
|
13
|
-
private polyglot;
|
|
14
|
-
private cache;
|
|
15
|
-
static get Instance(): StaticLanguageService;
|
|
16
|
-
get name(): string;
|
|
17
|
-
setConfig(config: LanguageConfig): void;
|
|
18
|
-
getPhrase(namespace: string, phraseKey: string, options?: LanguageInterpolationOptions): string;
|
|
19
|
-
encloseNamespace(namespace: string): (phraseKey: string, options?: LanguageInterpolationOptions) => string;
|
|
20
|
-
}
|
|
21
|
-
export declare const LanguageService: StaticLanguageService;
|
|
22
|
-
export {};
|
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
import { ObjectHash } from 'backbone';
|
|
2
|
-
import { StorageType } from "../utils/LocalStorageHelper";
|
|
3
|
-
import { BaseService } from "../core/BaseService";
|
|
4
|
-
import { BaseModel } from "../core/BaseModel";
|
|
5
|
-
import { BaseNestedModel } from "../core/BaseNestedModel";
|
|
6
|
-
interface ViewModel extends BaseModel {
|
|
7
|
-
}
|
|
8
|
-
interface ViewNestedModel extends BaseNestedModel {
|
|
9
|
-
}
|
|
10
|
-
declare type ViewData = ViewModel | ViewNestedModel;
|
|
11
|
-
export declare type ViewModelData = ObjectHash | ObjectHash[];
|
|
12
|
-
export interface ViewModelStorage {
|
|
13
|
-
/**
|
|
14
|
-
* Auto-persist properties when a change event occurs
|
|
15
|
-
*/
|
|
16
|
-
persistProps: string | string[];
|
|
17
|
-
type: StorageType;
|
|
18
|
-
}
|
|
19
|
-
export interface ViewModelOptions<TData> {
|
|
20
|
-
update?: boolean;
|
|
21
|
-
ctor?: {
|
|
22
|
-
new (vals: ViewModelData, options?: ObjectHash): TData;
|
|
23
|
-
};
|
|
24
|
-
storage?: ViewModelStorage;
|
|
25
|
-
}
|
|
26
|
-
declare class StaticViewModelService extends BaseService {
|
|
27
|
-
private static instance;
|
|
28
|
-
private viewObjects;
|
|
29
|
-
private constructor();
|
|
30
|
-
static get Instance(): StaticViewModelService;
|
|
31
|
-
get name(): string;
|
|
32
|
-
/**
|
|
33
|
-
* Update the view model attributes to include defaults, only where they haven't already
|
|
34
|
-
* been set previously on the model.
|
|
35
|
-
*
|
|
36
|
-
* Note: Checking model instance type is deliberate for Model & NestedModel, otherwise the type system
|
|
37
|
-
* doesn't know which set() is being invoked. ¯\_(ツ)_/¯
|
|
38
|
-
*/
|
|
39
|
-
private updateViewModel;
|
|
40
|
-
get<TData extends ViewData>(key: string, defaultValues?: ViewModelData, options?: ViewModelOptions<TData>): TData;
|
|
41
|
-
private set;
|
|
42
|
-
clear(key: string): boolean;
|
|
43
|
-
/**
|
|
44
|
-
* Retrieve any data we've previous stored within local storage
|
|
45
|
-
*/
|
|
46
|
-
private getLocalData;
|
|
47
|
-
/**
|
|
48
|
-
* Store changed properties in local storage
|
|
49
|
-
*
|
|
50
|
-
* It is not possible to blindly save entire models, instead, specific model properties must be passed
|
|
51
|
-
* via the storage persistProps. These props will all be set together, even if only one has changed, this
|
|
52
|
-
* saves us from unncessarily polluting local storage with single props.
|
|
53
|
-
*
|
|
54
|
-
* @param key
|
|
55
|
-
* @param viewData
|
|
56
|
-
* @param value
|
|
57
|
-
* @param options
|
|
58
|
-
*/
|
|
59
|
-
private setLocalData;
|
|
60
|
-
/**
|
|
61
|
-
* Setup model listeners to store changes to local storage automatically
|
|
62
|
-
*/
|
|
63
|
-
private setupChangeListeners;
|
|
64
|
-
private mergeData;
|
|
65
|
-
private getStorageHelper;
|
|
66
|
-
}
|
|
67
|
-
export declare const ViewModelService: StaticViewModelService;
|
|
68
|
-
export {};
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { DataCache } from "../../interfaces/DataCache";
|
|
2
|
-
import { BaseService } from "../../core/BaseService";
|
|
3
|
-
interface FifoMemoryCacheOptions {
|
|
4
|
-
size: number;
|
|
5
|
-
}
|
|
6
|
-
export declare class FifoMemoryCache extends BaseService implements DataCache {
|
|
7
|
-
private size;
|
|
8
|
-
private cache;
|
|
9
|
-
private cachedkeys;
|
|
10
|
-
constructor(options: FifoMemoryCacheOptions);
|
|
11
|
-
get name(): string;
|
|
12
|
-
private removeCacheKey;
|
|
13
|
-
has(cacheKey: string): boolean;
|
|
14
|
-
get(cacheKey: string): any;
|
|
15
|
-
set(cacheKey: string, value: any): void;
|
|
16
|
-
getOrSet(cacheKey: string, getter: () => any): any;
|
|
17
|
-
remove(cacheKey: string): boolean;
|
|
18
|
-
invalidate(cacheKeys: string[], callback?: (cacheKey: string) => void): void;
|
|
19
|
-
}
|
|
20
|
-
export {};
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
/// <reference types="jquery" />
|
|
2
|
-
import { ObjectHash } from 'backbone';
|
|
3
|
-
import * as Marionette from 'backbone.marionette';
|
|
4
|
-
import { DataServiceError } from "../../interfaces/DataServiceError";
|
|
5
|
-
import { DataProvider, DataProviderResponseOptions } from "../../interfaces/DataProvider";
|
|
6
|
-
interface MiddlewareCallback {
|
|
7
|
-
(data: any, textStatus: any, jqXHR: any): any;
|
|
8
|
-
}
|
|
9
|
-
interface AjaxDataProviderOptions {
|
|
10
|
-
dataServiceErrorMessageMappings: ObjectHash;
|
|
11
|
-
defaultErrorMessageKey: string;
|
|
12
|
-
}
|
|
13
|
-
export declare class AjaxDataProvider extends Marionette.Object implements DataProvider {
|
|
14
|
-
private successMiddleware;
|
|
15
|
-
private errorMiddleware;
|
|
16
|
-
private dataServiceErrorMessageMappings;
|
|
17
|
-
private defaultErrorMessageKey;
|
|
18
|
-
constructor(options?: AjaxDataProviderOptions);
|
|
19
|
-
get name(): string;
|
|
20
|
-
private parseUrl;
|
|
21
|
-
private makeHttps;
|
|
22
|
-
private base;
|
|
23
|
-
create<T>(resource: string, obj: T, options: DataProviderResponseOptions): void;
|
|
24
|
-
read<T>(resource: string, options: DataProviderResponseOptions): void;
|
|
25
|
-
update<T>(resource: string, obj: T, options: DataProviderResponseOptions): void;
|
|
26
|
-
delete(resource: string, options: DataProviderResponseOptions): void;
|
|
27
|
-
useMiddleware(name: string, callback: MiddlewareCallback): void;
|
|
28
|
-
useErrorMiddleware(name: string, callback: MiddlewareCallback): void;
|
|
29
|
-
parseError(jqXHR: JQuery.jqXHR): DataServiceError;
|
|
30
|
-
}
|
|
31
|
-
export {};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Not really for concurrency 😂
|
|
3
|
-
* But useful in circumstances where we need to manually wait for
|
|
4
|
-
* a sequence of callbacks or other resources to execute and don't
|
|
5
|
-
* want the overhead of promises.
|
|
6
|
-
*/
|
|
7
|
-
export declare class ConcurrencyHelper {
|
|
8
|
-
private value;
|
|
9
|
-
constructor(initialValue: number);
|
|
10
|
-
increment(): void;
|
|
11
|
-
decrement(): void;
|
|
12
|
-
getValue(): number;
|
|
13
|
-
}
|