@clickview/library-editor 1.1.26-dev.0 → 1.1.26
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/css/1.chunk.css.map +1 -0
- package/dist/css/10.chunk.css.map +1 -0
- package/dist/css/11.chunk.css +137 -0
- package/dist/css/11.chunk.css.map +1 -0
- package/dist/css/12.chunk.css.map +1 -0
- package/dist/css/13.chunk.css.map +1 -0
- package/dist/css/14.chunk.css.map +1 -0
- package/dist/css/16.chunk.css.map +1 -0
- package/dist/css/17.chunk.css.map +1 -0
- package/dist/css/18.chunk.css +20 -0
- package/dist/css/18.chunk.css.map +1 -0
- package/dist/css/2.chunk.css +145 -0
- package/dist/css/2.chunk.css.map +1 -0
- package/dist/css/21.chunk.css.map +1 -0
- package/dist/css/22.chunk.css.map +1 -0
- package/dist/css/23.chunk.css +5 -3
- package/dist/css/23.chunk.css.map +1 -0
- package/dist/css/25.chunk.css +2 -0
- package/dist/css/25.chunk.css.map +1 -0
- package/dist/css/26.chunk.css.map +1 -0
- package/dist/css/28.chunk.css.map +1 -0
- package/dist/css/29.chunk.css.map +1 -0
- package/dist/css/3.chunk.css.map +1 -0
- package/dist/css/30.chunk.css.map +1 -0
- package/dist/css/31.chunk.css.map +1 -0
- package/dist/css/32.chunk.css.map +1 -0
- package/dist/css/33.chunk.css.map +1 -0
- package/dist/css/34.chunk.css +21 -0
- package/dist/css/34.chunk.css.map +1 -0
- package/dist/css/35.chunk.css +20 -0
- package/dist/css/35.chunk.css.map +1 -0
- package/dist/css/36.chunk.css +14 -0
- package/dist/css/36.chunk.css.map +1 -0
- package/dist/css/37.chunk.css.map +1 -0
- package/dist/css/38.chunk.css.map +1 -0
- package/dist/css/40.chunk.css.map +1 -0
- package/dist/css/41.chunk.css.map +1 -0
- package/dist/css/42.chunk.css.map +1 -0
- package/dist/css/43.chunk.css.map +1 -0
- package/dist/css/44.chunk.css.map +1 -0
- package/dist/css/45.chunk.css.map +1 -0
- package/dist/css/46.chunk.css.map +1 -0
- package/dist/css/47.chunk.css.map +1 -0
- package/dist/css/48.chunk.css.map +1 -0
- package/dist/css/49.chunk.css +35 -0
- package/dist/css/49.chunk.css.map +1 -0
- package/dist/css/50.chunk.css.map +1 -0
- package/dist/css/51.chunk.css.map +1 -0
- package/dist/css/52.chunk.css +66 -0
- package/dist/css/52.chunk.css.map +1 -0
- package/dist/css/55.chunk.css.map +1 -0
- package/dist/css/56.chunk.css.map +1 -0
- package/dist/css/58.chunk.css.map +1 -0
- package/dist/css/59.chunk.css.map +1 -0
- package/dist/css/6.chunk.css.map +1 -0
- package/dist/css/60.chunk.css +18 -0
- package/dist/css/60.chunk.css.map +1 -0
- package/dist/css/62.chunk.css.map +1 -0
- package/dist/css/63.chunk.css +170 -0
- package/dist/css/63.chunk.css.map +1 -0
- package/dist/css/67.chunk.css +78 -0
- package/dist/css/67.chunk.css.map +1 -0
- package/dist/css/68.chunk.css +17 -0
- package/dist/css/68.chunk.css.map +1 -0
- package/dist/css/69.chunk.css +17 -0
- package/dist/css/69.chunk.css.map +1 -0
- package/dist/css/7.chunk.css.map +1 -0
- package/dist/css/70.chunk.css +23 -0
- package/dist/css/70.chunk.css.map +1 -0
- package/dist/css/71.chunk.css +40 -0
- package/dist/css/71.chunk.css.map +1 -0
- package/dist/css/72.chunk.css +16 -0
- package/dist/css/72.chunk.css.map +1 -0
- package/dist/css/73.chunk.css +37 -0
- package/dist/css/73.chunk.css.map +1 -0
- package/dist/css/74.chunk.css +29 -0
- package/dist/css/74.chunk.css.map +1 -0
- package/dist/css/75.chunk.css +6 -0
- package/dist/css/75.chunk.css.map +1 -0
- package/dist/css/76.chunk.css +6 -0
- package/dist/css/76.chunk.css.map +1 -0
- package/dist/css/8.chunk.css.map +1 -0
- package/dist/css/library-editor-app.css +2 -2
- package/dist/css/library-editor-app.css.map +1 -0
- package/dist/en.json +1 -1
- package/dist/libs/analytics/src/clients/CollectionApiClient.d.ts +3 -1
- package/dist/libs/analytics/src/enrichers/BaseAnalyticsEnricher.d.ts +1 -1
- package/dist/libs/analytics/src/enrichers/UserDataEnricher.d.ts +1 -1
- package/dist/libs/analytics/src/interfaces/AnalyticsTypes.d.ts +1 -4
- package/dist/libs/analytics/src/utils/TypeHelper.d.ts +1 -1
- package/dist/libs/analytics/src/utils/VideoDataFormatHelper.d.ts +5 -5
- package/dist/libs/common/src/backbone/constants/CommonServices.d.ts +1 -0
- package/dist/libs/common/src/backbone/core/BaseAppRouter.d.ts +1 -1
- package/dist/libs/common/src/backbone/core/BaseApplication.d.ts +1 -1
- package/dist/libs/common/src/backbone/core/BaseBehavior.d.ts +1 -1
- package/dist/libs/common/src/backbone/core/BaseCollection.d.ts +1 -1
- package/dist/libs/common/src/backbone/core/BaseCollectionView.d.ts +1 -1
- package/dist/libs/common/src/backbone/core/BaseLayoutView.d.ts +1 -1
- package/dist/libs/common/src/backbone/core/BaseModel.d.ts +1 -1
- package/dist/libs/common/src/backbone/core/BaseNestedModel.d.ts +1 -1
- package/dist/libs/common/src/backbone/core/BaseService.d.ts +1 -1
- package/dist/libs/common/src/backbone/core/BaseView.d.ts +2 -2
- package/dist/libs/common/src/backbone/core/LayoutService.d.ts +1 -1
- package/dist/libs/common/src/backbone/core/ListenToRadio.d.ts +1 -1
- package/dist/libs/common/src/backbone/core/Shell.d.ts +1 -1
- package/dist/libs/common/src/backbone/interfaces/BaseCollectionIdentifier.d.ts +1 -2
- package/dist/libs/common/src/backbone/interfaces/DataProvider.d.ts +1 -1
- package/dist/libs/common/src/backbone/interfaces/StickitBinding.d.ts +1 -1
- package/dist/libs/common/src/backbone/services/LanguageService.d.ts +1 -1
- package/dist/libs/common/src/backbone/services/ScrollService.d.ts +19 -0
- package/dist/libs/common/src/backbone/services/data-providers/AjaxDataProvider.d.ts +1 -1
- package/dist/libs/common/src/backbone/services/data-providers/SignalRDataProvider.d.ts +2 -2
- package/dist/libs/common/src/backbone/utils/FunctionHelper.d.ts +3 -3
- package/dist/libs/common/src/react/utils/FetchHelper.d.ts +1 -1
- package/dist/libs/shared/src/apps/notifications/views/popover/NotificationsPopoverView.d.ts +2 -2
- package/dist/libs/shared/src/apps/search/utils/InstantSearchHelper.d.ts +5 -5
- package/dist/libs/shared/src/apps/search/utils/TypeaheadHelper.d.ts +24 -24
- package/dist/libs/shared/src/apps/search/views/search-bar/SearchBarView.d.ts +5 -5
- package/dist/libs/shared/src/apps/upload/errors/file-type/FileTypeError.d.ts +1 -1
- package/dist/libs/shared/src/constants/BootstrapKeys.d.ts +0 -1
- package/dist/libs/shared/src/enums/WidgetContents.d.ts +1 -2
- package/dist/libs/shared/src/images/svg/ImportedSvgs.d.ts +1 -3
- package/dist/libs/shared/src/images/svg/actions/index.d.ts +1 -3
- package/dist/libs/shared/src/interfaces/collections/index.d.ts +0 -1
- package/dist/libs/shared/src/interfaces/models/Config.d.ts +0 -1
- package/dist/libs/shared/src/interfaces/models/Link.d.ts +0 -1
- package/dist/libs/shared/src/interfaces/models/Resource.d.ts +1 -9
- package/dist/libs/shared/src/interfaces/models/Thumbnail.d.ts +0 -3
- package/dist/libs/shared/src/interfaces/models/index.d.ts +0 -3
- package/dist/libs/shared/src/interfaces/requests/UpdateVideoRequest.d.ts +1 -5
- package/dist/libs/shared/src/interfaces/requests/index.d.ts +0 -3
- package/dist/libs/shared/src/interfaces/services/BaseUserDataService.d.ts +0 -2
- package/dist/libs/shared/src/interfaces/services/index.d.ts +0 -1
- package/dist/libs/shared/src/legacy/components/thumbnail/ThumbnailComponent.d.ts +1 -1
- package/dist/libs/shared/src/utils/ImageHelper.d.ts +3 -3
- package/dist/libs/shared/src/utils/MaskHelper.d.ts +1 -1
- package/dist/libs/shared/src/utils/SvgHelper.d.ts +1 -0
- package/dist/projects/library-editor/src/app.d.ts +5 -20
- package/dist/projects/library-editor/src/apps/content-updates/utils/ContentUpdatesHelper.d.ts +1 -1
- package/dist/projects/library-editor/src/apps/library-editor/LibraryEditorApplication.d.ts +3 -3
- package/dist/projects/library-editor/src/apps/library-editor/components/file-select/FileSelectComponent.d.ts +30 -0
- package/dist/projects/library-editor/src/apps/library-editor/components/file-uploads/FileUploadComponent.d.ts +15 -0
- package/dist/projects/library-editor/src/apps/library-editor/components/file-uploads/FileUploadsComponentCollection.d.ts +1 -1
- package/dist/projects/library-editor/src/apps/library-editor/components/language-select/LanguageSelectTypeaheadHelper.d.ts +2 -1
- package/dist/projects/library-editor/src/apps/library-editor/components/video-resources/ResourceItemComponent.d.ts +22 -0
- package/dist/projects/library-editor/src/apps/library-editor/components/video-resources/VideoResourcesComponent.d.ts +1 -3
- package/dist/projects/library-editor/src/apps/library-editor/components/video-subtitles/SubtitleItemComponent.d.ts +18 -0
- package/dist/projects/library-editor/src/apps/library-editor/components/video-subtitles/VideoSubtitlesComponent.d.ts +1 -4
- package/dist/projects/library-editor/src/apps/library-editor/enums/ObjectOwnerType.d.ts +4 -0
- package/dist/projects/library-editor/src/apps/library-editor/enums/index.d.ts +1 -0
- package/dist/projects/library-editor/src/apps/library-editor/errors/index.d.ts +2 -0
- package/dist/projects/library-editor/src/apps/library-editor/errors/too-many-resources/TooManyResourcesError.d.ts +8 -0
- package/dist/projects/library-editor/src/apps/library-editor/errors/too-many-subtitles/TooManySubtitlesError.d.ts +8 -0
- package/dist/projects/library-editor/src/apps/library-editor/services/VideoDataService.d.ts +2 -2
- package/dist/projects/library-editor/src/apps/library-editor/utils/EditVideoHelpers.d.ts +2 -2
- package/dist/projects/library-editor/src/apps/library-editor/utils/VideoDetailsHelper.d.ts +1 -1
- package/dist/projects/library-editor/src/apps/library-editor/views/edit-resources/EditResourcesView.d.ts +3 -3
- package/dist/projects/library-editor/src/apps/migration-wizard/components/status-bar/StatusBarComponent.d.ts +2 -2
- package/dist/projects/library-editor/src/apps/upload/UploadApplication.d.ts +1 -1
- package/dist/projects/library-editor/src/shared/behaviors/file-drop/FileDropBehavior.d.ts +19 -0
- package/dist/projects/library-editor/src/shared/behaviors/file-drop/FileDropHelper.d.ts +4 -0
- package/dist/projects/library-editor/src/shared/behaviors/file-drop/FileDropMaskBehavior.d.ts +19 -0
- package/dist/projects/library-editor/src/shared/behaviors/file-select/FileSelectBehavior.d.ts +16 -0
- package/dist/projects/library-editor/src/shared/behaviors/index.d.ts +3 -0
- package/dist/projects/library-editor/src/shared/behaviors/popup/PopupBehavior.d.ts +3 -3
- package/dist/projects/library-editor/src/shared/components/date-picker/DatePickerComponent.d.ts +2 -2
- package/dist/projects/library-editor/src/shared/components/dropdown/DropdownButtonComponent.d.ts +4 -4
- package/dist/projects/library-editor/src/shared/components/edit-video/edit-additional-info/EditAdditionalInfoComponent.d.ts +1 -1
- package/dist/projects/library-editor/src/shared/components/edit-video/select-rating/SelectRatingItemComponent.d.ts +1 -1
- package/dist/projects/library-editor/src/shared/components/image-cropper/ImageCropperComponent.d.ts +1 -1
- package/dist/projects/library-editor/src/shared/components/select/SelectComponent.d.ts +1 -1
- package/dist/projects/library-editor/src/shared/components/spinner-button/SpinnerButtonComponent.d.ts +1 -1
- package/dist/projects/library-editor/src/shared/components/tabs/TabsComponent.d.ts +1 -1
- package/dist/projects/library-editor/src/shared/components/typeahead-input/SearchTypeaheadComponent.d.ts +4 -4
- package/dist/projects/library-editor/src/shared/components/video-item/utils/VideoItemComponents.d.ts +1 -1
- package/dist/projects/library-editor/src/shared/enums/MasterObjectTypes.d.ts +8 -0
- package/dist/projects/library-editor/src/shared/enums/UploadInteractionType.d.ts +4 -0
- package/dist/projects/library-editor/src/shared/enums/index.d.ts +2 -0
- package/dist/projects/library-editor/src/shared/errors/index.d.ts +1 -0
- package/dist/projects/library-editor/src/shared/errors/too-many-files/TooManyFilesError.d.ts +7 -0
- package/dist/projects/library-editor/src/shared/layouts/manage-layout/ManageLayoutView.d.ts +0 -2
- package/dist/projects/library-editor/src/shared/utils/PermissionsHelper.d.ts +1 -1
- package/dist/projects/library-editor/src/shared/utils/RatingHelper.d.ts +2 -1
- package/dist/projects/library-editor/src/shared/utils/VideoHelper.d.ts +1 -1
- package/dist/projects/library-editor/src/shared/utils/search/RawSearchHelper.d.ts +1 -1
- package/dist/projects/library-editor/src/shared/utils/search/raw-search-components/add-new/AddNewSuggestion.d.ts +1 -1
- package/dist/projects/library-editor/src/shared/views/download-video/DownloadVideoView.d.ts +1 -0
- package/dist/projects/library-editor/src/startup/RegisterAnalytics.d.ts +1 -1
- package/dist/projects/library-editor/src/startup/RegisterApplicationVariables.d.ts +1 -1
- package/dist/projects/library-editor/src/startup/RegisterApplications.d.ts +1 -1
- package/dist/projects/library-editor/src/startup/RegisterCaches.d.ts +1 -1
- package/dist/projects/library-editor/src/startup/RegisterDataProviders.d.ts +1 -1
- package/dist/projects/library-editor/src/startup/RegisterDataServices.d.ts +1 -1
- package/dist/projects/library-editor/src/startup/RegisterErrorHandlers.d.ts +1 -1
- package/dist/projects/library-editor/src/startup/RegisterHandlebarsHelpers.d.ts +1 -1
- package/dist/projects/library-editor/src/startup/RegisterLayouts.d.ts +1 -1
- package/dist/projects/library-editor/src/startup/RegisterServices.d.ts +1 -1
- package/dist/projects/library-editor/src/startup/RegisterViewDataExtensions.d.ts +1 -1
- package/dist/projects/library-editor/typings/libs/LazyLoad.d.ts +1 -1
- package/dist/scripts/{0-65b134af4f.chunk.js → 0-1c2bb7e28a.chunk.js} +1 -1
- package/dist/scripts/0-1dbc79e4e7.chunk.js +1 -0
- package/dist/scripts/0-8b75adf540.chunk.js +1 -0
- package/dist/scripts/0-93276429bf.chunk.js +1 -0
- package/dist/scripts/0.chunk.js +1039 -0
- package/dist/scripts/0.chunk.js.map +1 -0
- package/dist/scripts/1-22a3bd404f.chunk.js +1 -0
- package/dist/scripts/1-480e5932a6.chunk.js +1 -0
- package/dist/scripts/1-6051b28de6.chunk.js +1 -0
- package/dist/scripts/1-b85c11fc30.chunk.js +1 -0
- package/dist/scripts/1.chunk.js +442 -0
- package/dist/scripts/1.chunk.js.map +1 -0
- package/dist/scripts/{10-75e622dc44.chunk.js → 10-31317a2d02.chunk.js} +1 -1
- package/dist/scripts/10-3ff370d548.chunk.js +1 -0
- package/dist/scripts/10-923c4b075a.chunk.js +1 -0
- package/dist/scripts/10-e2fea45a6c.chunk.js +1 -0
- package/dist/scripts/10.chunk.js +820 -0
- package/dist/scripts/10.chunk.js.map +1 -0
- package/dist/scripts/{11-9f5f0c25dc.chunk.js → 11-039959db6c.chunk.js} +1 -1
- package/dist/scripts/11-3dec7d2c7e.chunk.js +11 -0
- package/dist/scripts/11-74bc3f2d9f.chunk.js +11 -0
- package/dist/scripts/11.chunk.js +4091 -0
- package/dist/scripts/11.chunk.js.map +1 -0
- package/dist/scripts/{12-e5d7fe24d9.chunk.js → 12-07999b80e0.chunk.js} +1 -1
- package/dist/scripts/12-24bd360be0.chunk.js +1 -0
- package/dist/scripts/12-6ecdd79b85.chunk.js +1 -0
- package/dist/scripts/12-e522e64a94.chunk.js +1 -0
- package/dist/scripts/12.chunk.js +555 -0
- package/dist/scripts/12.chunk.js.map +1 -0
- package/dist/scripts/13-081c0e5887.chunk.js +1 -0
- package/dist/scripts/13-282f8add17.chunk.js +1 -0
- package/dist/scripts/13-54fe4fe53b.chunk.js +1 -0
- package/dist/scripts/13-958a8fd026.chunk.js +1 -0
- package/dist/scripts/13.chunk.js +380 -0
- package/dist/scripts/13.chunk.js.map +1 -0
- package/dist/scripts/14-16f84b2721.chunk.js +1 -0
- package/dist/scripts/14-45cd4dc6ef.chunk.js +1 -0
- package/dist/scripts/14-5e443cb402.chunk.js +1 -0
- package/dist/scripts/14-68c85d6674.chunk.js +1 -0
- package/dist/scripts/14.chunk.js +2386 -0
- package/dist/scripts/14.chunk.js.map +1 -0
- package/dist/scripts/15-12fa4c3471.chunk.js +1 -0
- package/dist/scripts/15-1f779dd0d3.chunk.js +1 -0
- package/dist/scripts/15-5544e6bde6.chunk.js +1 -0
- package/dist/scripts/15-8c96c3288e.chunk.js +1 -0
- package/dist/scripts/15.chunk.js +314 -0
- package/dist/scripts/15.chunk.js.map +1 -0
- package/dist/scripts/{16-0ebecead61.chunk.js → 16-427a8933c8.chunk.js} +1 -1
- package/dist/scripts/16-670c43d26f.chunk.js +1 -0
- package/dist/scripts/16-742a776f88.chunk.js +1 -0
- package/dist/scripts/16-7bcffb06e7.chunk.js +1 -0
- package/dist/scripts/16.chunk.js +1290 -0
- package/dist/scripts/16.chunk.js.map +1 -0
- package/dist/scripts/{17-9a2f82453a.chunk.js → 17-140fec014b.chunk.js} +1 -1
- package/dist/scripts/17-7093f50dff.chunk.js +1 -0
- package/dist/scripts/17-b5e44e8b17.chunk.js +1 -0
- package/dist/scripts/17-f6b0159da3.chunk.js +1 -0
- package/dist/scripts/17.chunk.js +381 -0
- package/dist/scripts/17.chunk.js.map +1 -0
- package/dist/scripts/18.chunk.js +393 -0
- package/dist/scripts/18.chunk.js.map +1 -0
- package/dist/scripts/19.chunk.js +364 -0
- package/dist/scripts/19.chunk.js.map +1 -0
- package/dist/scripts/{2-cd7f1d10b5.chunk.js → 2-0c5fba8b60.chunk.js} +1 -1
- package/dist/scripts/2-5fd33f5359.chunk.js +1 -0
- package/dist/scripts/2-7cc9176e8a.chunk.js +1 -0
- package/dist/scripts/2.chunk.js +523 -0
- package/dist/scripts/2.chunk.js.map +1 -0
- package/dist/scripts/{20-8cabdf4ccb.chunk.js → 20-4d88ede0e0.chunk.js} +1 -1
- package/dist/scripts/20-732a7a549d.chunk.js +1 -0
- package/dist/scripts/20-a84733c89f.chunk.js +1 -0
- package/dist/scripts/20-df9f6f7661.chunk.js +1 -0
- package/dist/scripts/20.chunk.js +317 -0
- package/dist/scripts/20.chunk.js.map +1 -0
- package/dist/scripts/{21-9dfc314143.chunk.js → 21-0b84d33cef.chunk.js} +1 -1
- package/dist/scripts/21-9b28a13702.chunk.js +1 -0
- package/dist/scripts/21-c9983ca8ad.chunk.js +1 -0
- package/dist/scripts/21-ee85b6d208.chunk.js +1 -0
- package/dist/scripts/21.chunk.js +531 -0
- package/dist/scripts/21.chunk.js.map +1 -0
- package/dist/scripts/{22-ea1736d37f.chunk.js → 22-082c94a39c.chunk.js} +1 -1
- package/dist/scripts/22-151cf38018.chunk.js +1 -0
- package/dist/scripts/22-3b2207c8f6.chunk.js +1 -0
- package/dist/scripts/22-6e6ed9f607.chunk.js +1 -0
- package/dist/scripts/22.chunk.js +354 -0
- package/dist/scripts/22.chunk.js.map +1 -0
- package/dist/scripts/23-1af21bf234.chunk.js +1 -0
- package/dist/scripts/23-2b00ff99bf.chunk.js +1 -0
- package/dist/scripts/23-94f9fe4222.chunk.js +1 -0
- package/dist/scripts/23-ab8f73ee87.chunk.js +1 -0
- package/dist/scripts/23.chunk.js +604 -0
- package/dist/scripts/23.chunk.js.map +1 -0
- package/dist/scripts/{24-d6b7d3f374.chunk.js → 24-74ab289589.chunk.js} +1 -1
- package/dist/scripts/24-7aa9b43511.chunk.js +1 -0
- package/dist/scripts/24-c94049500e.chunk.js +1 -0
- package/dist/scripts/24-d1ffdd4755.chunk.js +1 -0
- package/dist/scripts/24.chunk.js +318 -0
- package/dist/scripts/24.chunk.js.map +1 -0
- package/dist/scripts/25-34c0406f50.chunk.js +1 -0
- package/dist/scripts/25-5a38ce3533.chunk.js +1 -0
- package/dist/scripts/25-76d9011eea.chunk.js +1 -0
- package/dist/scripts/25-866cfc0ef5.chunk.js +1 -0
- package/dist/scripts/25.chunk.js +365 -0
- package/dist/scripts/25.chunk.js.map +1 -0
- package/dist/scripts/{26-b3a2e6bca1.chunk.js → 26-d166e3c313.chunk.js} +1 -1
- package/dist/scripts/26-d19e3f755c.chunk.js +1 -0
- package/dist/scripts/26-e53ba8e00f.chunk.js +1 -0
- package/dist/scripts/26-ea028a6276.chunk.js +1 -0
- package/dist/scripts/26.chunk.js +442 -0
- package/dist/scripts/26.chunk.js.map +1 -0
- package/dist/scripts/27-2109d41afa.chunk.js +1 -0
- package/dist/scripts/27-3aa629dd67.chunk.js +1 -0
- package/dist/scripts/27-c1241fcd84.chunk.js +1 -0
- package/dist/scripts/27-ee88c84482.chunk.js +1 -0
- package/dist/scripts/27.chunk.js +3630 -0
- package/dist/scripts/27.chunk.js.map +1 -0
- package/dist/scripts/28-5c540e74cc.chunk.js +1 -0
- package/dist/scripts/{28-cef433c779.chunk.js → 28-738b88c816.chunk.js} +1 -1
- package/dist/scripts/28-76b9766891.chunk.js +1 -0
- package/dist/scripts/28-e490147f6b.chunk.js +1 -0
- package/dist/scripts/28.chunk.js +3172 -0
- package/dist/scripts/28.chunk.js.map +1 -0
- package/dist/scripts/29-2da59b1589.chunk.js +1 -0
- package/dist/scripts/29-3faa153e38.chunk.js +1 -0
- package/dist/scripts/29-69389908f8.chunk.js +1 -0
- package/dist/scripts/29-bb7e39304b.chunk.js +1 -0
- package/dist/scripts/29.chunk.js +3090 -0
- package/dist/scripts/29.chunk.js.map +1 -0
- package/dist/scripts/{3-02a37512e4.chunk.js → 3-42e8af9f39.chunk.js} +1 -1
- package/dist/scripts/3-6e67dd4b74.chunk.js +1 -0
- package/dist/scripts/3-81b501ac1e.chunk.js +1 -0
- package/dist/scripts/3-c69e4454ce.chunk.js +1 -0
- package/dist/scripts/3.chunk.js +845 -0
- package/dist/scripts/3.chunk.js.map +1 -0
- package/dist/scripts/{30-cc04703754.chunk.js → 30-109f8ddd5c.chunk.js} +1 -1
- package/dist/scripts/30-9d32d88d76.chunk.js +1 -0
- package/dist/scripts/30-a1df3e37da.chunk.js +1 -0
- package/dist/scripts/30-fa390c35f6.chunk.js +1 -0
- package/dist/scripts/30.chunk.js +1851 -0
- package/dist/scripts/30.chunk.js.map +1 -0
- package/dist/scripts/{31-92c7d2494b.chunk.js → 31-639090fee3.chunk.js} +1 -1
- package/dist/scripts/31-ce31250e42.chunk.js +1 -0
- package/dist/scripts/31-f15802825c.chunk.js +1 -0
- package/dist/scripts/31-fc63c4629d.chunk.js +1 -0
- package/dist/scripts/31.chunk.js +958 -0
- package/dist/scripts/31.chunk.js.map +1 -0
- package/dist/scripts/32-1ad8193581.chunk.js +1 -0
- package/dist/scripts/32-3de9c7454b.chunk.js +1 -0
- package/dist/scripts/32-4173874dbe.chunk.js +1 -0
- package/dist/scripts/32-9bca57f408.chunk.js +1 -0
- package/dist/scripts/32.chunk.js +1235 -0
- package/dist/scripts/32.chunk.js.map +1 -0
- package/dist/scripts/33-20ac0ab4a1.chunk.js +1 -0
- package/dist/scripts/33-350334db4c.chunk.js +1 -0
- package/dist/scripts/33-675467f07d.chunk.js +1 -0
- package/dist/scripts/33-7efae85b8b.chunk.js +1 -0
- package/dist/scripts/33.chunk.js +958 -0
- package/dist/scripts/33.chunk.js.map +1 -0
- package/dist/scripts/34-0a7f3b55fe.chunk.js +1 -0
- package/dist/scripts/34-3adf309726.chunk.js +1 -0
- package/dist/scripts/34-c4f0495750.chunk.js +1 -0
- package/dist/scripts/34-f6eea83a09.chunk.js +1 -0
- package/dist/scripts/34.chunk.js +990 -0
- package/dist/scripts/34.chunk.js.map +1 -0
- package/dist/scripts/35-17b30890a5.chunk.js +1 -0
- package/dist/scripts/35-4254e160f0.chunk.js +1 -0
- package/dist/scripts/35-7f90628b77.chunk.js +1 -0
- package/dist/scripts/35-9c3899dfbd.chunk.js +1 -0
- package/dist/scripts/35.chunk.js +518 -0
- package/dist/scripts/35.chunk.js.map +1 -0
- package/dist/scripts/36-1fde696d6a.chunk.js +1 -0
- package/dist/scripts/36-2ec95df618.chunk.js +1 -0
- package/dist/scripts/36-b5ad543fba.chunk.js +1 -0
- package/dist/scripts/36-cdbe95bd06.chunk.js +1 -0
- package/dist/scripts/36.chunk.js +335 -0
- package/dist/scripts/36.chunk.js.map +1 -0
- package/dist/scripts/{37-3b6bf13818.chunk.js → 37-3f3a603b60.chunk.js} +1 -1
- package/dist/scripts/37-6fa4b8fc60.chunk.js +1 -0
- package/dist/scripts/37-97b84a8be5.chunk.js +1 -0
- package/dist/scripts/37-c649a307d4.chunk.js +1 -0
- package/dist/scripts/37.chunk.js +236 -0
- package/dist/scripts/37.chunk.js.map +1 -0
- package/dist/scripts/38-0cf8029bec.chunk.js +1 -0
- package/dist/scripts/38-1c98f19489.chunk.js +1 -0
- package/dist/scripts/38-6fc346f964.chunk.js +1 -0
- package/dist/scripts/38-7ffe535b0d.chunk.js +1 -0
- package/dist/scripts/38.chunk.js +315 -0
- package/dist/scripts/38.chunk.js.map +1 -0
- package/dist/scripts/39-13d6669c3f.chunk.js +1 -0
- package/dist/scripts/39-71c4bb46b2.chunk.js +1 -0
- package/dist/scripts/{39-01d58327ca.chunk.js → 39-748eb61732.chunk.js} +1 -1
- package/dist/scripts/39-e5983a5d53.chunk.js +1 -0
- package/dist/scripts/39.chunk.js +107 -0
- package/dist/scripts/39.chunk.js.map +1 -0
- package/dist/scripts/4-435484d217.chunk.js +1 -0
- package/dist/scripts/4-5c50e71b83.chunk.js +1 -0
- package/dist/scripts/4-7274621693.chunk.js +1 -0
- package/dist/scripts/4-85ba8523ad.chunk.js +1 -0
- package/dist/scripts/4.chunk.js +335 -0
- package/dist/scripts/4.chunk.js.map +1 -0
- package/dist/scripts/{40-60f5d582c8.chunk.js → 40-2691dfbd5a.chunk.js} +1 -1
- package/dist/scripts/40-2ecbd41570.chunk.js +1 -0
- package/dist/scripts/40-a691a401ff.chunk.js +1 -0
- package/dist/scripts/40-f1d72b1049.chunk.js +1 -0
- package/dist/scripts/40.chunk.js +2493 -0
- package/dist/scripts/40.chunk.js.map +1 -0
- package/dist/scripts/41-0368ba16dc.chunk.js +1 -0
- package/dist/scripts/41-1df587ee3a.chunk.js +1 -0
- package/dist/scripts/41-85fcb15184.chunk.js +1 -0
- package/dist/scripts/41-bb9aef24f7.chunk.js +1 -0
- package/dist/scripts/41.chunk.js +1782 -0
- package/dist/scripts/41.chunk.js.map +1 -0
- package/dist/scripts/{42-390bbda5c5.chunk.js → 42-3480033857.chunk.js} +1 -1
- package/dist/scripts/42-389acb6e55.chunk.js +1 -0
- package/dist/scripts/42-3ef41f40f5.chunk.js +1 -0
- package/dist/scripts/42-61a626d7f4.chunk.js +1 -0
- package/dist/scripts/42.chunk.js +2327 -0
- package/dist/scripts/42.chunk.js.map +1 -0
- package/dist/scripts/{43-acc9eadde2.chunk.js → 43-2fe5b1c9cc.chunk.js} +1 -1
- package/dist/scripts/43-49f13dab14.chunk.js +1 -0
- package/dist/scripts/43-72d1bc0ae2.chunk.js +1 -0
- package/dist/scripts/43-a5b882d502.chunk.js +1 -0
- package/dist/scripts/43.chunk.js +1206 -0
- package/dist/scripts/43.chunk.js.map +1 -0
- package/dist/scripts/44-0703eb0ad8.chunk.js +1 -0
- package/dist/scripts/44-756fd6622b.chunk.js +1 -0
- package/dist/scripts/44-de22428999.chunk.js +1 -0
- package/dist/scripts/44-ee6a740a16.chunk.js +1 -0
- package/dist/scripts/44.chunk.js +2245 -0
- package/dist/scripts/44.chunk.js.map +1 -0
- package/dist/scripts/45-610d098194.chunk.js +1 -0
- package/dist/scripts/45-806dd5b78c.chunk.js +1 -0
- package/dist/scripts/45-da34a8b6b2.chunk.js +1 -0
- package/dist/scripts/45-e4a92a40fd.chunk.js +1 -0
- package/dist/scripts/45.chunk.js +1065 -0
- package/dist/scripts/45.chunk.js.map +1 -0
- package/dist/scripts/46-4aa05464fe.chunk.js +1 -0
- package/dist/scripts/46-cadf3f46ee.chunk.js +1 -0
- package/dist/scripts/46-cccef3e874.chunk.js +1 -0
- package/dist/scripts/46-ebf8eee4ac.chunk.js +1 -0
- package/dist/scripts/46.chunk.js +655 -0
- package/dist/scripts/46.chunk.js.map +1 -0
- package/dist/scripts/{47-7c5a3685a5.chunk.js → 47-1e3d829757.chunk.js} +1 -1
- package/dist/scripts/47-22a83e5974.chunk.js +1 -0
- package/dist/scripts/47-56d22af6ba.chunk.js +1 -0
- package/dist/scripts/47-c61fa52c53.chunk.js +1 -0
- package/dist/scripts/47.chunk.js +736 -0
- package/dist/scripts/47.chunk.js.map +1 -0
- package/dist/scripts/{48-469dfae9ba.chunk.js → 48-877e9e02b8.chunk.js} +1 -1
- package/dist/scripts/48-e05ab3ecac.chunk.js +1 -0
- package/dist/scripts/48-e577124476.chunk.js +1 -0
- package/dist/scripts/48-fc96b968fc.chunk.js +1 -0
- package/dist/scripts/48.chunk.js +994 -0
- package/dist/scripts/48.chunk.js.map +1 -0
- package/dist/scripts/{49-06756becaf.chunk.js → 49-0f9a6a1782.chunk.js} +1 -1
- package/dist/scripts/49-13c5f8e87d.chunk.js +1 -0
- package/dist/scripts/49-4a6c119f58.chunk.js +1 -0
- package/dist/scripts/49-f9151c7e06.chunk.js +1 -0
- package/dist/scripts/49.chunk.js +761 -0
- package/dist/scripts/49.chunk.js.map +1 -0
- package/dist/scripts/5-06b97501c3.chunk.js +1 -0
- package/dist/scripts/5-1ba89c4774.chunk.js +1 -0
- package/dist/scripts/5-515b264fbc.chunk.js +1 -0
- package/dist/scripts/5-d6a7d71167.chunk.js +1 -0
- package/dist/scripts/5.chunk.js +15 -0
- package/dist/scripts/5.chunk.js.map +1 -0
- package/dist/scripts/{50-49475581af.chunk.js → 50-0741587a02.chunk.js} +1 -1
- package/dist/scripts/50-0d5aed7730.chunk.js +1 -0
- package/dist/scripts/50-3924907655.chunk.js +1 -0
- package/dist/scripts/50-4de0b758d5.chunk.js +1 -0
- package/dist/scripts/50.chunk.js +530 -0
- package/dist/scripts/50.chunk.js.map +1 -0
- package/dist/scripts/{51-4adcf4ff0a.chunk.js → 51-a5f1309ada.chunk.js} +1 -1
- package/dist/scripts/51-cd37c8efa2.chunk.js +1 -0
- package/dist/scripts/51-dca2a9cc86.chunk.js +1 -0
- package/dist/scripts/51-ea33746146.chunk.js +1 -0
- package/dist/scripts/51.chunk.js +932 -0
- package/dist/scripts/51.chunk.js.map +1 -0
- package/dist/scripts/52-50230b48c8.chunk.js +1 -0
- package/dist/scripts/{52-57782063fd.chunk.js → 52-8b53a5c0b1.chunk.js} +1 -1
- package/dist/scripts/52-a3c8ed29ca.chunk.js +1 -0
- package/dist/scripts/52-bc48f1f9e8.chunk.js +1 -0
- package/dist/scripts/52.chunk.js +408 -0
- package/dist/scripts/52.chunk.js.map +1 -0
- package/dist/scripts/53-0e253f9f3e.chunk.js +1 -0
- package/dist/scripts/53-36007500cf.chunk.js +1 -0
- package/dist/scripts/{53-6f14b50628.chunk.js → 53-54b0df474f.chunk.js} +1 -1
- package/dist/scripts/53-d8f0dea552.chunk.js +1 -0
- package/dist/scripts/53.chunk.js +756 -0
- package/dist/scripts/53.chunk.js.map +1 -0
- package/dist/scripts/{54-78c19a2ad8.chunk.js → 54-7cdbdcebf9.chunk.js} +1 -1
- package/dist/scripts/54-d1bc70c7b5.chunk.js +1 -0
- package/dist/scripts/54-dd4d101665.chunk.js +1 -0
- package/dist/scripts/54-ead54d0b34.chunk.js +1 -0
- package/dist/scripts/54.chunk.js +681 -0
- package/dist/scripts/54.chunk.js.map +1 -0
- package/dist/scripts/{55-dceece7f6e.chunk.js → 55-078bb9b0ea.chunk.js} +1 -1
- package/dist/scripts/55-3c60601030.chunk.js +1 -0
- package/dist/scripts/55-a5fa20b497.chunk.js +1 -0
- package/dist/scripts/55-e29d6a6ba9.chunk.js +1 -0
- package/dist/scripts/55.chunk.js +645 -0
- package/dist/scripts/55.chunk.js.map +1 -0
- package/dist/scripts/{56-791cbec86d.chunk.js → 56-36d54fa08f.chunk.js} +1 -1
- package/dist/scripts/56-370078d597.chunk.js +1 -0
- package/dist/scripts/56-7a6c662f14.chunk.js +1 -0
- package/dist/scripts/56-df0a32000b.chunk.js +1 -0
- package/dist/scripts/56.chunk.js +346 -0
- package/dist/scripts/56.chunk.js.map +1 -0
- package/dist/scripts/{57-b80d1bf344.chunk.js → 57-0e126120b9.chunk.js} +1 -1
- package/dist/scripts/57-6e622c6480.chunk.js +1 -0
- package/dist/scripts/57-a4f4d6fe41.chunk.js +1 -0
- package/dist/scripts/57-c1faec8b32.chunk.js +1 -0
- package/dist/scripts/57.chunk.js +422 -0
- package/dist/scripts/57.chunk.js.map +1 -0
- package/dist/scripts/{58-74a2cc409b.chunk.js → 58-17706ccb46.chunk.js} +1 -1
- package/dist/scripts/58-5729cbaa5c.chunk.js +1 -0
- package/dist/scripts/58-a0fe201826.chunk.js +1 -0
- package/dist/scripts/58-e996405f2b.chunk.js +1 -0
- package/dist/scripts/58.chunk.js +437 -0
- package/dist/scripts/58.chunk.js.map +1 -0
- package/dist/scripts/{59-a05072e424.chunk.js → 59-0a7bdc86b0.chunk.js} +1 -1
- package/dist/scripts/59-333f38ee3b.chunk.js +1 -0
- package/dist/scripts/59-381a49ed7f.chunk.js +1 -0
- package/dist/scripts/59-4f2fcb6412.chunk.js +1 -0
- package/dist/scripts/59.chunk.js +342 -0
- package/dist/scripts/59.chunk.js.map +1 -0
- package/dist/scripts/{6-9a7ab29bcf.chunk.js → 6-1045293de4.chunk.js} +1 -1
- package/dist/scripts/6-40c8ba5007.chunk.js +1 -0
- package/dist/scripts/6-51a379e066.chunk.js +1 -0
- package/dist/scripts/6-b3d36065dc.chunk.js +1 -0
- package/dist/scripts/6.chunk.js +484 -0
- package/dist/scripts/6.chunk.js.map +1 -0
- package/dist/scripts/{60-3ea0df7910.chunk.js → 60-0d8896555f.chunk.js} +1 -1
- package/dist/scripts/60-b17c6609cd.chunk.js +1 -0
- package/dist/scripts/60-b4a91c86fa.chunk.js +1 -0
- package/dist/scripts/60-c57f161f18.chunk.js +1 -0
- package/dist/scripts/60.chunk.js +254 -0
- package/dist/scripts/60.chunk.js.map +1 -0
- package/dist/scripts/{61-49a9fb2c98.chunk.js → 61-57fa6b5248.chunk.js} +1 -1
- package/dist/scripts/61-5d6e59d408.chunk.js +1 -0
- package/dist/scripts/61-7d81d27c31.chunk.js +1 -0
- package/dist/scripts/61-a342a0d501.chunk.js +1 -0
- package/dist/scripts/61.chunk.js +408 -0
- package/dist/scripts/61.chunk.js.map +1 -0
- package/dist/scripts/{62-afa39e4cc9.chunk.js → 62-67458b7fb4.chunk.js} +1 -1
- package/dist/scripts/62-758f5e505b.chunk.js +1 -0
- package/dist/scripts/62-b572d8b80d.chunk.js +1 -0
- package/dist/scripts/62-f5fd35fdc0.chunk.js +1 -0
- package/dist/scripts/62.chunk.js +142 -0
- package/dist/scripts/62.chunk.js.map +1 -0
- package/dist/scripts/{63-348b096dca.chunk.js → 63-420b10f5f2.chunk.js} +1 -1
- package/dist/scripts/63-568008965e.chunk.js +1 -0
- package/dist/scripts/63-6700b4d00a.chunk.js +1 -0
- package/dist/scripts/63-c88b9860e9.chunk.js +1 -0
- package/dist/scripts/63.chunk.js +147 -0
- package/dist/scripts/63.chunk.js.map +1 -0
- package/dist/scripts/{64-6f7edb1451.chunk.js → 64-9c88ee6161.chunk.js} +1 -1
- package/dist/scripts/64-e177d4c971.chunk.js +1 -0
- package/dist/scripts/64-e6598113a7.chunk.js +1 -0
- package/dist/scripts/64-fa2facacbb.chunk.js +1 -0
- package/dist/scripts/64.chunk.js +439 -0
- package/dist/scripts/64.chunk.js.map +1 -0
- package/dist/scripts/{65-1a6aecc0e3.chunk.js → 65-93567fe088.chunk.js} +1 -1
- package/dist/scripts/65-a7e499ceee.chunk.js +1 -0
- package/dist/scripts/65-e4568d1f06.chunk.js +1 -0
- package/dist/scripts/65-f750573f69.chunk.js +1 -0
- package/dist/scripts/65.chunk.js +582 -0
- package/dist/scripts/65.chunk.js.map +1 -0
- package/dist/scripts/{66-fe5934023f.chunk.js → 66-c84a3a3c3f.chunk.js} +1 -1
- package/dist/scripts/66-f00f29ccae.chunk.js +1 -0
- package/dist/scripts/66-f325ff3187.chunk.js +1 -0
- package/dist/scripts/66-f6d213b33c.chunk.js +1 -0
- package/dist/scripts/66.chunk.js +442 -0
- package/dist/scripts/66.chunk.js.map +1 -0
- package/dist/scripts/67-1ebaab7a2d.chunk.js +1 -0
- package/dist/scripts/67-3c9628d296.chunk.js +1 -0
- package/dist/scripts/67-97c694c3d5.chunk.js +1 -0
- package/dist/scripts/67-c5af18680c.chunk.js +1 -0
- package/dist/scripts/67.chunk.js +295 -0
- package/dist/scripts/67.chunk.js.map +1 -0
- package/dist/scripts/{68-54be8dbe28.chunk.js → 68-38a6d7fb50.chunk.js} +1 -1
- package/dist/scripts/68-488cd1552f.chunk.js +1 -0
- package/dist/scripts/68-7b1d5e8e75.chunk.js +1 -0
- package/dist/scripts/68-eb8700aeb1.chunk.js +1 -0
- package/dist/scripts/68.chunk.js +165 -0
- package/dist/scripts/68.chunk.js.map +1 -0
- package/dist/scripts/{69-2dbcfa995c.chunk.js → 69-3d2063cd0f.chunk.js} +1 -1
- package/dist/scripts/69-870856c6fb.chunk.js +1 -0
- package/dist/scripts/69-b0ea71d7c5.chunk.js +1 -0
- package/dist/scripts/69-be2be90b7c.chunk.js +1 -0
- package/dist/scripts/69.chunk.js +248 -0
- package/dist/scripts/69.chunk.js.map +1 -0
- package/dist/scripts/{7-e9fd5a70f5.chunk.js → 7-3151397d74.chunk.js} +1 -1
- package/dist/scripts/7-aac8c84ccb.chunk.js +1 -0
- package/dist/scripts/7-d41d3bf60c.chunk.js +1 -0
- package/dist/scripts/7-dfddb8ffa8.chunk.js +1 -0
- package/dist/scripts/7.chunk.js +309 -0
- package/dist/scripts/7.chunk.js.map +1 -0
- package/dist/scripts/{70-145a5802f1.chunk.js → 70-27e9e5792a.chunk.js} +1 -1
- package/dist/scripts/70-39dc936989.chunk.js +1 -0
- package/dist/scripts/70-6ef72cd9b6.chunk.js +1 -0
- package/dist/scripts/70-e6ebb44667.chunk.js +1 -0
- package/dist/scripts/70.chunk.js +207 -0
- package/dist/scripts/70.chunk.js.map +1 -0
- package/dist/scripts/{71-2ea1363d8f.chunk.js → 71-4e4a47d601.chunk.js} +1 -1
- package/dist/scripts/71-8e3682a7d7.chunk.js +1 -0
- package/dist/scripts/71-a80858069c.chunk.js +1 -0
- package/dist/scripts/71-c5923e2d2d.chunk.js +1 -0
- package/dist/scripts/71.chunk.js +237 -0
- package/dist/scripts/71.chunk.js.map +1 -0
- package/dist/scripts/{72-3d94c9900f.chunk.js → 72-0a6c88f9fe.chunk.js} +1 -1
- package/dist/scripts/72-245f28bf97.chunk.js +1 -0
- package/dist/scripts/72-550438db4e.chunk.js +1 -0
- package/dist/scripts/72-65364adff1.chunk.js +1 -0
- package/dist/scripts/72.chunk.js +331 -0
- package/dist/scripts/72.chunk.js.map +1 -0
- package/dist/scripts/73.chunk.js +404 -0
- package/dist/scripts/73.chunk.js.map +1 -0
- package/dist/scripts/74.chunk.js +301 -0
- package/dist/scripts/74.chunk.js.map +1 -0
- package/dist/scripts/75.chunk.js +231 -0
- package/dist/scripts/75.chunk.js.map +1 -0
- package/dist/scripts/76.chunk.js +157 -0
- package/dist/scripts/76.chunk.js.map +1 -0
- package/dist/scripts/77.chunk.js +307 -0
- package/dist/scripts/77.chunk.js.map +1 -0
- package/dist/scripts/78.chunk.js +249 -0
- package/dist/scripts/78.chunk.js.map +1 -0
- package/dist/scripts/79.chunk.js +282 -0
- package/dist/scripts/79.chunk.js.map +1 -0
- package/dist/scripts/{8-3db468b0ad.chunk.js → 8-7278f3247c.chunk.js} +1 -1
- package/dist/scripts/8-c4955c2009.chunk.js +1 -0
- package/dist/scripts/8-d46f48d03c.chunk.js +1 -0
- package/dist/scripts/8-e5d19252c8.chunk.js +1 -0
- package/dist/scripts/8.chunk.js +307 -0
- package/dist/scripts/8.chunk.js.map +1 -0
- package/dist/scripts/80.chunk.js +308 -0
- package/dist/scripts/80.chunk.js.map +1 -0
- package/dist/scripts/81.chunk.js +366 -0
- package/dist/scripts/81.chunk.js.map +1 -0
- package/dist/scripts/82.chunk.js +314 -0
- package/dist/scripts/82.chunk.js.map +1 -0
- package/dist/scripts/83.chunk.js +328 -0
- package/dist/scripts/83.chunk.js.map +1 -0
- package/dist/scripts/84.chunk.js +313 -0
- package/dist/scripts/84.chunk.js.map +1 -0
- package/dist/scripts/85.chunk.js +291 -0
- package/dist/scripts/85.chunk.js.map +1 -0
- package/dist/scripts/86.chunk.js +119 -0
- package/dist/scripts/86.chunk.js.map +1 -0
- package/dist/scripts/87.chunk.js +219 -0
- package/dist/scripts/87.chunk.js.map +1 -0
- package/dist/scripts/88.chunk.js +194 -0
- package/dist/scripts/88.chunk.js.map +1 -0
- package/dist/scripts/89.chunk.js +522 -0
- package/dist/scripts/89.chunk.js.map +1 -0
- package/dist/scripts/9-4589726554.chunk.js +1 -0
- package/dist/scripts/9-576592d419.chunk.js +1 -0
- package/dist/scripts/9-66021549bd.chunk.js +1 -0
- package/dist/scripts/9-df99ba6ce1.chunk.js +1 -0
- package/dist/scripts/9.chunk.js +222 -0
- package/dist/scripts/9.chunk.js.map +1 -0
- package/dist/scripts/90.chunk.js +337 -0
- package/dist/scripts/90.chunk.js.map +1 -0
- package/dist/scripts/91.chunk.js +131 -0
- package/dist/scripts/91.chunk.js.map +1 -0
- package/dist/scripts/92.chunk.js +266 -0
- package/dist/scripts/92.chunk.js.map +1 -0
- package/dist/scripts/bundle-1b984e2fd9.min.js +8 -0
- package/dist/scripts/bundle-203920eb14.min.js +8 -0
- package/dist/scripts/bundle-7d13ba933b.min.js +8 -0
- package/dist/scripts/bundle-d5b23160b1.min.js +8 -0
- package/dist/scripts/bundle.js +67100 -0
- package/dist/scripts/bundle.js.map +1 -0
- package/dist/scripts/bundles.json +2 -2
- package/dist/scripts/polyfills-5a81b67408.min.js +1 -0
- package/dist/scripts/polyfills-9b0be1bd72.min.js +1 -0
- package/dist/scripts/polyfills-cd3d0a9f6d.min.js +1 -0
- package/dist/scripts/polyfills-d891a77823.min.js +1 -0
- package/dist/scripts/polyfills.js +14866 -0
- package/dist/scripts/polyfills.js.map +1 -0
- package/package.json +99 -100
- package/typings/libs/CVEvents.d.ts +1 -1
- package/typings/libs/LazyLoad.ts +1 -2
- package/typings/libs/Trackers.d.ts +1 -1
- package/.eslintrc.json +0 -3
- package/dist/scripts/1-42cd7dafc9.chunk.js +0 -1
- package/dist/scripts/13-2247b585ba.chunk.js +0 -1
- package/dist/scripts/14-76f0d1344e.chunk.js +0 -1
- package/dist/scripts/15-044f3ce266.chunk.js +0 -1
- package/dist/scripts/23-c5137083a9.chunk.js +0 -1
- package/dist/scripts/25-4f3f34d140.chunk.js +0 -1
- package/dist/scripts/27-0dd00d8e76.chunk.js +0 -1
- package/dist/scripts/29-cf9581eef8.chunk.js +0 -1
- package/dist/scripts/32-b8ea5b8dea.chunk.js +0 -1
- package/dist/scripts/33-6da26969d0.chunk.js +0 -1
- package/dist/scripts/34-5469e12196.chunk.js +0 -1
- package/dist/scripts/35-9aae492c3e.chunk.js +0 -1
- package/dist/scripts/36-8849ade3c7.chunk.js +0 -1
- package/dist/scripts/38-f8f1eeba1f.chunk.js +0 -1
- package/dist/scripts/4-eaa7ec4468.chunk.js +0 -1
- package/dist/scripts/41-9d3182f53c.chunk.js +0 -1
- package/dist/scripts/44-8f053335a7.chunk.js +0 -1
- package/dist/scripts/45-a4f9646555.chunk.js +0 -1
- package/dist/scripts/46-6b9fc8453b.chunk.js +0 -1
- package/dist/scripts/5-674db7af1b.chunk.js +0 -1
- package/dist/scripts/67-69b25bd800.chunk.js +0 -1
- package/dist/scripts/9-c8b248951d.chunk.js +0 -1
- package/dist/scripts/bundle-c736d7845b.min.js +0 -8
- package/dist/scripts/polyfills-d24f8f2432.min.js +0 -1
- package/dist/sw.js +0 -3
|
@@ -0,0 +1,365 @@
|
|
|
1
|
+
(window["webpackJsonp_clickview_library_editor"] = window["webpackJsonp_clickview_library_editor"] || []).push([[25],{
|
|
2
|
+
|
|
3
|
+
/***/ "./src/shared/components/typeahead-input/SearchTypeaheadComponent.ts":
|
|
4
|
+
/*!***************************************************************************!*\
|
|
5
|
+
!*** ./src/shared/components/typeahead-input/SearchTypeaheadComponent.ts ***!
|
|
6
|
+
\***************************************************************************/
|
|
7
|
+
/*! exports provided: SearchTypeaheadComponent */
|
|
8
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
9
|
+
|
|
10
|
+
"use strict";
|
|
11
|
+
__webpack_require__.r(__webpack_exports__);
|
|
12
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SearchTypeaheadComponent", function() { return SearchTypeaheadComponent; });
|
|
13
|
+
/* harmony import */ var underscore__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! underscore */ "underscore");
|
|
14
|
+
/* harmony import */ var underscore__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(underscore__WEBPACK_IMPORTED_MODULE_0__);
|
|
15
|
+
/* harmony import */ var backbone__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! backbone */ "backbone");
|
|
16
|
+
/* harmony import */ var backbone__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(backbone__WEBPACK_IMPORTED_MODULE_1__);
|
|
17
|
+
/* harmony import */ var _libs_common_src_backbone__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../../../../libs/common/src/backbone */ "../../libs/common/src/backbone/index.ts");
|
|
18
|
+
/* harmony import */ var _libs_common_src_backbone_errors_DevError__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../../../../libs/common/src/backbone/errors/DevError */ "../../libs/common/src/backbone/errors/DevError.ts");
|
|
19
|
+
/* harmony import */ var _libs_shared_src_utils_SvgHelper__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../../../../libs/shared/src/utils/SvgHelper */ "../../libs/shared/src/utils/SvgHelper.ts");
|
|
20
|
+
/* harmony import */ var _libs_shared_src_apps_search_utils_TypeaheadHelper__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../../../../libs/shared/src/apps/search/utils/TypeaheadHelper */ "../../libs/shared/src/apps/search/utils/TypeaheadHelper.ts");
|
|
21
|
+
/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../utils */ "./src/shared/utils/index.ts");
|
|
22
|
+
/* harmony import */ var _Typeahead_hbs__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./Typeahead.hbs */ "./src/shared/components/typeahead-input/Typeahead.hbs");
|
|
23
|
+
/* harmony import */ var _Typeahead_hbs__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(_Typeahead_hbs__WEBPACK_IMPORTED_MODULE_7__);
|
|
24
|
+
/* harmony import */ var _typeahead_scss__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./typeahead.scss */ "./src/shared/components/typeahead-input/typeahead.scss");
|
|
25
|
+
/* harmony import */ var _typeahead_scss__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(_typeahead_scss__WEBPACK_IMPORTED_MODULE_8__);
|
|
26
|
+
function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
|
|
27
|
+
|
|
28
|
+
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
29
|
+
|
|
30
|
+
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
31
|
+
|
|
32
|
+
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
|
|
33
|
+
|
|
34
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
|
35
|
+
|
|
36
|
+
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
37
|
+
|
|
38
|
+
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
39
|
+
|
|
40
|
+
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
41
|
+
|
|
42
|
+
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
|
|
43
|
+
|
|
44
|
+
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
45
|
+
|
|
46
|
+
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }
|
|
47
|
+
|
|
48
|
+
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
var SearchTypeaheadComponent = /*#__PURE__*/function (_Core$Component) {
|
|
60
|
+
_inherits(SearchTypeaheadComponent, _Core$Component);
|
|
61
|
+
|
|
62
|
+
var _super = _createSuper(SearchTypeaheadComponent);
|
|
63
|
+
|
|
64
|
+
function SearchTypeaheadComponent(options) {
|
|
65
|
+
_classCallCheck(this, SearchTypeaheadComponent);
|
|
66
|
+
|
|
67
|
+
return _super.call(this, options);
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
_createClass(SearchTypeaheadComponent, [{
|
|
71
|
+
key: "events",
|
|
72
|
+
value: function events() {
|
|
73
|
+
return {
|
|
74
|
+
'submit': 'onSubmit',
|
|
75
|
+
'click .remove': 'onClickRemove'
|
|
76
|
+
};
|
|
77
|
+
}
|
|
78
|
+
}, {
|
|
79
|
+
key: "initialize",
|
|
80
|
+
value: function initialize() {
|
|
81
|
+
if (!this.model && !this.options.parentChannelName) _libs_common_src_backbone__WEBPACK_IMPORTED_MODULE_2__["Core"].ErrorHelper.throw(new _libs_common_src_backbone_errors_DevError__WEBPACK_IMPORTED_MODULE_3__["DevError"]('Either pass a model or a channelName to access the typeahead selection'));
|
|
82
|
+
if (!this.model) this.model = new _libs_common_src_backbone__WEBPACK_IMPORTED_MODULE_2__["Core"].Model();
|
|
83
|
+
/**
|
|
84
|
+
* By default, set the input name to user the same name as our el id.
|
|
85
|
+
* As soon as we need to add validation, this will need to be swapped out for the stickItProperty.
|
|
86
|
+
* Or alternatively, we update the Validation cbs to not match on the model attribute name - Mike
|
|
87
|
+
*/
|
|
88
|
+
|
|
89
|
+
if (!this.options.inputName) this.options.inputName = this.options.inputId;
|
|
90
|
+
this.bindListeners();
|
|
91
|
+
}
|
|
92
|
+
}, {
|
|
93
|
+
key: "bindListeners",
|
|
94
|
+
value: function bindListeners() {
|
|
95
|
+
if (this.options.parentChannelName) this.parentChannel = backbone__WEBPACK_IMPORTED_MODULE_1__["Radio"].channel(this.options.parentChannelName);
|
|
96
|
+
this.listenTo(this.channelName, 'typeahead:set:input', this.setInput);
|
|
97
|
+
this.listenTo(this.channelName, 'typeahead:clear:input', this.clearInput);
|
|
98
|
+
}
|
|
99
|
+
}, {
|
|
100
|
+
key: "clearInput",
|
|
101
|
+
value: function clearInput() {
|
|
102
|
+
this.getUI("input").typeahead('val', null);
|
|
103
|
+
}
|
|
104
|
+
}, {
|
|
105
|
+
key: "setInput",
|
|
106
|
+
value: function setInput(newVal) {
|
|
107
|
+
this.getUI("input").typeahead('val', newVal);
|
|
108
|
+
}
|
|
109
|
+
/**
|
|
110
|
+
* TODO: Add submit on enter support
|
|
111
|
+
*/
|
|
112
|
+
|
|
113
|
+
}, {
|
|
114
|
+
key: "onTypeaheadSelect",
|
|
115
|
+
value: function onTypeaheadSelect(event, suggestion) {
|
|
116
|
+
event.preventDefault();
|
|
117
|
+
var queryString;
|
|
118
|
+
if (typeof suggestion === 'string') queryString = suggestion;else queryString = suggestion.title || suggestion.name || suggestion.query;
|
|
119
|
+
this.model.set(this.options.stickItProperty, queryString); // Pass the entire suggestion object back up to the parent
|
|
120
|
+
|
|
121
|
+
if (this.parentChannel && this.options.selectEvent) this.parentChannel.trigger(this.options.selectEvent, suggestion);
|
|
122
|
+
this.onSubmit(event);
|
|
123
|
+
this.toggleRemove();
|
|
124
|
+
}
|
|
125
|
+
}, {
|
|
126
|
+
key: "onSubmit",
|
|
127
|
+
value: function onSubmit(event) {
|
|
128
|
+
var _this = this;
|
|
129
|
+
|
|
130
|
+
event.preventDefault();
|
|
131
|
+
if (this.isDestroyed()) return;
|
|
132
|
+
|
|
133
|
+
var _this$getTypeaheadAct = this.getTypeaheadActionOptions(),
|
|
134
|
+
clearOnSelect = _this$getTypeaheadAct.clearOnSelect;
|
|
135
|
+
|
|
136
|
+
if (!clearOnSelect) return;
|
|
137
|
+
this.getUI("input").typeahead('close');
|
|
138
|
+
/**
|
|
139
|
+
* Clear the current query after closing the typeahead.
|
|
140
|
+
* We need to clear out all the existing suggestions too, so wait until the
|
|
141
|
+
* next tick to ensure that the close event had properly finished.
|
|
142
|
+
*/
|
|
143
|
+
|
|
144
|
+
setTimeout(function () {
|
|
145
|
+
_this.model.clear();
|
|
146
|
+
|
|
147
|
+
_this.clearInput();
|
|
148
|
+
}, 0);
|
|
149
|
+
return false;
|
|
150
|
+
}
|
|
151
|
+
}, {
|
|
152
|
+
key: "onClickRemove",
|
|
153
|
+
value: function onClickRemove() {
|
|
154
|
+
this.model.clear();
|
|
155
|
+
this.parentChannel.trigger(this.options.removeEvent, this.model);
|
|
156
|
+
this.toggleRemove();
|
|
157
|
+
}
|
|
158
|
+
}, {
|
|
159
|
+
key: "getSources",
|
|
160
|
+
value: function getSources() {
|
|
161
|
+
if (!underscore__WEBPACK_IMPORTED_MODULE_0__["isArray"](this.options.typeaheadConfigs)) return _libs_shared_src_apps_search_utils_TypeaheadHelper__WEBPACK_IMPORTED_MODULE_5__["TypeaheadHelper"].getSearchSources([this.options.typeaheadConfigs]);
|
|
162
|
+
var sources = _libs_shared_src_apps_search_utils_TypeaheadHelper__WEBPACK_IMPORTED_MODULE_5__["TypeaheadHelper"].getSearchSources(this.options.typeaheadConfigs);
|
|
163
|
+
return sources;
|
|
164
|
+
}
|
|
165
|
+
}, {
|
|
166
|
+
key: "getTypeaheadOptions",
|
|
167
|
+
value: function getTypeaheadOptions() {
|
|
168
|
+
var defaults = {
|
|
169
|
+
minLength: 1,
|
|
170
|
+
highlight: true
|
|
171
|
+
};
|
|
172
|
+
if (!this.options.typeaheadOptions) return defaults;
|
|
173
|
+
return underscore__WEBPACK_IMPORTED_MODULE_0__["extend"]({}, defaults, this.options.typeaheadOptions);
|
|
174
|
+
}
|
|
175
|
+
}, {
|
|
176
|
+
key: "getTypeaheadActionOptions",
|
|
177
|
+
value: function getTypeaheadActionOptions() {
|
|
178
|
+
var baseOptions = {
|
|
179
|
+
clearOnSelect: false
|
|
180
|
+
};
|
|
181
|
+
if (!underscore__WEBPACK_IMPORTED_MODULE_0__["isObject"](this.options.actionOptions)) return baseOptions;
|
|
182
|
+
return underscore__WEBPACK_IMPORTED_MODULE_0__["extend"]({}, baseOptions, this.options.actionOptions);
|
|
183
|
+
}
|
|
184
|
+
}, {
|
|
185
|
+
key: "bindOptionalCallbacks",
|
|
186
|
+
value: function bindOptionalCallbacks() {
|
|
187
|
+
if (!underscore__WEBPACK_IMPORTED_MODULE_0__["isObject"](this.options.callbacks)) return;
|
|
188
|
+
if (underscore__WEBPACK_IMPORTED_MODULE_0__["isFunction"](this.options.callbacks.onRender)) this.getUI("input").on('typeahead:render', underscore__WEBPACK_IMPORTED_MODULE_0__["bind"](this.options.callbacks.onRender, this));
|
|
189
|
+
if (underscore__WEBPACK_IMPORTED_MODULE_0__["isFunction"](this.options.callbacks.onInput)) this.listenTo(this.model, "change:".concat(this.options.stickItProperty), this.options.callbacks.onInput);
|
|
190
|
+
if (underscore__WEBPACK_IMPORTED_MODULE_0__["isFunction"](this.options.callbacks.onBlur)) this.getUI("input").on('blur', underscore__WEBPACK_IMPORTED_MODULE_0__["bind"](this.options.callbacks.onBlur, this, this.channelName, this.options.stickItProperty));
|
|
191
|
+
}
|
|
192
|
+
}, {
|
|
193
|
+
key: "initTypeahead",
|
|
194
|
+
value: function initTypeahead() {
|
|
195
|
+
this.getUI("input").typeahead(this.getTypeaheadOptions(), this.getSources());
|
|
196
|
+
}
|
|
197
|
+
}, {
|
|
198
|
+
key: "initTypeaheadListeners",
|
|
199
|
+
value: function initTypeaheadListeners() {
|
|
200
|
+
this.getUI("input").on('typeahead:select', underscore__WEBPACK_IMPORTED_MODULE_0__["bind"](this.onTypeaheadSelect, this));
|
|
201
|
+
this.bindOptionalCallbacks();
|
|
202
|
+
}
|
|
203
|
+
}, {
|
|
204
|
+
key: "toggleRemove",
|
|
205
|
+
value: function toggleRemove() {
|
|
206
|
+
if (this.shouldShowRemove()) this.$el.find('.remove').show();else this.$el.find('.remove').hide();
|
|
207
|
+
}
|
|
208
|
+
/**
|
|
209
|
+
* Show the remove button if:
|
|
210
|
+
*
|
|
211
|
+
* Content is editable
|
|
212
|
+
* We have a value
|
|
213
|
+
* We have a remove event to trigger
|
|
214
|
+
*
|
|
215
|
+
* OR
|
|
216
|
+
*
|
|
217
|
+
* We're being force to show the remove button (Used by PPDD)
|
|
218
|
+
*/
|
|
219
|
+
|
|
220
|
+
}, {
|
|
221
|
+
key: "shouldShowRemove",
|
|
222
|
+
value: function shouldShowRemove() {
|
|
223
|
+
if (!this.options.editable) return false;
|
|
224
|
+
if (this.options.forceShowRemoveButton) return true;
|
|
225
|
+
return this.options.removeEvent && !!this.model.get(this.options.stickItProperty);
|
|
226
|
+
}
|
|
227
|
+
}, {
|
|
228
|
+
key: "viewOptions",
|
|
229
|
+
value: function viewOptions() {
|
|
230
|
+
return Object.assign(Object.assign({
|
|
231
|
+
styles: _typeahead_scss__WEBPACK_IMPORTED_MODULE_8___default.a
|
|
232
|
+
}, this.options), {
|
|
233
|
+
showRemove: this.shouldShowRemove(),
|
|
234
|
+
svgRemove: _libs_shared_src_utils_SvgHelper__WEBPACK_IMPORTED_MODULE_4__["SvgHelper"].getSvg(_libs_shared_src_utils_SvgHelper__WEBPACK_IMPORTED_MODULE_4__["cvSvgLibrary"].Close)
|
|
235
|
+
});
|
|
236
|
+
}
|
|
237
|
+
}, {
|
|
238
|
+
key: "onRender",
|
|
239
|
+
value: function onRender() {
|
|
240
|
+
this.stickit();
|
|
241
|
+
this.initTypeahead();
|
|
242
|
+
this.initTypeaheadListeners();
|
|
243
|
+
backbone__WEBPACK_IMPORTED_MODULE_1__["Validation"].bind(this);
|
|
244
|
+
this.toggleRemove();
|
|
245
|
+
}
|
|
246
|
+
}, {
|
|
247
|
+
key: "onClose",
|
|
248
|
+
value: function onClose() {
|
|
249
|
+
this.getUI('input').off();
|
|
250
|
+
this.unstickit();
|
|
251
|
+
backbone__WEBPACK_IMPORTED_MODULE_1__["Validation"].unbind(this);
|
|
252
|
+
}
|
|
253
|
+
}, {
|
|
254
|
+
key: "name",
|
|
255
|
+
get: function get() {
|
|
256
|
+
return 'SearchTypeaheadComponent';
|
|
257
|
+
}
|
|
258
|
+
}, {
|
|
259
|
+
key: "template",
|
|
260
|
+
get: function get() {
|
|
261
|
+
return _Typeahead_hbs__WEBPACK_IMPORTED_MODULE_7___default.a;
|
|
262
|
+
}
|
|
263
|
+
}, {
|
|
264
|
+
key: "className",
|
|
265
|
+
get: function get() {
|
|
266
|
+
return "search-container ".concat(_typeahead_scss__WEBPACK_IMPORTED_MODULE_8___default.a.typeaheadContainer, " mb-2");
|
|
267
|
+
}
|
|
268
|
+
}, {
|
|
269
|
+
key: "channelName",
|
|
270
|
+
get: function get() {
|
|
271
|
+
return _utils__WEBPACK_IMPORTED_MODULE_6__["RadioChannelHelper"].generateUniqueChannelName(this);
|
|
272
|
+
}
|
|
273
|
+
}, {
|
|
274
|
+
key: "elements",
|
|
275
|
+
get: function get() {
|
|
276
|
+
return {
|
|
277
|
+
input: "#".concat(this.options.inputId)
|
|
278
|
+
};
|
|
279
|
+
}
|
|
280
|
+
}, {
|
|
281
|
+
key: "defaults",
|
|
282
|
+
get: function get() {
|
|
283
|
+
return {
|
|
284
|
+
inputId: 'search-typeahead',
|
|
285
|
+
placeholderText: 'Search',
|
|
286
|
+
stickItProperty: 'name',
|
|
287
|
+
selectEvent: 'select:result',
|
|
288
|
+
additionalClasses: '',
|
|
289
|
+
editable: true
|
|
290
|
+
};
|
|
291
|
+
}
|
|
292
|
+
}, {
|
|
293
|
+
key: "bindings",
|
|
294
|
+
get: function get() {
|
|
295
|
+
var inputName = "[name=".concat(this.options.inputName, "]");
|
|
296
|
+
return _defineProperty({}, inputName, {
|
|
297
|
+
observe: this.options.stickItProperty,
|
|
298
|
+
setOptions: {
|
|
299
|
+
validate: true
|
|
300
|
+
}
|
|
301
|
+
});
|
|
302
|
+
}
|
|
303
|
+
}]);
|
|
304
|
+
|
|
305
|
+
return SearchTypeaheadComponent;
|
|
306
|
+
}(_libs_common_src_backbone__WEBPACK_IMPORTED_MODULE_2__["Core"].Component);
|
|
307
|
+
|
|
308
|
+
/***/ }),
|
|
309
|
+
|
|
310
|
+
/***/ "./src/shared/components/typeahead-input/Typeahead.hbs":
|
|
311
|
+
/*!*************************************************************!*\
|
|
312
|
+
!*** ./src/shared/components/typeahead-input/Typeahead.hbs ***!
|
|
313
|
+
\*************************************************************/
|
|
314
|
+
/*! no static exports found */
|
|
315
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
316
|
+
|
|
317
|
+
var Handlebars = __webpack_require__(/*! handlebars */ "handlebars");
|
|
318
|
+
module.exports = (Handlebars['default'] || Handlebars).template({"1":function(container,depth0,helpers,partials,data) {
|
|
319
|
+
var stack1, alias1=container.propertyIsEnumerable;
|
|
320
|
+
|
|
321
|
+
return container.escapeExpression(container.lambda(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.disabled : stack1), depth0));
|
|
322
|
+
},"3":function(container,depth0,helpers,partials,data) {
|
|
323
|
+
return "autofocus";
|
|
324
|
+
},"5":function(container,depth0,helpers,partials,data) {
|
|
325
|
+
return "disabled";
|
|
326
|
+
},"compiler":[8,">= 4.3.0"],"main":function(container,depth0,helpers,partials,data) {
|
|
327
|
+
var stack1, alias1=container.propertyIsEnumerable, alias2=container.lambda, alias3=container.escapeExpression, alias4=depth0 != null ? depth0 : (container.nullContext || {});
|
|
328
|
+
|
|
329
|
+
return "<input\r\n name=\""
|
|
330
|
+
+ alias3(alias2(((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.inputName : stack1), depth0))
|
|
331
|
+
+ "\"\r\n type=\"text\"\r\n class=\"form-control "
|
|
332
|
+
+ ((stack1 = helpers.unless.call(alias4,((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.editable : stack1),{"name":"unless","hash":{},"fn":container.program(1, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
|
|
333
|
+
+ " "
|
|
334
|
+
+ alias3(alias2(((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.additionalClasses : stack1), depth0))
|
|
335
|
+
+ "\"\r\n id=\""
|
|
336
|
+
+ alias3(alias2(((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.inputId : stack1), depth0))
|
|
337
|
+
+ "\"\r\n autocomplete=\"off\"\r\n placeholder=\""
|
|
338
|
+
+ alias3(alias2(((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.placeholderText : stack1), depth0))
|
|
339
|
+
+ "\"\r\n "
|
|
340
|
+
+ ((stack1 = helpers["if"].call(alias4,((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.autofocus : stack1),{"name":"if","hash":{},"fn":container.program(3, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
|
|
341
|
+
+ "\r\n "
|
|
342
|
+
+ ((stack1 = helpers.unless.call(alias4,((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.editable : stack1),{"name":"unless","hash":{},"fn":container.program(5, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
|
|
343
|
+
+ "\r\n></input>\r\n<span class=\"svg-container mb-2 "
|
|
344
|
+
+ alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.svg : stack1), depth0))
|
|
345
|
+
+ " remove\" style=\"display: none;\">"
|
|
346
|
+
+ ((stack1 = alias2(((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.svgRemove : stack1), depth0)) != null ? stack1 : "")
|
|
347
|
+
+ "</span>";
|
|
348
|
+
},"useData":true});
|
|
349
|
+
|
|
350
|
+
/***/ }),
|
|
351
|
+
|
|
352
|
+
/***/ "./src/shared/components/typeahead-input/typeahead.scss":
|
|
353
|
+
/*!**************************************************************!*\
|
|
354
|
+
!*** ./src/shared/components/typeahead-input/typeahead.scss ***!
|
|
355
|
+
\**************************************************************/
|
|
356
|
+
/*! no static exports found */
|
|
357
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
358
|
+
|
|
359
|
+
// extracted by mini-css-extract-plugin
|
|
360
|
+
module.exports = {"svg":"cv--svg--1iL3O","typeaheadContainer":"cv--typeaheadContainer--1SWXc","disabled":"cv--disabled--3C2O8"};
|
|
361
|
+
|
|
362
|
+
/***/ })
|
|
363
|
+
|
|
364
|
+
}]);
|
|
365
|
+
//# sourceMappingURL=25.chunk.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["file://C:/ClickView Projects/@clickview/packages/projects/library-editor/src/shared/components/typeahead-input/SearchTypeaheadComponent.ts","file://C:/ClickView Projects/@clickview/packages/projects/library-editor/src/shared/components/typeahead-input/Typeahead.hbs","webpack://@clickview/library-editor/./src/shared/components/typeahead-input/typeahead.scss?b75a"],"names":[],"mappings":"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","file":"scripts/25.chunk.js","sourcesContent":["import * as _ from 'underscore';\r\nimport { Radio, Validation, ObjectHash } from 'backbone';\r\n\r\nimport { Core } from 'libs/common/core';\r\nimport { DevError } from 'libs/common/backbone/errors/DevError';\r\nimport { SvgHelper, cvSvgLibrary } from 'libs/shared/utils/SvgHelper';\r\nimport { TypeaheadConfigHandler, TypeaheadSourceItem } from 'libs/shared/apps/search/interfaces';\r\nimport { TypeaheadHelper } from 'libs/shared/apps/search/utils/TypeaheadHelper';\r\n\r\nimport { RadioChannelHelper } from 'shared/utils';\r\n\r\nimport TypeaheadTemplate from './Typeahead.hbs';\r\nimport styles from './typeahead.scss';\r\n\r\ninterface TypeaheadCallbacks {\r\n onRender?: (...args: any) => any;\r\n onInput?: (...args: any) => any;\r\n onBlur?: (...args: any) => any;\r\n}\r\n\r\ninterface TypeaheadActionOptions {\r\n clearOnSelect?: boolean;\r\n}\r\n\r\ninterface SearchTypeaheadComponentOptions<TSearchType> extends Core.ComponentOptions {\r\n parentChannelName: string;\r\n inputId: string;\r\n selectEvent: string;\r\n typeaheadConfigs: TypeaheadSourceItem<TSearchType> | TypeaheadSourceItem<TSearchType>[];\r\n stickItProperty?: string;\r\n inputName?: string;\r\n placeholderText?: string;\r\n callbacks?: TypeaheadCallbacks;\r\n typeaheadOptions?: ObjectHash;\r\n actionOptions?: TypeaheadActionOptions;\r\n editable?: boolean;\r\n additionalClasses?: string;\r\n removeEvent?: string;\r\n forceShowRemoveButton?: boolean;\r\n}\r\n\r\nexport class SearchTypeaheadComponent<TSearchType> extends Core.Component {\r\n public options: SearchTypeaheadComponentOptions<TSearchType>;\r\n private parentChannel: Radio.Channel;\r\n\r\n constructor(options?: SearchTypeaheadComponentOptions<TSearchType>) {\r\n super(options);\r\n }\r\n\r\n public get name(): string {\r\n return 'SearchTypeaheadComponent';\r\n }\r\n\r\n public get template(): any {\r\n return TypeaheadTemplate;\r\n }\r\n\r\n public get className(): string {\r\n return `search-container ${styles.typeaheadContainer} mb-2`;\r\n }\r\n\r\n public get channelName(): string {\r\n return RadioChannelHelper.generateUniqueChannelName(this);\r\n }\r\n\r\n public get elements(): ObjectHash {\r\n return {\r\n input: `#${this.options.inputId}`\r\n };\r\n }\r\n\r\n public get defaults(): ObjectHash {\r\n return {\r\n inputId: 'search-typeahead',\r\n placeholderText: 'Search',\r\n stickItProperty: 'name',\r\n selectEvent: 'select:result',\r\n additionalClasses: '',\r\n editable: true\r\n };\r\n }\r\n\r\n public events(): ObjectHash {\r\n return {\r\n 'submit': 'onSubmit',\r\n 'click .remove': 'onClickRemove'\r\n };\r\n }\r\n\r\n public initialize(): void {\r\n if (!this.model && !this.options.parentChannelName)\r\n Core.ErrorHelper.throw(new DevError('Either pass a model or a channelName to access the typeahead selection'));\r\n\r\n if (!this.model)\r\n this.model = new Core.Model();\r\n\r\n /**\r\n * By default, set the input name to user the same name as our el id.\r\n * As soon as we need to add validation, this will need to be swapped out for the stickItProperty.\r\n * Or alternatively, we update the Validation cbs to not match on the model attribute name - Mike\r\n */\r\n if (!this.options.inputName)\r\n this.options.inputName = this.options.inputId;\r\n\r\n this.bindListeners();\r\n }\r\n\r\n protected bindListeners(): void {\r\n if (this.options.parentChannelName)\r\n this.parentChannel = Radio.channel(this.options.parentChannelName);\r\n\r\n this.listenTo(this.channelName, 'typeahead:set:input', this.setInput);\r\n this.listenTo(this.channelName, 'typeahead:clear:input', this.clearInput);\r\n }\r\n\r\n public get bindings(): ObjectHash {\r\n const inputName = `[name=${this.options.inputName}]`;\r\n return {\r\n [inputName]: {\r\n observe: this.options.stickItProperty,\r\n setOptions : { validate: true },\r\n }\r\n };\r\n }\r\n\r\n public clearInput(): void {\r\n this.getUI(`input`).typeahead('val', null);\r\n }\r\n\r\n public setInput(newVal: string): void {\r\n this.getUI(`input`).typeahead('val', newVal);\r\n }\r\n /**\r\n * TODO: Add submit on enter support\r\n */\r\n protected onTypeaheadSelect(event: any, suggestion: string | ObjectHash): void {\r\n event.preventDefault();\r\n\r\n let queryString;\r\n if (typeof suggestion === 'string')\r\n queryString = suggestion;\r\n else\r\n queryString = suggestion.title || suggestion.name || suggestion.query;\r\n\r\n this.model.set(this.options.stickItProperty, queryString);\r\n\r\n // Pass the entire suggestion object back up to the parent\r\n if (this.parentChannel && this.options.selectEvent)\r\n this.parentChannel.trigger(this.options.selectEvent, suggestion);\r\n\r\n this.onSubmit(event);\r\n this.toggleRemove();\r\n }\r\n\r\n private onSubmit(event: JQuery.Event): boolean {\r\n event.preventDefault();\r\n\r\n if (this.isDestroyed())\r\n return;\r\n\r\n const { clearOnSelect } = this.getTypeaheadActionOptions();\r\n\r\n if (!clearOnSelect)\r\n return;\r\n\r\n this.getUI(`input`).typeahead('close');\r\n\r\n /**\r\n * Clear the current query after closing the typeahead.\r\n * We need to clear out all the existing suggestions too, so wait until the\r\n * next tick to ensure that the close event had properly finished.\r\n */\r\n setTimeout(() => {\r\n this.model.clear();\r\n this.clearInput();\r\n }, 0);\r\n\r\n return false;\r\n }\r\n\r\n private onClickRemove(): void {\r\n this.model.clear();\r\n this.parentChannel.trigger(this.options.removeEvent, this.model);\r\n this.toggleRemove();\r\n }\r\n\r\n protected getSources(): TypeaheadConfigHandler<TSearchType>[] | Twitter.Typeahead.Dataset<TSearchType>[] {\r\n if (!_.isArray(this.options.typeaheadConfigs))\r\n return TypeaheadHelper.getSearchSources<TSearchType>([this.options.typeaheadConfigs]);\r\n\r\n const sources = TypeaheadHelper.getSearchSources<TSearchType>(this.options.typeaheadConfigs);\r\n\r\n return sources;\r\n }\r\n\r\n private getTypeaheadOptions(): ObjectHash {\r\n const defaults = { minLength: 1, highlight: true };\r\n\r\n if (!this.options.typeaheadOptions)\r\n return defaults;\r\n\r\n return _.extend({}, defaults, this.options.typeaheadOptions);\r\n }\r\n\r\n private getTypeaheadActionOptions(): TypeaheadActionOptions {\r\n const baseOptions: TypeaheadActionOptions = { clearOnSelect: false };\r\n\r\n if (!_.isObject(this.options.actionOptions))\r\n return baseOptions;\r\n\r\n return _.extend({}, baseOptions, this.options.actionOptions);\r\n }\r\n\r\n private bindOptionalCallbacks(): TypeaheadActionOptions {\r\n if (!_.isObject(this.options.callbacks))\r\n return;\r\n\r\n if (_.isFunction(this.options.callbacks.onRender))\r\n this.getUI(`input`).on('typeahead:render', _.bind(this.options.callbacks.onRender, this));\r\n\r\n if (_.isFunction(this.options.callbacks.onInput))\r\n this.listenTo(this.model, `change:${this.options.stickItProperty}`, this.options.callbacks.onInput);\r\n\r\n if (_.isFunction(this.options.callbacks.onBlur))\r\n this.getUI(`input`).on('blur', _.bind(this.options.callbacks.onBlur, this, this.channelName, this.options.stickItProperty));\r\n }\r\n\r\n protected initTypeahead(): void {\r\n (this.getUI(`input`) as any).typeahead(this.getTypeaheadOptions(), this.getSources());\r\n }\r\n\r\n protected initTypeaheadListeners(): void {\r\n this.getUI(`input`).on('typeahead:select', _.bind(this.onTypeaheadSelect, this));\r\n this.bindOptionalCallbacks();\r\n }\r\n\r\n private toggleRemove(): void {\r\n if (this.shouldShowRemove())\r\n this.$el.find('.remove').show();\r\n else\r\n this.$el.find('.remove').hide();\r\n }\r\n\r\n /**\r\n * Show the remove button if:\r\n * \r\n * Content is editable \r\n * We have a value\r\n * We have a remove event to trigger\r\n * \r\n * OR\r\n * \r\n * We're being force to show the remove button (Used by PPDD)\r\n */\r\n private shouldShowRemove(): boolean {\r\n if (!this.options.editable)\r\n return false;\r\n\r\n if (this.options.forceShowRemoveButton)\r\n return true;\r\n\r\n return this.options.removeEvent && !!this.model.get(this.options.stickItProperty);\r\n }\r\n\r\n public viewOptions(): ObjectHash {\r\n return {\r\n styles,\r\n ...this.options,\r\n showRemove: this.shouldShowRemove(),\r\n svgRemove: SvgHelper.getSvg(cvSvgLibrary.Close)\r\n };\r\n }\r\n\r\n public onRender(): void {\r\n this.stickit();\r\n this.initTypeahead();\r\n this.initTypeaheadListeners();\r\n Validation.bind(this);\r\n\r\n this.toggleRemove();\r\n }\r\n\r\n public onClose(): void {\r\n this.getUI('input').off();\r\n this.unstickit();\r\n Validation.unbind(this);\r\n }\r\n}\r\n","var Handlebars = require('handlebars');\nmodule.exports = (Handlebars['default'] || Handlebars).template({\"1\":function(container,depth0,helpers,partials,data) {\n var stack1, alias1=container.propertyIsEnumerable;\n\n return container.escapeExpression(container.lambda(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.disabled : stack1), depth0));\n},\"3\":function(container,depth0,helpers,partials,data) {\n return \"autofocus\";\n},\"5\":function(container,depth0,helpers,partials,data) {\n return \"disabled\";\n},\"compiler\":[8,\">= 4.3.0\"],\"main\":function(container,depth0,helpers,partials,data) {\n var stack1, alias1=container.propertyIsEnumerable, alias2=container.lambda, alias3=container.escapeExpression, alias4=depth0 != null ? depth0 : (container.nullContext || {});\n\n return \"<input\\r\\n name=\\\"\"\n + alias3(alias2(((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.inputName : stack1), depth0))\n + \"\\\"\\r\\n type=\\\"text\\\"\\r\\n class=\\\"form-control \"\n + ((stack1 = helpers.unless.call(alias4,((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.editable : stack1),{\"name\":\"unless\",\"hash\":{},\"fn\":container.program(1, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n + \" \"\n + alias3(alias2(((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.additionalClasses : stack1), depth0))\n + \"\\\"\\r\\n id=\\\"\"\n + alias3(alias2(((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.inputId : stack1), depth0))\n + \"\\\"\\r\\n autocomplete=\\\"off\\\"\\r\\n placeholder=\\\"\"\n + alias3(alias2(((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.placeholderText : stack1), depth0))\n + \"\\\"\\r\\n \"\n + ((stack1 = helpers[\"if\"].call(alias4,((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.autofocus : stack1),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(3, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n + \"\\r\\n \"\n + ((stack1 = helpers.unless.call(alias4,((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.editable : stack1),{\"name\":\"unless\",\"hash\":{},\"fn\":container.program(5, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n + \"\\r\\n></input>\\r\\n<span class=\\\"svg-container mb-2 \"\n + alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.svg : stack1), depth0))\n + \" remove\\\" style=\\\"display: none;\\\">\"\n + ((stack1 = alias2(((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.svgRemove : stack1), depth0)) != null ? stack1 : \"\")\n + \"</span>\";\n},\"useData\":true});","// extracted by mini-css-extract-plugin\nmodule.exports = {\"svg\":\"cv--svg--1iL3O\",\"typeaheadContainer\":\"cv--typeaheadContainer--1SWXc\",\"disabled\":\"cv--disabled--3C2O8\"};"],"sourceRoot":""}
|