@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.
Files changed (710) hide show
  1. package/dist/css/1.chunk.css.map +1 -0
  2. package/dist/css/10.chunk.css.map +1 -0
  3. package/dist/css/11.chunk.css +137 -0
  4. package/dist/css/11.chunk.css.map +1 -0
  5. package/dist/css/12.chunk.css.map +1 -0
  6. package/dist/css/13.chunk.css.map +1 -0
  7. package/dist/css/14.chunk.css.map +1 -0
  8. package/dist/css/16.chunk.css.map +1 -0
  9. package/dist/css/17.chunk.css.map +1 -0
  10. package/dist/css/18.chunk.css +20 -0
  11. package/dist/css/18.chunk.css.map +1 -0
  12. package/dist/css/2.chunk.css +145 -0
  13. package/dist/css/2.chunk.css.map +1 -0
  14. package/dist/css/21.chunk.css.map +1 -0
  15. package/dist/css/22.chunk.css.map +1 -0
  16. package/dist/css/23.chunk.css +5 -3
  17. package/dist/css/23.chunk.css.map +1 -0
  18. package/dist/css/25.chunk.css +2 -0
  19. package/dist/css/25.chunk.css.map +1 -0
  20. package/dist/css/26.chunk.css.map +1 -0
  21. package/dist/css/28.chunk.css.map +1 -0
  22. package/dist/css/29.chunk.css.map +1 -0
  23. package/dist/css/3.chunk.css.map +1 -0
  24. package/dist/css/30.chunk.css.map +1 -0
  25. package/dist/css/31.chunk.css.map +1 -0
  26. package/dist/css/32.chunk.css.map +1 -0
  27. package/dist/css/33.chunk.css.map +1 -0
  28. package/dist/css/34.chunk.css +21 -0
  29. package/dist/css/34.chunk.css.map +1 -0
  30. package/dist/css/35.chunk.css +20 -0
  31. package/dist/css/35.chunk.css.map +1 -0
  32. package/dist/css/36.chunk.css +14 -0
  33. package/dist/css/36.chunk.css.map +1 -0
  34. package/dist/css/37.chunk.css.map +1 -0
  35. package/dist/css/38.chunk.css.map +1 -0
  36. package/dist/css/40.chunk.css.map +1 -0
  37. package/dist/css/41.chunk.css.map +1 -0
  38. package/dist/css/42.chunk.css.map +1 -0
  39. package/dist/css/43.chunk.css.map +1 -0
  40. package/dist/css/44.chunk.css.map +1 -0
  41. package/dist/css/45.chunk.css.map +1 -0
  42. package/dist/css/46.chunk.css.map +1 -0
  43. package/dist/css/47.chunk.css.map +1 -0
  44. package/dist/css/48.chunk.css.map +1 -0
  45. package/dist/css/49.chunk.css +35 -0
  46. package/dist/css/49.chunk.css.map +1 -0
  47. package/dist/css/50.chunk.css.map +1 -0
  48. package/dist/css/51.chunk.css.map +1 -0
  49. package/dist/css/52.chunk.css +66 -0
  50. package/dist/css/52.chunk.css.map +1 -0
  51. package/dist/css/55.chunk.css.map +1 -0
  52. package/dist/css/56.chunk.css.map +1 -0
  53. package/dist/css/58.chunk.css.map +1 -0
  54. package/dist/css/59.chunk.css.map +1 -0
  55. package/dist/css/6.chunk.css.map +1 -0
  56. package/dist/css/60.chunk.css +18 -0
  57. package/dist/css/60.chunk.css.map +1 -0
  58. package/dist/css/62.chunk.css.map +1 -0
  59. package/dist/css/63.chunk.css +170 -0
  60. package/dist/css/63.chunk.css.map +1 -0
  61. package/dist/css/67.chunk.css +78 -0
  62. package/dist/css/67.chunk.css.map +1 -0
  63. package/dist/css/68.chunk.css +17 -0
  64. package/dist/css/68.chunk.css.map +1 -0
  65. package/dist/css/69.chunk.css +17 -0
  66. package/dist/css/69.chunk.css.map +1 -0
  67. package/dist/css/7.chunk.css.map +1 -0
  68. package/dist/css/70.chunk.css +23 -0
  69. package/dist/css/70.chunk.css.map +1 -0
  70. package/dist/css/71.chunk.css +40 -0
  71. package/dist/css/71.chunk.css.map +1 -0
  72. package/dist/css/72.chunk.css +16 -0
  73. package/dist/css/72.chunk.css.map +1 -0
  74. package/dist/css/73.chunk.css +37 -0
  75. package/dist/css/73.chunk.css.map +1 -0
  76. package/dist/css/74.chunk.css +29 -0
  77. package/dist/css/74.chunk.css.map +1 -0
  78. package/dist/css/75.chunk.css +6 -0
  79. package/dist/css/75.chunk.css.map +1 -0
  80. package/dist/css/76.chunk.css +6 -0
  81. package/dist/css/76.chunk.css.map +1 -0
  82. package/dist/css/8.chunk.css.map +1 -0
  83. package/dist/css/library-editor-app.css +2 -2
  84. package/dist/css/library-editor-app.css.map +1 -0
  85. package/dist/en.json +1 -1
  86. package/dist/libs/analytics/src/clients/CollectionApiClient.d.ts +3 -1
  87. package/dist/libs/analytics/src/enrichers/BaseAnalyticsEnricher.d.ts +1 -1
  88. package/dist/libs/analytics/src/enrichers/UserDataEnricher.d.ts +1 -1
  89. package/dist/libs/analytics/src/interfaces/AnalyticsTypes.d.ts +1 -4
  90. package/dist/libs/analytics/src/utils/TypeHelper.d.ts +1 -1
  91. package/dist/libs/analytics/src/utils/VideoDataFormatHelper.d.ts +5 -5
  92. package/dist/libs/common/src/backbone/constants/CommonServices.d.ts +1 -0
  93. package/dist/libs/common/src/backbone/core/BaseAppRouter.d.ts +1 -1
  94. package/dist/libs/common/src/backbone/core/BaseApplication.d.ts +1 -1
  95. package/dist/libs/common/src/backbone/core/BaseBehavior.d.ts +1 -1
  96. package/dist/libs/common/src/backbone/core/BaseCollection.d.ts +1 -1
  97. package/dist/libs/common/src/backbone/core/BaseCollectionView.d.ts +1 -1
  98. package/dist/libs/common/src/backbone/core/BaseLayoutView.d.ts +1 -1
  99. package/dist/libs/common/src/backbone/core/BaseModel.d.ts +1 -1
  100. package/dist/libs/common/src/backbone/core/BaseNestedModel.d.ts +1 -1
  101. package/dist/libs/common/src/backbone/core/BaseService.d.ts +1 -1
  102. package/dist/libs/common/src/backbone/core/BaseView.d.ts +2 -2
  103. package/dist/libs/common/src/backbone/core/LayoutService.d.ts +1 -1
  104. package/dist/libs/common/src/backbone/core/ListenToRadio.d.ts +1 -1
  105. package/dist/libs/common/src/backbone/core/Shell.d.ts +1 -1
  106. package/dist/libs/common/src/backbone/interfaces/BaseCollectionIdentifier.d.ts +1 -2
  107. package/dist/libs/common/src/backbone/interfaces/DataProvider.d.ts +1 -1
  108. package/dist/libs/common/src/backbone/interfaces/StickitBinding.d.ts +1 -1
  109. package/dist/libs/common/src/backbone/services/LanguageService.d.ts +1 -1
  110. package/dist/libs/common/src/backbone/services/ScrollService.d.ts +19 -0
  111. package/dist/libs/common/src/backbone/services/data-providers/AjaxDataProvider.d.ts +1 -1
  112. package/dist/libs/common/src/backbone/services/data-providers/SignalRDataProvider.d.ts +2 -2
  113. package/dist/libs/common/src/backbone/utils/FunctionHelper.d.ts +3 -3
  114. package/dist/libs/common/src/react/utils/FetchHelper.d.ts +1 -1
  115. package/dist/libs/shared/src/apps/notifications/views/popover/NotificationsPopoverView.d.ts +2 -2
  116. package/dist/libs/shared/src/apps/search/utils/InstantSearchHelper.d.ts +5 -5
  117. package/dist/libs/shared/src/apps/search/utils/TypeaheadHelper.d.ts +24 -24
  118. package/dist/libs/shared/src/apps/search/views/search-bar/SearchBarView.d.ts +5 -5
  119. package/dist/libs/shared/src/apps/upload/errors/file-type/FileTypeError.d.ts +1 -1
  120. package/dist/libs/shared/src/constants/BootstrapKeys.d.ts +0 -1
  121. package/dist/libs/shared/src/enums/WidgetContents.d.ts +1 -2
  122. package/dist/libs/shared/src/images/svg/ImportedSvgs.d.ts +1 -3
  123. package/dist/libs/shared/src/images/svg/actions/index.d.ts +1 -3
  124. package/dist/libs/shared/src/interfaces/collections/index.d.ts +0 -1
  125. package/dist/libs/shared/src/interfaces/models/Config.d.ts +0 -1
  126. package/dist/libs/shared/src/interfaces/models/Link.d.ts +0 -1
  127. package/dist/libs/shared/src/interfaces/models/Resource.d.ts +1 -9
  128. package/dist/libs/shared/src/interfaces/models/Thumbnail.d.ts +0 -3
  129. package/dist/libs/shared/src/interfaces/models/index.d.ts +0 -3
  130. package/dist/libs/shared/src/interfaces/requests/UpdateVideoRequest.d.ts +1 -5
  131. package/dist/libs/shared/src/interfaces/requests/index.d.ts +0 -3
  132. package/dist/libs/shared/src/interfaces/services/BaseUserDataService.d.ts +0 -2
  133. package/dist/libs/shared/src/interfaces/services/index.d.ts +0 -1
  134. package/dist/libs/shared/src/legacy/components/thumbnail/ThumbnailComponent.d.ts +1 -1
  135. package/dist/libs/shared/src/utils/ImageHelper.d.ts +3 -3
  136. package/dist/libs/shared/src/utils/MaskHelper.d.ts +1 -1
  137. package/dist/libs/shared/src/utils/SvgHelper.d.ts +1 -0
  138. package/dist/projects/library-editor/src/app.d.ts +5 -20
  139. package/dist/projects/library-editor/src/apps/content-updates/utils/ContentUpdatesHelper.d.ts +1 -1
  140. package/dist/projects/library-editor/src/apps/library-editor/LibraryEditorApplication.d.ts +3 -3
  141. package/dist/projects/library-editor/src/apps/library-editor/components/file-select/FileSelectComponent.d.ts +30 -0
  142. package/dist/projects/library-editor/src/apps/library-editor/components/file-uploads/FileUploadComponent.d.ts +15 -0
  143. package/dist/projects/library-editor/src/apps/library-editor/components/file-uploads/FileUploadsComponentCollection.d.ts +1 -1
  144. package/dist/projects/library-editor/src/apps/library-editor/components/language-select/LanguageSelectTypeaheadHelper.d.ts +2 -1
  145. package/dist/projects/library-editor/src/apps/library-editor/components/video-resources/ResourceItemComponent.d.ts +22 -0
  146. package/dist/projects/library-editor/src/apps/library-editor/components/video-resources/VideoResourcesComponent.d.ts +1 -3
  147. package/dist/projects/library-editor/src/apps/library-editor/components/video-subtitles/SubtitleItemComponent.d.ts +18 -0
  148. package/dist/projects/library-editor/src/apps/library-editor/components/video-subtitles/VideoSubtitlesComponent.d.ts +1 -4
  149. package/dist/projects/library-editor/src/apps/library-editor/enums/ObjectOwnerType.d.ts +4 -0
  150. package/dist/projects/library-editor/src/apps/library-editor/enums/index.d.ts +1 -0
  151. package/dist/projects/library-editor/src/apps/library-editor/errors/index.d.ts +2 -0
  152. package/dist/projects/library-editor/src/apps/library-editor/errors/too-many-resources/TooManyResourcesError.d.ts +8 -0
  153. package/dist/projects/library-editor/src/apps/library-editor/errors/too-many-subtitles/TooManySubtitlesError.d.ts +8 -0
  154. package/dist/projects/library-editor/src/apps/library-editor/services/VideoDataService.d.ts +2 -2
  155. package/dist/projects/library-editor/src/apps/library-editor/utils/EditVideoHelpers.d.ts +2 -2
  156. package/dist/projects/library-editor/src/apps/library-editor/utils/VideoDetailsHelper.d.ts +1 -1
  157. package/dist/projects/library-editor/src/apps/library-editor/views/edit-resources/EditResourcesView.d.ts +3 -3
  158. package/dist/projects/library-editor/src/apps/migration-wizard/components/status-bar/StatusBarComponent.d.ts +2 -2
  159. package/dist/projects/library-editor/src/apps/upload/UploadApplication.d.ts +1 -1
  160. package/dist/projects/library-editor/src/shared/behaviors/file-drop/FileDropBehavior.d.ts +19 -0
  161. package/dist/projects/library-editor/src/shared/behaviors/file-drop/FileDropHelper.d.ts +4 -0
  162. package/dist/projects/library-editor/src/shared/behaviors/file-drop/FileDropMaskBehavior.d.ts +19 -0
  163. package/dist/projects/library-editor/src/shared/behaviors/file-select/FileSelectBehavior.d.ts +16 -0
  164. package/dist/projects/library-editor/src/shared/behaviors/index.d.ts +3 -0
  165. package/dist/projects/library-editor/src/shared/behaviors/popup/PopupBehavior.d.ts +3 -3
  166. package/dist/projects/library-editor/src/shared/components/date-picker/DatePickerComponent.d.ts +2 -2
  167. package/dist/projects/library-editor/src/shared/components/dropdown/DropdownButtonComponent.d.ts +4 -4
  168. package/dist/projects/library-editor/src/shared/components/edit-video/edit-additional-info/EditAdditionalInfoComponent.d.ts +1 -1
  169. package/dist/projects/library-editor/src/shared/components/edit-video/select-rating/SelectRatingItemComponent.d.ts +1 -1
  170. package/dist/projects/library-editor/src/shared/components/image-cropper/ImageCropperComponent.d.ts +1 -1
  171. package/dist/projects/library-editor/src/shared/components/select/SelectComponent.d.ts +1 -1
  172. package/dist/projects/library-editor/src/shared/components/spinner-button/SpinnerButtonComponent.d.ts +1 -1
  173. package/dist/projects/library-editor/src/shared/components/tabs/TabsComponent.d.ts +1 -1
  174. package/dist/projects/library-editor/src/shared/components/typeahead-input/SearchTypeaheadComponent.d.ts +4 -4
  175. package/dist/projects/library-editor/src/shared/components/video-item/utils/VideoItemComponents.d.ts +1 -1
  176. package/dist/projects/library-editor/src/shared/enums/MasterObjectTypes.d.ts +8 -0
  177. package/dist/projects/library-editor/src/shared/enums/UploadInteractionType.d.ts +4 -0
  178. package/dist/projects/library-editor/src/shared/enums/index.d.ts +2 -0
  179. package/dist/projects/library-editor/src/shared/errors/index.d.ts +1 -0
  180. package/dist/projects/library-editor/src/shared/errors/too-many-files/TooManyFilesError.d.ts +7 -0
  181. package/dist/projects/library-editor/src/shared/layouts/manage-layout/ManageLayoutView.d.ts +0 -2
  182. package/dist/projects/library-editor/src/shared/utils/PermissionsHelper.d.ts +1 -1
  183. package/dist/projects/library-editor/src/shared/utils/RatingHelper.d.ts +2 -1
  184. package/dist/projects/library-editor/src/shared/utils/VideoHelper.d.ts +1 -1
  185. package/dist/projects/library-editor/src/shared/utils/search/RawSearchHelper.d.ts +1 -1
  186. package/dist/projects/library-editor/src/shared/utils/search/raw-search-components/add-new/AddNewSuggestion.d.ts +1 -1
  187. package/dist/projects/library-editor/src/shared/views/download-video/DownloadVideoView.d.ts +1 -0
  188. package/dist/projects/library-editor/src/startup/RegisterAnalytics.d.ts +1 -1
  189. package/dist/projects/library-editor/src/startup/RegisterApplicationVariables.d.ts +1 -1
  190. package/dist/projects/library-editor/src/startup/RegisterApplications.d.ts +1 -1
  191. package/dist/projects/library-editor/src/startup/RegisterCaches.d.ts +1 -1
  192. package/dist/projects/library-editor/src/startup/RegisterDataProviders.d.ts +1 -1
  193. package/dist/projects/library-editor/src/startup/RegisterDataServices.d.ts +1 -1
  194. package/dist/projects/library-editor/src/startup/RegisterErrorHandlers.d.ts +1 -1
  195. package/dist/projects/library-editor/src/startup/RegisterHandlebarsHelpers.d.ts +1 -1
  196. package/dist/projects/library-editor/src/startup/RegisterLayouts.d.ts +1 -1
  197. package/dist/projects/library-editor/src/startup/RegisterServices.d.ts +1 -1
  198. package/dist/projects/library-editor/src/startup/RegisterViewDataExtensions.d.ts +1 -1
  199. package/dist/projects/library-editor/typings/libs/LazyLoad.d.ts +1 -1
  200. package/dist/scripts/{0-65b134af4f.chunk.js → 0-1c2bb7e28a.chunk.js} +1 -1
  201. package/dist/scripts/0-1dbc79e4e7.chunk.js +1 -0
  202. package/dist/scripts/0-8b75adf540.chunk.js +1 -0
  203. package/dist/scripts/0-93276429bf.chunk.js +1 -0
  204. package/dist/scripts/0.chunk.js +1039 -0
  205. package/dist/scripts/0.chunk.js.map +1 -0
  206. package/dist/scripts/1-22a3bd404f.chunk.js +1 -0
  207. package/dist/scripts/1-480e5932a6.chunk.js +1 -0
  208. package/dist/scripts/1-6051b28de6.chunk.js +1 -0
  209. package/dist/scripts/1-b85c11fc30.chunk.js +1 -0
  210. package/dist/scripts/1.chunk.js +442 -0
  211. package/dist/scripts/1.chunk.js.map +1 -0
  212. package/dist/scripts/{10-75e622dc44.chunk.js → 10-31317a2d02.chunk.js} +1 -1
  213. package/dist/scripts/10-3ff370d548.chunk.js +1 -0
  214. package/dist/scripts/10-923c4b075a.chunk.js +1 -0
  215. package/dist/scripts/10-e2fea45a6c.chunk.js +1 -0
  216. package/dist/scripts/10.chunk.js +820 -0
  217. package/dist/scripts/10.chunk.js.map +1 -0
  218. package/dist/scripts/{11-9f5f0c25dc.chunk.js → 11-039959db6c.chunk.js} +1 -1
  219. package/dist/scripts/11-3dec7d2c7e.chunk.js +11 -0
  220. package/dist/scripts/11-74bc3f2d9f.chunk.js +11 -0
  221. package/dist/scripts/11.chunk.js +4091 -0
  222. package/dist/scripts/11.chunk.js.map +1 -0
  223. package/dist/scripts/{12-e5d7fe24d9.chunk.js → 12-07999b80e0.chunk.js} +1 -1
  224. package/dist/scripts/12-24bd360be0.chunk.js +1 -0
  225. package/dist/scripts/12-6ecdd79b85.chunk.js +1 -0
  226. package/dist/scripts/12-e522e64a94.chunk.js +1 -0
  227. package/dist/scripts/12.chunk.js +555 -0
  228. package/dist/scripts/12.chunk.js.map +1 -0
  229. package/dist/scripts/13-081c0e5887.chunk.js +1 -0
  230. package/dist/scripts/13-282f8add17.chunk.js +1 -0
  231. package/dist/scripts/13-54fe4fe53b.chunk.js +1 -0
  232. package/dist/scripts/13-958a8fd026.chunk.js +1 -0
  233. package/dist/scripts/13.chunk.js +380 -0
  234. package/dist/scripts/13.chunk.js.map +1 -0
  235. package/dist/scripts/14-16f84b2721.chunk.js +1 -0
  236. package/dist/scripts/14-45cd4dc6ef.chunk.js +1 -0
  237. package/dist/scripts/14-5e443cb402.chunk.js +1 -0
  238. package/dist/scripts/14-68c85d6674.chunk.js +1 -0
  239. package/dist/scripts/14.chunk.js +2386 -0
  240. package/dist/scripts/14.chunk.js.map +1 -0
  241. package/dist/scripts/15-12fa4c3471.chunk.js +1 -0
  242. package/dist/scripts/15-1f779dd0d3.chunk.js +1 -0
  243. package/dist/scripts/15-5544e6bde6.chunk.js +1 -0
  244. package/dist/scripts/15-8c96c3288e.chunk.js +1 -0
  245. package/dist/scripts/15.chunk.js +314 -0
  246. package/dist/scripts/15.chunk.js.map +1 -0
  247. package/dist/scripts/{16-0ebecead61.chunk.js → 16-427a8933c8.chunk.js} +1 -1
  248. package/dist/scripts/16-670c43d26f.chunk.js +1 -0
  249. package/dist/scripts/16-742a776f88.chunk.js +1 -0
  250. package/dist/scripts/16-7bcffb06e7.chunk.js +1 -0
  251. package/dist/scripts/16.chunk.js +1290 -0
  252. package/dist/scripts/16.chunk.js.map +1 -0
  253. package/dist/scripts/{17-9a2f82453a.chunk.js → 17-140fec014b.chunk.js} +1 -1
  254. package/dist/scripts/17-7093f50dff.chunk.js +1 -0
  255. package/dist/scripts/17-b5e44e8b17.chunk.js +1 -0
  256. package/dist/scripts/17-f6b0159da3.chunk.js +1 -0
  257. package/dist/scripts/17.chunk.js +381 -0
  258. package/dist/scripts/17.chunk.js.map +1 -0
  259. package/dist/scripts/18.chunk.js +393 -0
  260. package/dist/scripts/18.chunk.js.map +1 -0
  261. package/dist/scripts/19.chunk.js +364 -0
  262. package/dist/scripts/19.chunk.js.map +1 -0
  263. package/dist/scripts/{2-cd7f1d10b5.chunk.js → 2-0c5fba8b60.chunk.js} +1 -1
  264. package/dist/scripts/2-5fd33f5359.chunk.js +1 -0
  265. package/dist/scripts/2-7cc9176e8a.chunk.js +1 -0
  266. package/dist/scripts/2.chunk.js +523 -0
  267. package/dist/scripts/2.chunk.js.map +1 -0
  268. package/dist/scripts/{20-8cabdf4ccb.chunk.js → 20-4d88ede0e0.chunk.js} +1 -1
  269. package/dist/scripts/20-732a7a549d.chunk.js +1 -0
  270. package/dist/scripts/20-a84733c89f.chunk.js +1 -0
  271. package/dist/scripts/20-df9f6f7661.chunk.js +1 -0
  272. package/dist/scripts/20.chunk.js +317 -0
  273. package/dist/scripts/20.chunk.js.map +1 -0
  274. package/dist/scripts/{21-9dfc314143.chunk.js → 21-0b84d33cef.chunk.js} +1 -1
  275. package/dist/scripts/21-9b28a13702.chunk.js +1 -0
  276. package/dist/scripts/21-c9983ca8ad.chunk.js +1 -0
  277. package/dist/scripts/21-ee85b6d208.chunk.js +1 -0
  278. package/dist/scripts/21.chunk.js +531 -0
  279. package/dist/scripts/21.chunk.js.map +1 -0
  280. package/dist/scripts/{22-ea1736d37f.chunk.js → 22-082c94a39c.chunk.js} +1 -1
  281. package/dist/scripts/22-151cf38018.chunk.js +1 -0
  282. package/dist/scripts/22-3b2207c8f6.chunk.js +1 -0
  283. package/dist/scripts/22-6e6ed9f607.chunk.js +1 -0
  284. package/dist/scripts/22.chunk.js +354 -0
  285. package/dist/scripts/22.chunk.js.map +1 -0
  286. package/dist/scripts/23-1af21bf234.chunk.js +1 -0
  287. package/dist/scripts/23-2b00ff99bf.chunk.js +1 -0
  288. package/dist/scripts/23-94f9fe4222.chunk.js +1 -0
  289. package/dist/scripts/23-ab8f73ee87.chunk.js +1 -0
  290. package/dist/scripts/23.chunk.js +604 -0
  291. package/dist/scripts/23.chunk.js.map +1 -0
  292. package/dist/scripts/{24-d6b7d3f374.chunk.js → 24-74ab289589.chunk.js} +1 -1
  293. package/dist/scripts/24-7aa9b43511.chunk.js +1 -0
  294. package/dist/scripts/24-c94049500e.chunk.js +1 -0
  295. package/dist/scripts/24-d1ffdd4755.chunk.js +1 -0
  296. package/dist/scripts/24.chunk.js +318 -0
  297. package/dist/scripts/24.chunk.js.map +1 -0
  298. package/dist/scripts/25-34c0406f50.chunk.js +1 -0
  299. package/dist/scripts/25-5a38ce3533.chunk.js +1 -0
  300. package/dist/scripts/25-76d9011eea.chunk.js +1 -0
  301. package/dist/scripts/25-866cfc0ef5.chunk.js +1 -0
  302. package/dist/scripts/25.chunk.js +365 -0
  303. package/dist/scripts/25.chunk.js.map +1 -0
  304. package/dist/scripts/{26-b3a2e6bca1.chunk.js → 26-d166e3c313.chunk.js} +1 -1
  305. package/dist/scripts/26-d19e3f755c.chunk.js +1 -0
  306. package/dist/scripts/26-e53ba8e00f.chunk.js +1 -0
  307. package/dist/scripts/26-ea028a6276.chunk.js +1 -0
  308. package/dist/scripts/26.chunk.js +442 -0
  309. package/dist/scripts/26.chunk.js.map +1 -0
  310. package/dist/scripts/27-2109d41afa.chunk.js +1 -0
  311. package/dist/scripts/27-3aa629dd67.chunk.js +1 -0
  312. package/dist/scripts/27-c1241fcd84.chunk.js +1 -0
  313. package/dist/scripts/27-ee88c84482.chunk.js +1 -0
  314. package/dist/scripts/27.chunk.js +3630 -0
  315. package/dist/scripts/27.chunk.js.map +1 -0
  316. package/dist/scripts/28-5c540e74cc.chunk.js +1 -0
  317. package/dist/scripts/{28-cef433c779.chunk.js → 28-738b88c816.chunk.js} +1 -1
  318. package/dist/scripts/28-76b9766891.chunk.js +1 -0
  319. package/dist/scripts/28-e490147f6b.chunk.js +1 -0
  320. package/dist/scripts/28.chunk.js +3172 -0
  321. package/dist/scripts/28.chunk.js.map +1 -0
  322. package/dist/scripts/29-2da59b1589.chunk.js +1 -0
  323. package/dist/scripts/29-3faa153e38.chunk.js +1 -0
  324. package/dist/scripts/29-69389908f8.chunk.js +1 -0
  325. package/dist/scripts/29-bb7e39304b.chunk.js +1 -0
  326. package/dist/scripts/29.chunk.js +3090 -0
  327. package/dist/scripts/29.chunk.js.map +1 -0
  328. package/dist/scripts/{3-02a37512e4.chunk.js → 3-42e8af9f39.chunk.js} +1 -1
  329. package/dist/scripts/3-6e67dd4b74.chunk.js +1 -0
  330. package/dist/scripts/3-81b501ac1e.chunk.js +1 -0
  331. package/dist/scripts/3-c69e4454ce.chunk.js +1 -0
  332. package/dist/scripts/3.chunk.js +845 -0
  333. package/dist/scripts/3.chunk.js.map +1 -0
  334. package/dist/scripts/{30-cc04703754.chunk.js → 30-109f8ddd5c.chunk.js} +1 -1
  335. package/dist/scripts/30-9d32d88d76.chunk.js +1 -0
  336. package/dist/scripts/30-a1df3e37da.chunk.js +1 -0
  337. package/dist/scripts/30-fa390c35f6.chunk.js +1 -0
  338. package/dist/scripts/30.chunk.js +1851 -0
  339. package/dist/scripts/30.chunk.js.map +1 -0
  340. package/dist/scripts/{31-92c7d2494b.chunk.js → 31-639090fee3.chunk.js} +1 -1
  341. package/dist/scripts/31-ce31250e42.chunk.js +1 -0
  342. package/dist/scripts/31-f15802825c.chunk.js +1 -0
  343. package/dist/scripts/31-fc63c4629d.chunk.js +1 -0
  344. package/dist/scripts/31.chunk.js +958 -0
  345. package/dist/scripts/31.chunk.js.map +1 -0
  346. package/dist/scripts/32-1ad8193581.chunk.js +1 -0
  347. package/dist/scripts/32-3de9c7454b.chunk.js +1 -0
  348. package/dist/scripts/32-4173874dbe.chunk.js +1 -0
  349. package/dist/scripts/32-9bca57f408.chunk.js +1 -0
  350. package/dist/scripts/32.chunk.js +1235 -0
  351. package/dist/scripts/32.chunk.js.map +1 -0
  352. package/dist/scripts/33-20ac0ab4a1.chunk.js +1 -0
  353. package/dist/scripts/33-350334db4c.chunk.js +1 -0
  354. package/dist/scripts/33-675467f07d.chunk.js +1 -0
  355. package/dist/scripts/33-7efae85b8b.chunk.js +1 -0
  356. package/dist/scripts/33.chunk.js +958 -0
  357. package/dist/scripts/33.chunk.js.map +1 -0
  358. package/dist/scripts/34-0a7f3b55fe.chunk.js +1 -0
  359. package/dist/scripts/34-3adf309726.chunk.js +1 -0
  360. package/dist/scripts/34-c4f0495750.chunk.js +1 -0
  361. package/dist/scripts/34-f6eea83a09.chunk.js +1 -0
  362. package/dist/scripts/34.chunk.js +990 -0
  363. package/dist/scripts/34.chunk.js.map +1 -0
  364. package/dist/scripts/35-17b30890a5.chunk.js +1 -0
  365. package/dist/scripts/35-4254e160f0.chunk.js +1 -0
  366. package/dist/scripts/35-7f90628b77.chunk.js +1 -0
  367. package/dist/scripts/35-9c3899dfbd.chunk.js +1 -0
  368. package/dist/scripts/35.chunk.js +518 -0
  369. package/dist/scripts/35.chunk.js.map +1 -0
  370. package/dist/scripts/36-1fde696d6a.chunk.js +1 -0
  371. package/dist/scripts/36-2ec95df618.chunk.js +1 -0
  372. package/dist/scripts/36-b5ad543fba.chunk.js +1 -0
  373. package/dist/scripts/36-cdbe95bd06.chunk.js +1 -0
  374. package/dist/scripts/36.chunk.js +335 -0
  375. package/dist/scripts/36.chunk.js.map +1 -0
  376. package/dist/scripts/{37-3b6bf13818.chunk.js → 37-3f3a603b60.chunk.js} +1 -1
  377. package/dist/scripts/37-6fa4b8fc60.chunk.js +1 -0
  378. package/dist/scripts/37-97b84a8be5.chunk.js +1 -0
  379. package/dist/scripts/37-c649a307d4.chunk.js +1 -0
  380. package/dist/scripts/37.chunk.js +236 -0
  381. package/dist/scripts/37.chunk.js.map +1 -0
  382. package/dist/scripts/38-0cf8029bec.chunk.js +1 -0
  383. package/dist/scripts/38-1c98f19489.chunk.js +1 -0
  384. package/dist/scripts/38-6fc346f964.chunk.js +1 -0
  385. package/dist/scripts/38-7ffe535b0d.chunk.js +1 -0
  386. package/dist/scripts/38.chunk.js +315 -0
  387. package/dist/scripts/38.chunk.js.map +1 -0
  388. package/dist/scripts/39-13d6669c3f.chunk.js +1 -0
  389. package/dist/scripts/39-71c4bb46b2.chunk.js +1 -0
  390. package/dist/scripts/{39-01d58327ca.chunk.js → 39-748eb61732.chunk.js} +1 -1
  391. package/dist/scripts/39-e5983a5d53.chunk.js +1 -0
  392. package/dist/scripts/39.chunk.js +107 -0
  393. package/dist/scripts/39.chunk.js.map +1 -0
  394. package/dist/scripts/4-435484d217.chunk.js +1 -0
  395. package/dist/scripts/4-5c50e71b83.chunk.js +1 -0
  396. package/dist/scripts/4-7274621693.chunk.js +1 -0
  397. package/dist/scripts/4-85ba8523ad.chunk.js +1 -0
  398. package/dist/scripts/4.chunk.js +335 -0
  399. package/dist/scripts/4.chunk.js.map +1 -0
  400. package/dist/scripts/{40-60f5d582c8.chunk.js → 40-2691dfbd5a.chunk.js} +1 -1
  401. package/dist/scripts/40-2ecbd41570.chunk.js +1 -0
  402. package/dist/scripts/40-a691a401ff.chunk.js +1 -0
  403. package/dist/scripts/40-f1d72b1049.chunk.js +1 -0
  404. package/dist/scripts/40.chunk.js +2493 -0
  405. package/dist/scripts/40.chunk.js.map +1 -0
  406. package/dist/scripts/41-0368ba16dc.chunk.js +1 -0
  407. package/dist/scripts/41-1df587ee3a.chunk.js +1 -0
  408. package/dist/scripts/41-85fcb15184.chunk.js +1 -0
  409. package/dist/scripts/41-bb9aef24f7.chunk.js +1 -0
  410. package/dist/scripts/41.chunk.js +1782 -0
  411. package/dist/scripts/41.chunk.js.map +1 -0
  412. package/dist/scripts/{42-390bbda5c5.chunk.js → 42-3480033857.chunk.js} +1 -1
  413. package/dist/scripts/42-389acb6e55.chunk.js +1 -0
  414. package/dist/scripts/42-3ef41f40f5.chunk.js +1 -0
  415. package/dist/scripts/42-61a626d7f4.chunk.js +1 -0
  416. package/dist/scripts/42.chunk.js +2327 -0
  417. package/dist/scripts/42.chunk.js.map +1 -0
  418. package/dist/scripts/{43-acc9eadde2.chunk.js → 43-2fe5b1c9cc.chunk.js} +1 -1
  419. package/dist/scripts/43-49f13dab14.chunk.js +1 -0
  420. package/dist/scripts/43-72d1bc0ae2.chunk.js +1 -0
  421. package/dist/scripts/43-a5b882d502.chunk.js +1 -0
  422. package/dist/scripts/43.chunk.js +1206 -0
  423. package/dist/scripts/43.chunk.js.map +1 -0
  424. package/dist/scripts/44-0703eb0ad8.chunk.js +1 -0
  425. package/dist/scripts/44-756fd6622b.chunk.js +1 -0
  426. package/dist/scripts/44-de22428999.chunk.js +1 -0
  427. package/dist/scripts/44-ee6a740a16.chunk.js +1 -0
  428. package/dist/scripts/44.chunk.js +2245 -0
  429. package/dist/scripts/44.chunk.js.map +1 -0
  430. package/dist/scripts/45-610d098194.chunk.js +1 -0
  431. package/dist/scripts/45-806dd5b78c.chunk.js +1 -0
  432. package/dist/scripts/45-da34a8b6b2.chunk.js +1 -0
  433. package/dist/scripts/45-e4a92a40fd.chunk.js +1 -0
  434. package/dist/scripts/45.chunk.js +1065 -0
  435. package/dist/scripts/45.chunk.js.map +1 -0
  436. package/dist/scripts/46-4aa05464fe.chunk.js +1 -0
  437. package/dist/scripts/46-cadf3f46ee.chunk.js +1 -0
  438. package/dist/scripts/46-cccef3e874.chunk.js +1 -0
  439. package/dist/scripts/46-ebf8eee4ac.chunk.js +1 -0
  440. package/dist/scripts/46.chunk.js +655 -0
  441. package/dist/scripts/46.chunk.js.map +1 -0
  442. package/dist/scripts/{47-7c5a3685a5.chunk.js → 47-1e3d829757.chunk.js} +1 -1
  443. package/dist/scripts/47-22a83e5974.chunk.js +1 -0
  444. package/dist/scripts/47-56d22af6ba.chunk.js +1 -0
  445. package/dist/scripts/47-c61fa52c53.chunk.js +1 -0
  446. package/dist/scripts/47.chunk.js +736 -0
  447. package/dist/scripts/47.chunk.js.map +1 -0
  448. package/dist/scripts/{48-469dfae9ba.chunk.js → 48-877e9e02b8.chunk.js} +1 -1
  449. package/dist/scripts/48-e05ab3ecac.chunk.js +1 -0
  450. package/dist/scripts/48-e577124476.chunk.js +1 -0
  451. package/dist/scripts/48-fc96b968fc.chunk.js +1 -0
  452. package/dist/scripts/48.chunk.js +994 -0
  453. package/dist/scripts/48.chunk.js.map +1 -0
  454. package/dist/scripts/{49-06756becaf.chunk.js → 49-0f9a6a1782.chunk.js} +1 -1
  455. package/dist/scripts/49-13c5f8e87d.chunk.js +1 -0
  456. package/dist/scripts/49-4a6c119f58.chunk.js +1 -0
  457. package/dist/scripts/49-f9151c7e06.chunk.js +1 -0
  458. package/dist/scripts/49.chunk.js +761 -0
  459. package/dist/scripts/49.chunk.js.map +1 -0
  460. package/dist/scripts/5-06b97501c3.chunk.js +1 -0
  461. package/dist/scripts/5-1ba89c4774.chunk.js +1 -0
  462. package/dist/scripts/5-515b264fbc.chunk.js +1 -0
  463. package/dist/scripts/5-d6a7d71167.chunk.js +1 -0
  464. package/dist/scripts/5.chunk.js +15 -0
  465. package/dist/scripts/5.chunk.js.map +1 -0
  466. package/dist/scripts/{50-49475581af.chunk.js → 50-0741587a02.chunk.js} +1 -1
  467. package/dist/scripts/50-0d5aed7730.chunk.js +1 -0
  468. package/dist/scripts/50-3924907655.chunk.js +1 -0
  469. package/dist/scripts/50-4de0b758d5.chunk.js +1 -0
  470. package/dist/scripts/50.chunk.js +530 -0
  471. package/dist/scripts/50.chunk.js.map +1 -0
  472. package/dist/scripts/{51-4adcf4ff0a.chunk.js → 51-a5f1309ada.chunk.js} +1 -1
  473. package/dist/scripts/51-cd37c8efa2.chunk.js +1 -0
  474. package/dist/scripts/51-dca2a9cc86.chunk.js +1 -0
  475. package/dist/scripts/51-ea33746146.chunk.js +1 -0
  476. package/dist/scripts/51.chunk.js +932 -0
  477. package/dist/scripts/51.chunk.js.map +1 -0
  478. package/dist/scripts/52-50230b48c8.chunk.js +1 -0
  479. package/dist/scripts/{52-57782063fd.chunk.js → 52-8b53a5c0b1.chunk.js} +1 -1
  480. package/dist/scripts/52-a3c8ed29ca.chunk.js +1 -0
  481. package/dist/scripts/52-bc48f1f9e8.chunk.js +1 -0
  482. package/dist/scripts/52.chunk.js +408 -0
  483. package/dist/scripts/52.chunk.js.map +1 -0
  484. package/dist/scripts/53-0e253f9f3e.chunk.js +1 -0
  485. package/dist/scripts/53-36007500cf.chunk.js +1 -0
  486. package/dist/scripts/{53-6f14b50628.chunk.js → 53-54b0df474f.chunk.js} +1 -1
  487. package/dist/scripts/53-d8f0dea552.chunk.js +1 -0
  488. package/dist/scripts/53.chunk.js +756 -0
  489. package/dist/scripts/53.chunk.js.map +1 -0
  490. package/dist/scripts/{54-78c19a2ad8.chunk.js → 54-7cdbdcebf9.chunk.js} +1 -1
  491. package/dist/scripts/54-d1bc70c7b5.chunk.js +1 -0
  492. package/dist/scripts/54-dd4d101665.chunk.js +1 -0
  493. package/dist/scripts/54-ead54d0b34.chunk.js +1 -0
  494. package/dist/scripts/54.chunk.js +681 -0
  495. package/dist/scripts/54.chunk.js.map +1 -0
  496. package/dist/scripts/{55-dceece7f6e.chunk.js → 55-078bb9b0ea.chunk.js} +1 -1
  497. package/dist/scripts/55-3c60601030.chunk.js +1 -0
  498. package/dist/scripts/55-a5fa20b497.chunk.js +1 -0
  499. package/dist/scripts/55-e29d6a6ba9.chunk.js +1 -0
  500. package/dist/scripts/55.chunk.js +645 -0
  501. package/dist/scripts/55.chunk.js.map +1 -0
  502. package/dist/scripts/{56-791cbec86d.chunk.js → 56-36d54fa08f.chunk.js} +1 -1
  503. package/dist/scripts/56-370078d597.chunk.js +1 -0
  504. package/dist/scripts/56-7a6c662f14.chunk.js +1 -0
  505. package/dist/scripts/56-df0a32000b.chunk.js +1 -0
  506. package/dist/scripts/56.chunk.js +346 -0
  507. package/dist/scripts/56.chunk.js.map +1 -0
  508. package/dist/scripts/{57-b80d1bf344.chunk.js → 57-0e126120b9.chunk.js} +1 -1
  509. package/dist/scripts/57-6e622c6480.chunk.js +1 -0
  510. package/dist/scripts/57-a4f4d6fe41.chunk.js +1 -0
  511. package/dist/scripts/57-c1faec8b32.chunk.js +1 -0
  512. package/dist/scripts/57.chunk.js +422 -0
  513. package/dist/scripts/57.chunk.js.map +1 -0
  514. package/dist/scripts/{58-74a2cc409b.chunk.js → 58-17706ccb46.chunk.js} +1 -1
  515. package/dist/scripts/58-5729cbaa5c.chunk.js +1 -0
  516. package/dist/scripts/58-a0fe201826.chunk.js +1 -0
  517. package/dist/scripts/58-e996405f2b.chunk.js +1 -0
  518. package/dist/scripts/58.chunk.js +437 -0
  519. package/dist/scripts/58.chunk.js.map +1 -0
  520. package/dist/scripts/{59-a05072e424.chunk.js → 59-0a7bdc86b0.chunk.js} +1 -1
  521. package/dist/scripts/59-333f38ee3b.chunk.js +1 -0
  522. package/dist/scripts/59-381a49ed7f.chunk.js +1 -0
  523. package/dist/scripts/59-4f2fcb6412.chunk.js +1 -0
  524. package/dist/scripts/59.chunk.js +342 -0
  525. package/dist/scripts/59.chunk.js.map +1 -0
  526. package/dist/scripts/{6-9a7ab29bcf.chunk.js → 6-1045293de4.chunk.js} +1 -1
  527. package/dist/scripts/6-40c8ba5007.chunk.js +1 -0
  528. package/dist/scripts/6-51a379e066.chunk.js +1 -0
  529. package/dist/scripts/6-b3d36065dc.chunk.js +1 -0
  530. package/dist/scripts/6.chunk.js +484 -0
  531. package/dist/scripts/6.chunk.js.map +1 -0
  532. package/dist/scripts/{60-3ea0df7910.chunk.js → 60-0d8896555f.chunk.js} +1 -1
  533. package/dist/scripts/60-b17c6609cd.chunk.js +1 -0
  534. package/dist/scripts/60-b4a91c86fa.chunk.js +1 -0
  535. package/dist/scripts/60-c57f161f18.chunk.js +1 -0
  536. package/dist/scripts/60.chunk.js +254 -0
  537. package/dist/scripts/60.chunk.js.map +1 -0
  538. package/dist/scripts/{61-49a9fb2c98.chunk.js → 61-57fa6b5248.chunk.js} +1 -1
  539. package/dist/scripts/61-5d6e59d408.chunk.js +1 -0
  540. package/dist/scripts/61-7d81d27c31.chunk.js +1 -0
  541. package/dist/scripts/61-a342a0d501.chunk.js +1 -0
  542. package/dist/scripts/61.chunk.js +408 -0
  543. package/dist/scripts/61.chunk.js.map +1 -0
  544. package/dist/scripts/{62-afa39e4cc9.chunk.js → 62-67458b7fb4.chunk.js} +1 -1
  545. package/dist/scripts/62-758f5e505b.chunk.js +1 -0
  546. package/dist/scripts/62-b572d8b80d.chunk.js +1 -0
  547. package/dist/scripts/62-f5fd35fdc0.chunk.js +1 -0
  548. package/dist/scripts/62.chunk.js +142 -0
  549. package/dist/scripts/62.chunk.js.map +1 -0
  550. package/dist/scripts/{63-348b096dca.chunk.js → 63-420b10f5f2.chunk.js} +1 -1
  551. package/dist/scripts/63-568008965e.chunk.js +1 -0
  552. package/dist/scripts/63-6700b4d00a.chunk.js +1 -0
  553. package/dist/scripts/63-c88b9860e9.chunk.js +1 -0
  554. package/dist/scripts/63.chunk.js +147 -0
  555. package/dist/scripts/63.chunk.js.map +1 -0
  556. package/dist/scripts/{64-6f7edb1451.chunk.js → 64-9c88ee6161.chunk.js} +1 -1
  557. package/dist/scripts/64-e177d4c971.chunk.js +1 -0
  558. package/dist/scripts/64-e6598113a7.chunk.js +1 -0
  559. package/dist/scripts/64-fa2facacbb.chunk.js +1 -0
  560. package/dist/scripts/64.chunk.js +439 -0
  561. package/dist/scripts/64.chunk.js.map +1 -0
  562. package/dist/scripts/{65-1a6aecc0e3.chunk.js → 65-93567fe088.chunk.js} +1 -1
  563. package/dist/scripts/65-a7e499ceee.chunk.js +1 -0
  564. package/dist/scripts/65-e4568d1f06.chunk.js +1 -0
  565. package/dist/scripts/65-f750573f69.chunk.js +1 -0
  566. package/dist/scripts/65.chunk.js +582 -0
  567. package/dist/scripts/65.chunk.js.map +1 -0
  568. package/dist/scripts/{66-fe5934023f.chunk.js → 66-c84a3a3c3f.chunk.js} +1 -1
  569. package/dist/scripts/66-f00f29ccae.chunk.js +1 -0
  570. package/dist/scripts/66-f325ff3187.chunk.js +1 -0
  571. package/dist/scripts/66-f6d213b33c.chunk.js +1 -0
  572. package/dist/scripts/66.chunk.js +442 -0
  573. package/dist/scripts/66.chunk.js.map +1 -0
  574. package/dist/scripts/67-1ebaab7a2d.chunk.js +1 -0
  575. package/dist/scripts/67-3c9628d296.chunk.js +1 -0
  576. package/dist/scripts/67-97c694c3d5.chunk.js +1 -0
  577. package/dist/scripts/67-c5af18680c.chunk.js +1 -0
  578. package/dist/scripts/67.chunk.js +295 -0
  579. package/dist/scripts/67.chunk.js.map +1 -0
  580. package/dist/scripts/{68-54be8dbe28.chunk.js → 68-38a6d7fb50.chunk.js} +1 -1
  581. package/dist/scripts/68-488cd1552f.chunk.js +1 -0
  582. package/dist/scripts/68-7b1d5e8e75.chunk.js +1 -0
  583. package/dist/scripts/68-eb8700aeb1.chunk.js +1 -0
  584. package/dist/scripts/68.chunk.js +165 -0
  585. package/dist/scripts/68.chunk.js.map +1 -0
  586. package/dist/scripts/{69-2dbcfa995c.chunk.js → 69-3d2063cd0f.chunk.js} +1 -1
  587. package/dist/scripts/69-870856c6fb.chunk.js +1 -0
  588. package/dist/scripts/69-b0ea71d7c5.chunk.js +1 -0
  589. package/dist/scripts/69-be2be90b7c.chunk.js +1 -0
  590. package/dist/scripts/69.chunk.js +248 -0
  591. package/dist/scripts/69.chunk.js.map +1 -0
  592. package/dist/scripts/{7-e9fd5a70f5.chunk.js → 7-3151397d74.chunk.js} +1 -1
  593. package/dist/scripts/7-aac8c84ccb.chunk.js +1 -0
  594. package/dist/scripts/7-d41d3bf60c.chunk.js +1 -0
  595. package/dist/scripts/7-dfddb8ffa8.chunk.js +1 -0
  596. package/dist/scripts/7.chunk.js +309 -0
  597. package/dist/scripts/7.chunk.js.map +1 -0
  598. package/dist/scripts/{70-145a5802f1.chunk.js → 70-27e9e5792a.chunk.js} +1 -1
  599. package/dist/scripts/70-39dc936989.chunk.js +1 -0
  600. package/dist/scripts/70-6ef72cd9b6.chunk.js +1 -0
  601. package/dist/scripts/70-e6ebb44667.chunk.js +1 -0
  602. package/dist/scripts/70.chunk.js +207 -0
  603. package/dist/scripts/70.chunk.js.map +1 -0
  604. package/dist/scripts/{71-2ea1363d8f.chunk.js → 71-4e4a47d601.chunk.js} +1 -1
  605. package/dist/scripts/71-8e3682a7d7.chunk.js +1 -0
  606. package/dist/scripts/71-a80858069c.chunk.js +1 -0
  607. package/dist/scripts/71-c5923e2d2d.chunk.js +1 -0
  608. package/dist/scripts/71.chunk.js +237 -0
  609. package/dist/scripts/71.chunk.js.map +1 -0
  610. package/dist/scripts/{72-3d94c9900f.chunk.js → 72-0a6c88f9fe.chunk.js} +1 -1
  611. package/dist/scripts/72-245f28bf97.chunk.js +1 -0
  612. package/dist/scripts/72-550438db4e.chunk.js +1 -0
  613. package/dist/scripts/72-65364adff1.chunk.js +1 -0
  614. package/dist/scripts/72.chunk.js +331 -0
  615. package/dist/scripts/72.chunk.js.map +1 -0
  616. package/dist/scripts/73.chunk.js +404 -0
  617. package/dist/scripts/73.chunk.js.map +1 -0
  618. package/dist/scripts/74.chunk.js +301 -0
  619. package/dist/scripts/74.chunk.js.map +1 -0
  620. package/dist/scripts/75.chunk.js +231 -0
  621. package/dist/scripts/75.chunk.js.map +1 -0
  622. package/dist/scripts/76.chunk.js +157 -0
  623. package/dist/scripts/76.chunk.js.map +1 -0
  624. package/dist/scripts/77.chunk.js +307 -0
  625. package/dist/scripts/77.chunk.js.map +1 -0
  626. package/dist/scripts/78.chunk.js +249 -0
  627. package/dist/scripts/78.chunk.js.map +1 -0
  628. package/dist/scripts/79.chunk.js +282 -0
  629. package/dist/scripts/79.chunk.js.map +1 -0
  630. package/dist/scripts/{8-3db468b0ad.chunk.js → 8-7278f3247c.chunk.js} +1 -1
  631. package/dist/scripts/8-c4955c2009.chunk.js +1 -0
  632. package/dist/scripts/8-d46f48d03c.chunk.js +1 -0
  633. package/dist/scripts/8-e5d19252c8.chunk.js +1 -0
  634. package/dist/scripts/8.chunk.js +307 -0
  635. package/dist/scripts/8.chunk.js.map +1 -0
  636. package/dist/scripts/80.chunk.js +308 -0
  637. package/dist/scripts/80.chunk.js.map +1 -0
  638. package/dist/scripts/81.chunk.js +366 -0
  639. package/dist/scripts/81.chunk.js.map +1 -0
  640. package/dist/scripts/82.chunk.js +314 -0
  641. package/dist/scripts/82.chunk.js.map +1 -0
  642. package/dist/scripts/83.chunk.js +328 -0
  643. package/dist/scripts/83.chunk.js.map +1 -0
  644. package/dist/scripts/84.chunk.js +313 -0
  645. package/dist/scripts/84.chunk.js.map +1 -0
  646. package/dist/scripts/85.chunk.js +291 -0
  647. package/dist/scripts/85.chunk.js.map +1 -0
  648. package/dist/scripts/86.chunk.js +119 -0
  649. package/dist/scripts/86.chunk.js.map +1 -0
  650. package/dist/scripts/87.chunk.js +219 -0
  651. package/dist/scripts/87.chunk.js.map +1 -0
  652. package/dist/scripts/88.chunk.js +194 -0
  653. package/dist/scripts/88.chunk.js.map +1 -0
  654. package/dist/scripts/89.chunk.js +522 -0
  655. package/dist/scripts/89.chunk.js.map +1 -0
  656. package/dist/scripts/9-4589726554.chunk.js +1 -0
  657. package/dist/scripts/9-576592d419.chunk.js +1 -0
  658. package/dist/scripts/9-66021549bd.chunk.js +1 -0
  659. package/dist/scripts/9-df99ba6ce1.chunk.js +1 -0
  660. package/dist/scripts/9.chunk.js +222 -0
  661. package/dist/scripts/9.chunk.js.map +1 -0
  662. package/dist/scripts/90.chunk.js +337 -0
  663. package/dist/scripts/90.chunk.js.map +1 -0
  664. package/dist/scripts/91.chunk.js +131 -0
  665. package/dist/scripts/91.chunk.js.map +1 -0
  666. package/dist/scripts/92.chunk.js +266 -0
  667. package/dist/scripts/92.chunk.js.map +1 -0
  668. package/dist/scripts/bundle-1b984e2fd9.min.js +8 -0
  669. package/dist/scripts/bundle-203920eb14.min.js +8 -0
  670. package/dist/scripts/bundle-7d13ba933b.min.js +8 -0
  671. package/dist/scripts/bundle-d5b23160b1.min.js +8 -0
  672. package/dist/scripts/bundle.js +67100 -0
  673. package/dist/scripts/bundle.js.map +1 -0
  674. package/dist/scripts/bundles.json +2 -2
  675. package/dist/scripts/polyfills-5a81b67408.min.js +1 -0
  676. package/dist/scripts/polyfills-9b0be1bd72.min.js +1 -0
  677. package/dist/scripts/polyfills-cd3d0a9f6d.min.js +1 -0
  678. package/dist/scripts/polyfills-d891a77823.min.js +1 -0
  679. package/dist/scripts/polyfills.js +14866 -0
  680. package/dist/scripts/polyfills.js.map +1 -0
  681. package/package.json +99 -100
  682. package/typings/libs/CVEvents.d.ts +1 -1
  683. package/typings/libs/LazyLoad.ts +1 -2
  684. package/typings/libs/Trackers.d.ts +1 -1
  685. package/.eslintrc.json +0 -3
  686. package/dist/scripts/1-42cd7dafc9.chunk.js +0 -1
  687. package/dist/scripts/13-2247b585ba.chunk.js +0 -1
  688. package/dist/scripts/14-76f0d1344e.chunk.js +0 -1
  689. package/dist/scripts/15-044f3ce266.chunk.js +0 -1
  690. package/dist/scripts/23-c5137083a9.chunk.js +0 -1
  691. package/dist/scripts/25-4f3f34d140.chunk.js +0 -1
  692. package/dist/scripts/27-0dd00d8e76.chunk.js +0 -1
  693. package/dist/scripts/29-cf9581eef8.chunk.js +0 -1
  694. package/dist/scripts/32-b8ea5b8dea.chunk.js +0 -1
  695. package/dist/scripts/33-6da26969d0.chunk.js +0 -1
  696. package/dist/scripts/34-5469e12196.chunk.js +0 -1
  697. package/dist/scripts/35-9aae492c3e.chunk.js +0 -1
  698. package/dist/scripts/36-8849ade3c7.chunk.js +0 -1
  699. package/dist/scripts/38-f8f1eeba1f.chunk.js +0 -1
  700. package/dist/scripts/4-eaa7ec4468.chunk.js +0 -1
  701. package/dist/scripts/41-9d3182f53c.chunk.js +0 -1
  702. package/dist/scripts/44-8f053335a7.chunk.js +0 -1
  703. package/dist/scripts/45-a4f9646555.chunk.js +0 -1
  704. package/dist/scripts/46-6b9fc8453b.chunk.js +0 -1
  705. package/dist/scripts/5-674db7af1b.chunk.js +0 -1
  706. package/dist/scripts/67-69b25bd800.chunk.js +0 -1
  707. package/dist/scripts/9-c8b248951d.chunk.js +0 -1
  708. package/dist/scripts/bundle-c736d7845b.min.js +0 -8
  709. package/dist/scripts/polyfills-d24f8f2432.min.js +0 -1
  710. package/dist/sw.js +0 -3
@@ -0,0 +1,555 @@
1
+ (window["webpackJsonp_clickview_library_editor"] = window["webpackJsonp_clickview_library_editor"] || []).push([[12],{
2
+
3
+ /***/ "./src/apps/library-editor/components/folder-details/FolderDetails.hbs":
4
+ /*!*****************************************************************************!*\
5
+ !*** ./src/apps/library-editor/components/folder-details/FolderDetails.hbs ***!
6
+ \*****************************************************************************/
7
+ /*! no static exports found */
8
+ /***/ (function(module, exports, __webpack_require__) {
9
+
10
+ var Handlebars = __webpack_require__(/*! handlebars */ "handlebars");
11
+ module.exports = (Handlebars['default'] || Handlebars).template({"1":function(container,depth0,helpers,partials,data) {
12
+ var alias1=container.propertyIsEnumerable, alias2=depth0 != null ? depth0 : (container.nullContext || {}), alias3=container.hooks.helperMissing, alias4=container.escapeExpression;
13
+
14
+ return " <div class=\"form-group\">\r\n <label for=\"name\" class=\"control-label\">"
15
+ + alias4((helpers.lang||(depth0 && depth0.lang)||alias3).call(alias2,"name",{"name":"lang","hash":{},"data":data}))
16
+ + "</label>\r\n <input name=\"name\" id=\"name\" type=\"text\" class=\"form-control\" placeholder=\""
17
+ + alias4((helpers.lang||(depth0 && depth0.lang)||alias3).call(alias2,"namePlaceholder",{"name":"lang","hash":{},"data":data}))
18
+ + "\" autocomplete=\"off\" autofocus/>\r\n <div class=\"form-feedback\"></div>\r\n </div>\r\n";
19
+ },"3":function(container,depth0,helpers,partials,data) {
20
+ var alias1=container.propertyIsEnumerable;
21
+
22
+ return " <div class=\"form-group pt-2\">\r\n <label for=\"parentId\" class=\"control-label\">"
23
+ + container.escapeExpression((helpers.lang||(depth0 && depth0.lang)||container.hooks.helperMissing).call(depth0 != null ? depth0 : (container.nullContext || {}),"parent",{"name":"lang","hash":{},"data":data}))
24
+ + "</label>\r\n <div class=\"parent-folder-region\"></div>\r\n </div>\r\n";
25
+ },"compiler":[8,">= 4.3.0"],"main":function(container,depth0,helpers,partials,data) {
26
+ var stack1, alias1=container.propertyIsEnumerable, alias2=depth0 != null ? depth0 : (container.nullContext || {});
27
+
28
+ return "<form>\r\n"
29
+ + ((stack1 = helpers["if"].call(alias2,((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.editName : stack1),{"name":"if","hash":{},"fn":container.program(1, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
30
+ + ((stack1 = helpers["if"].call(alias2,((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.editParent : stack1),{"name":"if","hash":{},"fn":container.program(3, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
31
+ + "</form>";
32
+ },"useData":true});
33
+
34
+ /***/ }),
35
+
36
+ /***/ "./src/apps/library-editor/components/folder-details/FolderDetailsComponent.ts":
37
+ /*!*************************************************************************************!*\
38
+ !*** ./src/apps/library-editor/components/folder-details/FolderDetailsComponent.ts ***!
39
+ \*************************************************************************************/
40
+ /*! exports provided: FolderDetailsComponent */
41
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
42
+
43
+ "use strict";
44
+ __webpack_require__.r(__webpack_exports__);
45
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "FolderDetailsComponent", function() { return FolderDetailsComponent; });
46
+ /* harmony import */ var _libs_common_src_backbone__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../../../../libs/common/src/backbone */ "../../libs/common/src/backbone/index.ts");
47
+ /* harmony import */ var _shared_behaviors__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../shared/behaviors */ "./src/shared/behaviors/index.ts");
48
+ /* harmony import */ var _shared_utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../../shared/utils */ "./src/shared/utils/index.ts");
49
+ /* harmony import */ var _shared_components_tree_dropdown_TreeDropdownComponent__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../../shared/components/tree-dropdown/TreeDropdownComponent */ "./src/shared/components/tree-dropdown/TreeDropdownComponent.ts");
50
+ /* harmony import */ var _utils_FolderValidation__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../utils/FolderValidation */ "./src/apps/library-editor/utils/FolderValidation.ts");
51
+ /* harmony import */ var _FolderDetails_hbs__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./FolderDetails.hbs */ "./src/apps/library-editor/components/folder-details/FolderDetails.hbs");
52
+ /* harmony import */ var _FolderDetails_hbs__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_FolderDetails_hbs__WEBPACK_IMPORTED_MODULE_5__);
53
+ 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); }
54
+
55
+ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
56
+
57
+ 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); } }
58
+
59
+ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
60
+
61
+ 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); }
62
+
63
+ function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
64
+
65
+ 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); }; }
66
+
67
+ function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
68
+
69
+ function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
70
+
71
+ 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; } }
72
+
73
+ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
74
+
75
+
76
+
77
+
78
+
79
+
80
+
81
+ var FolderDetailsComponent = /*#__PURE__*/function (_Core$Component) {
82
+ _inherits(FolderDetailsComponent, _Core$Component);
83
+
84
+ var _super = _createSuper(FolderDetailsComponent);
85
+
86
+ function FolderDetailsComponent(options) {
87
+ _classCallCheck(this, FolderDetailsComponent);
88
+
89
+ return _super.call(this, options);
90
+ }
91
+
92
+ _createClass(FolderDetailsComponent, [{
93
+ key: "initialize",
94
+ value: function initialize() {
95
+ this.bindListeners();
96
+ }
97
+ }, {
98
+ key: "bindListeners",
99
+ value: function bindListeners() {
100
+ this.listenTo(this.options.channelName, 'folder:selected', this.onFolderSelected);
101
+ }
102
+ }, {
103
+ key: "regions",
104
+ value: function regions() {
105
+ return {
106
+ parentFolder: '.parent-folder-region'
107
+ };
108
+ }
109
+ }, {
110
+ key: "onFolderSelected",
111
+ value: function onFolderSelected(model, isDisabled) {
112
+ if (!model) return;
113
+ _shared_utils__WEBPACK_IMPORTED_MODULE_2__["FolderTreeHelpers"].setSelected(this.folderTreeKey, model, this.collection, isDisabled);
114
+ if (!isDisabled) this.model.set('parentId', model.get('id'), {
115
+ validate: true
116
+ });
117
+ }
118
+ }, {
119
+ key: "renderSubFolders",
120
+ value: function renderSubFolders() {
121
+ if (!this.options.editParent) return;
122
+ this.showChildView('parentFolder', new _shared_components_tree_dropdown_TreeDropdownComponent__WEBPACK_IMPORTED_MODULE_3__["TreeDropdownComponent"]({
123
+ collection: this.collection,
124
+ channelName: this.options.channelName,
125
+ folderTreeKey: this.folderTreeKey,
126
+ disabledIds: this.options.disabledParentFolderIds
127
+ }));
128
+ }
129
+ }, {
130
+ key: "viewOptions",
131
+ value: function viewOptions() {
132
+ return {
133
+ editName: this.options.editName,
134
+ editParent: this.options.editParent
135
+ };
136
+ }
137
+ }, {
138
+ key: "onRender",
139
+ value: function onRender() {
140
+ this.renderSubFolders();
141
+ }
142
+ }, {
143
+ key: "name",
144
+ get: function get() {
145
+ return 'FolderDetailsComponent';
146
+ }
147
+ }, {
148
+ key: "template",
149
+ get: function get() {
150
+ return _FolderDetails_hbs__WEBPACK_IMPORTED_MODULE_5___default.a;
151
+ }
152
+ }, {
153
+ key: "lang",
154
+ get: function get() {
155
+ return 'libraryEditor.folderDetails';
156
+ }
157
+ }, {
158
+ key: "folderTreeKey",
159
+ get: function get() {
160
+ return this.options.folderTreeKey || "folderselect:".concat(this.cid);
161
+ }
162
+ }, {
163
+ key: "behaviors",
164
+ get: function get() {
165
+ return [{
166
+ behaviorClass: _shared_behaviors__WEBPACK_IMPORTED_MODULE_1__["BackboneValidationBehavior"],
167
+ modelValidation: Object(_utils_FolderValidation__WEBPACK_IMPORTED_MODULE_4__["FolderValidation"])({
168
+ validateName: this.options.editName,
169
+ validateParent: this.options.editParent,
170
+ folder: this.options.model,
171
+ collection: this.options.collection
172
+ })
173
+ }, {
174
+ behaviorClass: _shared_behaviors__WEBPACK_IMPORTED_MODULE_1__["StickitBehavior"]
175
+ }];
176
+ }
177
+ }, {
178
+ key: "bindings",
179
+ get: function get() {
180
+ return {
181
+ '[name=name]': {
182
+ observe: 'name',
183
+ setOptions: {
184
+ validate: true
185
+ }
186
+ }
187
+ };
188
+ }
189
+ }]);
190
+
191
+ return FolderDetailsComponent;
192
+ }(_libs_common_src_backbone__WEBPACK_IMPORTED_MODULE_0__["Core"].Component);
193
+
194
+ /***/ }),
195
+
196
+ /***/ "./src/apps/library-editor/utils/FolderValidation.ts":
197
+ /*!***********************************************************!*\
198
+ !*** ./src/apps/library-editor/utils/FolderValidation.ts ***!
199
+ \***********************************************************/
200
+ /*! exports provided: FolderValidation */
201
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
202
+
203
+ "use strict";
204
+ __webpack_require__.r(__webpack_exports__);
205
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "FolderValidation", function() { return FolderValidation; });
206
+ /* harmony import */ var underscore__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! underscore */ "underscore");
207
+ /* harmony import */ var underscore__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(underscore__WEBPACK_IMPORTED_MODULE_0__);
208
+ /* harmony import */ var _shared_utils_FolderTreeHelpers__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../shared/utils/FolderTreeHelpers */ "./src/shared/utils/FolderTreeHelpers.ts");
209
+ /* harmony import */ var _shared_constants_Misc__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../shared/constants/Misc */ "./src/shared/constants/Misc.ts");
210
+ /* harmony import */ var _libs_common_src_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../../../../libs/common/src/backbone/services/LanguageService */ "../../libs/common/src/backbone/services/LanguageService.tsx");
211
+
212
+
213
+
214
+
215
+ var lang = 'libraryEditor.utils';
216
+ var FolderNameValidation = {
217
+ name: [{
218
+ required: true,
219
+ msg: function msg() {
220
+ return _libs_common_src_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_3__["LanguageService"].getPhrase(lang, 'folderNameRequired');
221
+ }
222
+ }, {
223
+ maxLength: 255,
224
+ msg: function msg() {
225
+ return _libs_common_src_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_3__["LanguageService"].getPhrase(lang, 'folderNameExceeds');
226
+ }
227
+ }]
228
+ };
229
+
230
+ var FolderParentValidation = function FolderParentValidation(folder, collection) {
231
+ return {
232
+ parentId: function parentId(value) {
233
+ if (!value) {
234
+ return _libs_common_src_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_3__["LanguageService"].getPhrase(lang, 'selectParentFolder');
235
+ }
236
+
237
+ var depth = _shared_utils_FolderTreeHelpers__WEBPACK_IMPORTED_MODULE_1__["FolderTreeHelpers"].calculateDestinationFolderDepth(folder, value, collection);
238
+ /**
239
+ * Only allow a move where the destination folder (and the depth of its ancestorss) + the selected folder
240
+ * AND the depth of its children does not exceed the max folder length
241
+ */
242
+
243
+ if (depth > _shared_constants_Misc__WEBPACK_IMPORTED_MODULE_2__["MiscConstants"].MAX_FOLDER_DEPTH) {
244
+ return _libs_common_src_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_3__["LanguageService"].getPhrase(lang, 'maxFolderDepth', {
245
+ maxDepth: _shared_constants_Misc__WEBPACK_IMPORTED_MODULE_2__["MiscConstants"].MAX_FOLDER_DEPTH
246
+ });
247
+ }
248
+
249
+ return '';
250
+ }
251
+ };
252
+ };
253
+
254
+ var FolderValidation = function FolderValidation(options) {
255
+ var validateName = options.validateName,
256
+ validateParent = options.validateParent,
257
+ folder = options.folder,
258
+ collection = options.collection;
259
+ if (validateName && validateParent) return underscore__WEBPACK_IMPORTED_MODULE_0__["extend"]({}, FolderNameValidation, FolderParentValidation(folder, collection));
260
+ if (validateName) return FolderNameValidation;
261
+ if (validateParent) return FolderParentValidation(folder, collection);
262
+ };
263
+
264
+ /***/ }),
265
+
266
+ /***/ "./src/shared/components/tree-dropdown/TreeDropdown.hbs":
267
+ /*!**************************************************************!*\
268
+ !*** ./src/shared/components/tree-dropdown/TreeDropdown.hbs ***!
269
+ \**************************************************************/
270
+ /*! no static exports found */
271
+ /***/ (function(module, exports, __webpack_require__) {
272
+
273
+ var Handlebars = __webpack_require__(/*! handlebars */ "handlebars");
274
+ module.exports = (Handlebars['default'] || Handlebars).template({"1":function(container,depth0,helpers,partials,data) {
275
+ var stack1, alias1=container.propertyIsEnumerable, alias2=container.escapeExpression;
276
+
277
+ return " <button class=\"create-new btn font-weight-bold rounded-0 w-100 text-left "
278
+ + alias2(container.lambda(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.customItem : stack1), depth0))
279
+ + "\">"
280
+ + alias2((helpers.lang||(depth0 && depth0.lang)||container.hooks.helperMissing).call(depth0 != null ? depth0 : (container.nullContext || {}),"createNew",{"name":"lang","hash":{},"data":data}))
281
+ + "</button>\r\n";
282
+ },"compiler":[8,">= 4.3.0"],"main":function(container,depth0,helpers,partials,data) {
283
+ var stack1, alias1=container.propertyIsEnumerable, alias2=container.lambda, alias3=container.escapeExpression;
284
+
285
+ return "<button\r\n class=\""
286
+ + alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.selectBtn : stack1), depth0))
287
+ + " custom-select form-control\"\r\n data-toggle=\"dropdown\"\r\n aria-haspopup=\"true\"\r\n aria-expanded=\"false\"\r\n name="
288
+ + alias3(alias2(((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.name : stack1), depth0))
289
+ + "\r\n>"
290
+ + alias3(alias2(((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.buttonText : stack1), depth0))
291
+ + "</button>\r\n<div class=\"dropdown-menu "
292
+ + alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.selector : stack1), depth0))
293
+ + "\">\r\n <div class=\"selector-region\"></div>\r\n"
294
+ + ((stack1 = helpers["if"].call(depth0 != null ? depth0 : (container.nullContext || {}),((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.canCreateNew : stack1),{"name":"if","hash":{},"fn":container.program(1, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
295
+ + "</div>\r\n<div class=\"form-feedback\"></div>";
296
+ },"useData":true});
297
+
298
+ /***/ }),
299
+
300
+ /***/ "./src/shared/components/tree-dropdown/TreeDropdownComponent.ts":
301
+ /*!**********************************************************************!*\
302
+ !*** ./src/shared/components/tree-dropdown/TreeDropdownComponent.ts ***!
303
+ \**********************************************************************/
304
+ /*! exports provided: TreeDropdownComponent */
305
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
306
+
307
+ "use strict";
308
+ __webpack_require__.r(__webpack_exports__);
309
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "TreeDropdownComponent", function() { return TreeDropdownComponent; });
310
+ /* harmony import */ var backbone__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! backbone */ "backbone");
311
+ /* harmony import */ var backbone__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(backbone__WEBPACK_IMPORTED_MODULE_0__);
312
+ /* harmony import */ var _libs_common_src_backbone__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../../../libs/common/src/backbone */ "../../libs/common/src/backbone/index.ts");
313
+ /* harmony import */ var _libs_common_src_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../../../../libs/common/src/backbone/services/LanguageService */ "../../libs/common/src/backbone/services/LanguageService.tsx");
314
+ /* harmony import */ var _left_nav_LeftNavComponent__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../left-nav/LeftNavComponent */ "./src/shared/components/left-nav/LeftNavComponent.ts");
315
+ /* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../utils */ "./src/shared/utils/index.ts");
316
+ /* harmony import */ var _TreeDropdown_hbs__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./TreeDropdown.hbs */ "./src/shared/components/tree-dropdown/TreeDropdown.hbs");
317
+ /* harmony import */ var _TreeDropdown_hbs__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_TreeDropdown_hbs__WEBPACK_IMPORTED_MODULE_5__);
318
+ /* harmony import */ var _tree_dropdown_scss__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./tree-dropdown.scss */ "./src/shared/components/tree-dropdown/tree-dropdown.scss");
319
+ /* harmony import */ var _tree_dropdown_scss__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_tree_dropdown_scss__WEBPACK_IMPORTED_MODULE_6__);
320
+ 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); }
321
+
322
+ 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; }
323
+
324
+ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
325
+
326
+ 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); } }
327
+
328
+ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
329
+
330
+ 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); }
331
+
332
+ function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
333
+
334
+ 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); }; }
335
+
336
+ function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
337
+
338
+ function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
339
+
340
+ 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; } }
341
+
342
+ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
343
+
344
+
345
+
346
+
347
+
348
+
349
+
350
+
351
+ var TreeDropdownComponent = /*#__PURE__*/function (_Core$Component) {
352
+ _inherits(TreeDropdownComponent, _Core$Component);
353
+
354
+ var _super = _createSuper(TreeDropdownComponent);
355
+
356
+ function TreeDropdownComponent(options) {
357
+ _classCallCheck(this, TreeDropdownComponent);
358
+
359
+ return _super.call(this, options);
360
+ }
361
+
362
+ _createClass(TreeDropdownComponent, [{
363
+ key: "initialize",
364
+ value: function initialize() {
365
+ this.listenTo(this.options.channelName, 'folder:selected new:folder:selected', this.setButtonText);
366
+ this.listenTo(this.options.channelName, 're:render:selector', this.renderSelector);
367
+ this.disabledIds = this.options.disabledIds && this.options.disabledIds.reduce(function (obj, id) {
368
+ return Object.assign(Object.assign({}, obj), _defineProperty({}, id, true));
369
+ }, {});
370
+ }
371
+ }, {
372
+ key: "regions",
373
+ value: function regions() {
374
+ return {
375
+ selector: {
376
+ el: '.selector-region',
377
+ replaceElement: false
378
+ }
379
+ };
380
+ }
381
+ }, {
382
+ key: "events",
383
+ value: function events() {
384
+ return {
385
+ 'click .create-new': 'onClickCreateNew'
386
+ };
387
+ }
388
+ }, {
389
+ key: "onClickCreateNew",
390
+ value: function onClickCreateNew(e) {
391
+ e.preventDefault();
392
+ var channel = backbone__WEBPACK_IMPORTED_MODULE_0__["Radio"].channel(this.options.channelName);
393
+ channel.trigger('create:folder:clicked');
394
+ }
395
+ }, {
396
+ key: "setButtonText",
397
+ value: function setButtonText(model, isDisabled) {
398
+ if (!model || isDisabled) {
399
+ var selection = _utils__WEBPACK_IMPORTED_MODULE_4__["FolderTreeHelpers"].getSelected(this.options.folderTreeKey, this.collection);
400
+ var text = selection ? selection.get('name') : _libs_common_src_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_2__["LanguageService"].getPhrase(this.lang, 'button');
401
+ this.getUI('button').text(text);
402
+ return;
403
+ }
404
+
405
+ var name = model.get('name');
406
+ this.getUI('button').text(name);
407
+ }
408
+ }, {
409
+ key: "renderSelector",
410
+ value: function renderSelector() {
411
+ // TODO: analytics
412
+ this.showChildView('selector', new _left_nav_LeftNavComponent__WEBPACK_IMPORTED_MODULE_3__["LeftNavComponent"]({
413
+ styles: _tree_dropdown_scss__WEBPACK_IMPORTED_MODULE_6___default.a,
414
+ collection: this.collection,
415
+ channelName: this.options.channelName,
416
+ childrenProperty: 'children',
417
+ folderTreeId: this.options.folderTreeKey,
418
+ extraClass: _tree_dropdown_scss__WEBPACK_IMPORTED_MODULE_6___default.a.list,
419
+ extraClasses: _tree_dropdown_scss__WEBPACK_IMPORTED_MODULE_6___default.a.list,
420
+ isSelector: true,
421
+ disabledIds: this.disabledIds || {}
422
+ }));
423
+ }
424
+ }, {
425
+ key: "viewOptions",
426
+ value: function viewOptions() {
427
+ return {
428
+ styles: _tree_dropdown_scss__WEBPACK_IMPORTED_MODULE_6___default.a,
429
+ name: this.options.name || this.options.channelName,
430
+ buttonText: this.buttonText,
431
+ canCreateNew: this.options.canCreateNew
432
+ };
433
+ }
434
+ }, {
435
+ key: "onRender",
436
+ value: function onRender() {
437
+ this.setButtonText();
438
+ this.renderSelector();
439
+ }
440
+ }, {
441
+ key: "name",
442
+ get: function get() {
443
+ return 'TreeDropdownComponent';
444
+ }
445
+ }, {
446
+ key: "template",
447
+ get: function get() {
448
+ return _TreeDropdown_hbs__WEBPACK_IMPORTED_MODULE_5___default.a;
449
+ }
450
+ }, {
451
+ key: "className",
452
+ get: function get() {
453
+ return 'position-relative';
454
+ }
455
+ }, {
456
+ key: "lang",
457
+ get: function get() {
458
+ return 'libraryEditor.treeDropdown';
459
+ }
460
+ }, {
461
+ key: "defaults",
462
+ get: function get() {
463
+ return {
464
+ disabledIds: []
465
+ };
466
+ }
467
+ }, {
468
+ key: "elements",
469
+ get: function get() {
470
+ return {
471
+ button: '.custom-select'
472
+ };
473
+ }
474
+ }]);
475
+
476
+ return TreeDropdownComponent;
477
+ }(_libs_common_src_backbone__WEBPACK_IMPORTED_MODULE_1__["Core"].Component);
478
+
479
+ /***/ }),
480
+
481
+ /***/ "./src/shared/components/tree-dropdown/tree-dropdown.scss":
482
+ /*!****************************************************************!*\
483
+ !*** ./src/shared/components/tree-dropdown/tree-dropdown.scss ***!
484
+ \****************************************************************/
485
+ /*! no static exports found */
486
+ /***/ (function(module, exports, __webpack_require__) {
487
+
488
+ // extracted by mini-css-extract-plugin
489
+ module.exports = {"selectBtn":"cv--selectBtn--2TTgs","list":"cv--list--3wN7o","selector":"cv--selector--3Xf1P","customItem":"cv--customItem--199PI"};
490
+
491
+ /***/ }),
492
+
493
+ /***/ "./src/shared/models/DisabledSpinnerModel.ts":
494
+ /*!***************************************************!*\
495
+ !*** ./src/shared/models/DisabledSpinnerModel.ts ***!
496
+ \***************************************************/
497
+ /*! exports provided: DisabledSpinnerModel */
498
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
499
+
500
+ "use strict";
501
+ __webpack_require__.r(__webpack_exports__);
502
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "DisabledSpinnerModel", function() { return DisabledSpinnerModel; });
503
+ /* harmony import */ var _libs_common_src_backbone__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../../libs/common/src/backbone */ "../../libs/common/src/backbone/index.ts");
504
+ /* harmony import */ var _components_spinner_button_SpinnerButtonComponent__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../components/spinner-button/SpinnerButtonComponent */ "./src/shared/components/spinner-button/SpinnerButtonComponent.ts");
505
+ 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); }
506
+
507
+ 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; }
508
+
509
+ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
510
+
511
+ 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); } }
512
+
513
+ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
514
+
515
+ 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); }
516
+
517
+ function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
518
+
519
+ 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); }; }
520
+
521
+ function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
522
+
523
+ function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
524
+
525
+ 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; } }
526
+
527
+ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
528
+
529
+
530
+
531
+ var DisabledSpinnerModel = /*#__PURE__*/function (_Core$Model) {
532
+ _inherits(DisabledSpinnerModel, _Core$Model);
533
+
534
+ var _super = _createSuper(DisabledSpinnerModel);
535
+
536
+ function DisabledSpinnerModel() {
537
+ _classCallCheck(this, DisabledSpinnerModel);
538
+
539
+ return _super.apply(this, arguments);
540
+ }
541
+
542
+ _createClass(DisabledSpinnerModel, [{
543
+ key: "defaults",
544
+ value: function defaults() {
545
+ return _defineProperty({}, _components_spinner_button_SpinnerButtonComponent__WEBPACK_IMPORTED_MODULE_1__["SpinnerButtonModelAttributes"].Disabled, true);
546
+ }
547
+ }]);
548
+
549
+ return DisabledSpinnerModel;
550
+ }(_libs_common_src_backbone__WEBPACK_IMPORTED_MODULE_0__["Core"].Model);
551
+
552
+ /***/ })
553
+
554
+ }]);
555
+ //# sourceMappingURL=12.chunk.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["file://C:/ClickView Projects/@clickview/packages/projects/library-editor/src/apps/library-editor/components/folder-details/FolderDetails.hbs","file://C:/ClickView Projects/@clickview/packages/projects/library-editor/src/apps/library-editor/components/folder-details/FolderDetailsComponent.ts","file://C:/ClickView Projects/@clickview/packages/projects/library-editor/src/apps/library-editor/utils/FolderValidation.ts","file://C:/ClickView Projects/@clickview/packages/projects/library-editor/src/shared/components/tree-dropdown/TreeDropdown.hbs","file://C:/ClickView Projects/@clickview/packages/projects/library-editor/src/shared/components/tree-dropdown/TreeDropdownComponent.ts","webpack://@clickview/library-editor/./src/shared/components/tree-dropdown/tree-dropdown.scss?dd84","file://C:/ClickView Projects/@clickview/packages/projects/library-editor/src/shared/models/DisabledSpinnerModel.ts"],"names":[],"mappings":"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","file":"scripts/12.chunk.js","sourcesContent":["var Handlebars = require('handlebars');\nmodule.exports = (Handlebars['default'] || Handlebars).template({\"1\":function(container,depth0,helpers,partials,data) {\n var alias1=container.propertyIsEnumerable, alias2=depth0 != null ? depth0 : (container.nullContext || {}), alias3=container.hooks.helperMissing, alias4=container.escapeExpression;\n\n return \" <div class=\\\"form-group\\\">\\r\\n <label for=\\\"name\\\" class=\\\"control-label\\\">\"\n + alias4((helpers.lang||(depth0 && depth0.lang)||alias3).call(alias2,\"name\",{\"name\":\"lang\",\"hash\":{},\"data\":data}))\n + \"</label>\\r\\n <input name=\\\"name\\\" id=\\\"name\\\" type=\\\"text\\\" class=\\\"form-control\\\" placeholder=\\\"\"\n + alias4((helpers.lang||(depth0 && depth0.lang)||alias3).call(alias2,\"namePlaceholder\",{\"name\":\"lang\",\"hash\":{},\"data\":data}))\n + \"\\\" autocomplete=\\\"off\\\" autofocus/>\\r\\n <div class=\\\"form-feedback\\\"></div>\\r\\n </div>\\r\\n\";\n},\"3\":function(container,depth0,helpers,partials,data) {\n var alias1=container.propertyIsEnumerable;\n\n return \" <div class=\\\"form-group pt-2\\\">\\r\\n <label for=\\\"parentId\\\" class=\\\"control-label\\\">\"\n + container.escapeExpression((helpers.lang||(depth0 && depth0.lang)||container.hooks.helperMissing).call(depth0 != null ? depth0 : (container.nullContext || {}),\"parent\",{\"name\":\"lang\",\"hash\":{},\"data\":data}))\n + \"</label>\\r\\n <div class=\\\"parent-folder-region\\\"></div>\\r\\n </div>\\r\\n\";\n},\"compiler\":[8,\">= 4.3.0\"],\"main\":function(container,depth0,helpers,partials,data) {\n var stack1, alias1=container.propertyIsEnumerable, alias2=depth0 != null ? depth0 : (container.nullContext || {});\n\n return \"<form>\\r\\n\"\n + ((stack1 = helpers[\"if\"].call(alias2,((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.editName : stack1),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(1, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n + ((stack1 = helpers[\"if\"].call(alias2,((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.editParent : stack1),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(3, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n + \"</form>\";\n},\"useData\":true});","import { Core } from 'libs/common/core';\r\nimport { ObjectHash } from 'backbone';\r\n\r\nimport { Folder } from 'shared/models/Folder';\r\nimport { Library } from 'shared/models/Library';\r\nimport { FolderCollection } from 'shared/collections/FolderCollection';\r\nimport { BackboneValidationBehavior, StickitBehavior } from 'shared/behaviors';\r\nimport { FolderTreeHelpers } from 'shared/utils';\r\nimport { TreeDropdownComponent } from 'shared/components/tree-dropdown/TreeDropdownComponent';\r\n\r\nimport { FolderValidation } from 'apps/library-editor/utils/FolderValidation';\r\n\r\nimport FolderDetailsTemplate from './FolderDetails.hbs';\r\n\r\ninterface FolderDetailsComponentOptions extends Core.ComponentOptions{\r\n model: Folder;\r\n collection?: FolderCollection;\r\n library?: Library;\r\n channelName: string;\r\n editName: boolean;\r\n editParent: boolean;\r\n disabledParentFolderIds?: string[];\r\n folderTreeKey?: string;\r\n}\r\n\r\nexport class FolderDetailsComponent extends Core.Component {\r\n public options: FolderDetailsComponentOptions;\r\n public model: Folder;\r\n public collection: FolderCollection;\r\n\r\n constructor(options: FolderDetailsComponentOptions) {\r\n super(options);\r\n }\r\n\r\n public initialize(): void {\r\n this.bindListeners();\r\n }\r\n\r\n private bindListeners(): void {\r\n this.listenTo(this.options.channelName, 'folder:selected', this.onFolderSelected);\r\n }\r\n\r\n public get name(): string {\r\n return 'FolderDetailsComponent';\r\n }\r\n\r\n public get template(): any {\r\n return FolderDetailsTemplate;\r\n }\r\n\r\n public get lang(): string {\r\n return 'libraryEditor.folderDetails';\r\n }\r\n\r\n public get folderTreeKey(): string {\r\n return this.options.folderTreeKey || `folderselect:${this.cid}`;\r\n }\r\n\r\n public regions(): ObjectHash {\r\n return {\r\n parentFolder: '.parent-folder-region'\r\n };\r\n }\r\n\r\n public get behaviors(): any[] {\r\n return [{\r\n behaviorClass: BackboneValidationBehavior,\r\n modelValidation: FolderValidation({\r\n validateName: this.options.editName,\r\n validateParent: this.options.editParent,\r\n folder: this.options.model,\r\n collection: this.options.collection\r\n })\r\n }, {\r\n behaviorClass: StickitBehavior\r\n }];\r\n }\r\n\r\n public get bindings(): ObjectHash {\r\n return {\r\n '[name=name]': {\r\n observe: 'name',\r\n setOptions: { validate: true }\r\n }\r\n };\r\n }\r\n\r\n public onFolderSelected(model: Folder, isDisabled: boolean): void {\r\n if (!model)\r\n return;\r\n\r\n FolderTreeHelpers.setSelected(this.folderTreeKey, model, this.collection, isDisabled);\r\n\r\n if (!isDisabled)\r\n this.model.set('parentId', model.get('id'), { validate: true });\r\n }\r\n\r\n public renderSubFolders(): void {\r\n if (!this.options.editParent)\r\n return;\r\n\r\n this.showChildView('parentFolder', new TreeDropdownComponent({\r\n collection: this.collection,\r\n channelName: this.options.channelName,\r\n folderTreeKey: this.folderTreeKey,\r\n disabledIds: this.options.disabledParentFolderIds\r\n }));\r\n }\r\n\r\n public viewOptions(): ObjectHash {\r\n return {\r\n editName: this.options.editName,\r\n editParent: this.options.editParent\r\n };\r\n }\r\n\r\n public onRender(): void {\r\n this.renderSubFolders();\r\n }\r\n}","import * as _ from 'underscore';\r\nimport { ObjectHash } from 'backbone';\r\n\r\nimport { FolderCollection } from 'shared/collections/FolderCollection';\r\nimport { FolderTreeHelpers } from 'shared/utils/FolderTreeHelpers';\r\nimport { MiscConstants } from 'shared/constants/Misc';\r\nimport { LanguageService } from 'libs/common/backbone/services/LanguageService';\r\nimport { Folder } from 'shared/models/Folder';\r\n\r\nconst lang = 'libraryEditor.utils';\r\n\r\nconst FolderNameValidation: ObjectHash = {\r\n name: [\r\n { required: true, msg: () => LanguageService.getPhrase(lang, 'folderNameRequired') },\r\n { maxLength: 255, msg: () => LanguageService.getPhrase(lang, 'folderNameExceeds') },\r\n ]\r\n};\r\n\r\nconst FolderParentValidation = (folder: Folder, collection: FolderCollection) => {\r\n return {\r\n parentId: (value: string) => {\r\n if (!value) {\r\n return LanguageService.getPhrase(lang, 'selectParentFolder');\r\n }\r\n\r\n const depth = FolderTreeHelpers.calculateDestinationFolderDepth(folder, value, collection);\r\n\r\n /**\r\n * Only allow a move where the destination folder (and the depth of its ancestorss) + the selected folder\r\n * AND the depth of its children does not exceed the max folder length\r\n */\r\n if (depth > MiscConstants.MAX_FOLDER_DEPTH) {\r\n return LanguageService.getPhrase(lang, 'maxFolderDepth', {\r\n maxDepth: MiscConstants.MAX_FOLDER_DEPTH\r\n });\r\n }\r\n\r\n return '';\r\n }\r\n };\r\n};\r\n\r\nexport const FolderValidation = (options: ObjectHash) => {\r\n const { validateName, validateParent, folder, collection } = options;\r\n\r\n if (validateName && validateParent)\r\n return _.extend({}, FolderNameValidation, FolderParentValidation(folder, collection));\r\n\r\n if (validateName)\r\n return FolderNameValidation;\r\n\r\n if (validateParent)\r\n return FolderParentValidation(folder, collection);\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, alias2=container.escapeExpression;\n\n return \" <button class=\\\"create-new btn font-weight-bold rounded-0 w-100 text-left \"\n + alias2(container.lambda(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.customItem : stack1), depth0))\n + \"\\\">\"\n + alias2((helpers.lang||(depth0 && depth0.lang)||container.hooks.helperMissing).call(depth0 != null ? depth0 : (container.nullContext || {}),\"createNew\",{\"name\":\"lang\",\"hash\":{},\"data\":data}))\n + \"</button>\\r\\n\";\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;\n\n return \"<button\\r\\n class=\\\"\"\n + alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.selectBtn : stack1), depth0))\n + \" custom-select form-control\\\"\\r\\n data-toggle=\\\"dropdown\\\"\\r\\n aria-haspopup=\\\"true\\\"\\r\\n aria-expanded=\\\"false\\\"\\r\\n name=\"\n + alias3(alias2(((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.name : stack1), depth0))\n + \"\\r\\n>\"\n + alias3(alias2(((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.buttonText : stack1), depth0))\n + \"</button>\\r\\n<div class=\\\"dropdown-menu \"\n + alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.selector : stack1), depth0))\n + \"\\\">\\r\\n <div class=\\\"selector-region\\\"></div>\\r\\n\"\n + ((stack1 = helpers[\"if\"].call(depth0 != null ? depth0 : (container.nullContext || {}),((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.canCreateNew : stack1),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(1, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n + \"</div>\\r\\n<div class=\\\"form-feedback\\\"></div>\";\n},\"useData\":true});","import { ObjectHash, Radio } from 'backbone';\r\n\r\nimport { Core } from 'libs/common/core';\r\nimport { LanguageService } from 'libs/common/backbone/services/LanguageService';\r\n\r\nimport { FolderCollection } from 'shared/collections/FolderCollection';\r\nimport { LeftNavComponent } from 'shared/components/left-nav/LeftNavComponent';\r\nimport { FolderTreeHelpers } from 'shared/utils';\r\n\r\nimport TreeDropdownTemplate from './TreeDropdown.hbs';\r\nimport styles from './tree-dropdown.scss';\r\n\r\ninterface TreeDropdownComponentOptions extends Core.ComponentOptions {\r\n folderTreeKey: string;\r\n canCreateNew?: boolean;\r\n disabledIds?: string[];\r\n name?: string;\r\n}\r\n\r\nexport class TreeDropdownComponent extends Core.Component {\r\n public options: TreeDropdownComponentOptions;\r\n public collection: FolderCollection;\r\n\r\n private buttonText: string;\r\n private disabledIds: ObjectHash;\r\n\r\n constructor(options: TreeDropdownComponentOptions) {\r\n super(options);\r\n }\r\n\r\n public initialize(): void {\r\n this.listenTo(this.options.channelName, 'folder:selected new:folder:selected', this.setButtonText);\r\n this.listenTo(this.options.channelName, 're:render:selector', this.renderSelector);\r\n\r\n this.disabledIds = this.options.disabledIds && this.options.disabledIds.reduce((obj, id) => ({\r\n ...obj,\r\n [id]: true\r\n }), {});\r\n }\r\n\r\n public get name(): string {\r\n return 'TreeDropdownComponent';\r\n }\r\n\r\n public get template(): string {\r\n return TreeDropdownTemplate;\r\n }\r\n\r\n public get className(): string {\r\n return 'position-relative';\r\n }\r\n\r\n public get lang(): string {\r\n return 'libraryEditor.treeDropdown';\r\n }\r\n\r\n public regions(): ObjectHash {\r\n return {\r\n selector: {\r\n el: '.selector-region',\r\n replaceElement: false\r\n }\r\n };\r\n }\r\n\r\n public events(): ObjectHash {\r\n return {\r\n 'click .create-new': 'onClickCreateNew'\r\n };\r\n }\r\n\r\n public get defaults(): ObjectHash {\r\n return {\r\n disabledIds: []\r\n };\r\n }\r\n\r\n public get elements(): ObjectHash {\r\n return {\r\n button: '.custom-select'\r\n };\r\n }\r\n\r\n public onClickCreateNew(e: JQuery.Event): void {\r\n e.preventDefault();\r\n\r\n const channel = Radio.channel(this.options.channelName);\r\n channel.trigger('create:folder:clicked');\r\n }\r\n\r\n private setButtonText(model?: Core.Model, isDisabled?: boolean): void {\r\n if (!model || isDisabled) {\r\n const selection = FolderTreeHelpers.getSelected(this.options.folderTreeKey, this.collection);\r\n\r\n const text = selection ? selection.get('name') : LanguageService.getPhrase(this.lang, 'button');\r\n this.getUI('button').text(text);\r\n\r\n return;\r\n }\r\n\r\n const name = model.get('name');\r\n\r\n this.getUI('button').text(name);\r\n }\r\n\r\n private renderSelector(): void {\r\n // TODO: analytics\r\n this.showChildView('selector', new LeftNavComponent({\r\n styles,\r\n collection: this.collection,\r\n channelName: this.options.channelName,\r\n childrenProperty: 'children',\r\n folderTreeId: this.options.folderTreeKey,\r\n extraClass: styles.list,\r\n extraClasses: styles.list,\r\n isSelector: true,\r\n disabledIds: this.disabledIds || {}\r\n }));\r\n }\r\n\r\n public viewOptions(): ObjectHash {\r\n return {\r\n styles,\r\n name: this.options.name || this.options.channelName,\r\n buttonText: this.buttonText,\r\n canCreateNew: this.options.canCreateNew\r\n };\r\n }\r\n\r\n public onRender(): void {\r\n this.setButtonText();\r\n this.renderSelector();\r\n }\r\n}","// extracted by mini-css-extract-plugin\nmodule.exports = {\"selectBtn\":\"cv--selectBtn--2TTgs\",\"list\":\"cv--list--3wN7o\",\"selector\":\"cv--selector--3Xf1P\",\"customItem\":\"cv--customItem--199PI\"};","import { ObjectHash } from 'backbone';\r\nimport { Core } from 'libs/common/core';\r\nimport { SpinnerButtonModelAttributes } from 'shared/components/spinner-button/SpinnerButtonComponent';\r\n\r\nexport class DisabledSpinnerModel extends Core.Model {\r\n public defaults(): ObjectHash {\r\n return {\r\n [SpinnerButtonModelAttributes.Disabled]: true\r\n };\r\n }\r\n}"],"sourceRoot":""}