@orangelogic/design-system 2.0.0-29DUO2-beta-3 → 2.0.0-29IORR-beta-2

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 (307) hide show
  1. package/library/chunks/{AxisLabelRadial.CgPb7ghO.js → AxisLabelRadial.Bs1P_q_F.js} +1 -1
  2. package/library/chunks/{BaseColumnSeries.B6rG-Ylz.js → BaseColumnSeries.C7jwOxIJ.js} +1 -1
  3. package/library/chunks/{CandlestickSeries.C-YfO-57.js → CandlestickSeries.CkXGtRWE.js} +2 -2
  4. package/library/chunks/{Circle.DhoXSsjo.js → Circle.DBa5Ok8V.js} +1 -1
  5. package/library/chunks/{ColumnSeries.CZi2LBZ2.js → ColumnSeries.DGazbfza.js} +2 -2
  6. package/library/chunks/{EditableAxisLabel.CykTMTsG.js → EditableAxisLabel.wN0t_G2B.js} +2 -2
  7. package/library/chunks/{EditableLabel.BlQ7B4D0.js → EditableLabel.BWeq6fgX.js} +1 -1
  8. package/library/chunks/{Gradient.BQ0JzFEe.js → Gradient.CdcsPIru.js} +1 -1
  9. package/library/chunks/{LinearGradient.DuVS2EHe.js → LinearGradient.B1z9AGUt.js} +2 -2
  10. package/library/chunks/{Picture.DRO0jnR6.js → Picture.YSPC0l0Q.js} +1 -1
  11. package/library/chunks/{Polygon.DEO3f_qs.js → Polygon.BwMvXN2H.js} +1 -1
  12. package/library/chunks/{ProgressPie.Bryx2w1J.js → ProgressPie.DlCwXN17.js} +5 -5
  13. package/library/chunks/{RadialLabel.TyXECvYG.js → RadialLabel.DyVOf2K8.js} +1 -1
  14. package/library/chunks/{Scrollbar.DK48nKk4.js → Scrollbar.BdZVb_Z-.js} +1 -1
  15. package/library/chunks/{Slice.DbXRplXx.js → Slice.DiEswWa6.js} +1 -1
  16. package/library/chunks/{Slider.B27osQYu.js → Slider.C20No2z5.js} +1 -1
  17. package/library/chunks/{SpriteResizer.C4wFzD_x.js → SpriteResizer.DFnmcy0h.js} +1 -1
  18. package/library/chunks/{Triangle.BEmFiHyd.js → Triangle.BaOef7HV.js} +1 -1
  19. package/library/chunks/{ZoomTools.CBqjLDqb.js → ZoomTools.D5JPehoL.js} +1 -1
  20. package/library/chunks/{_baseUniq.Df-fLIBx.js → _baseUniq.BUihBa8c.js} +56 -53
  21. package/library/chunks/{am-chart.B_OdX4Q-.js → am-chart.H2jnOzFc.js} +254 -262
  22. package/library/chunks/{animation.DfUHRQry.js → animation.7ifl4x2S.js} +4 -8
  23. package/library/chunks/array.DCtvHiLS.js +81 -0
  24. package/library/chunks/asset.D7E0-cUV.js +460 -0
  25. package/library/chunks/{button.KnE3mcyM.js → button.CauAHfdl.js} +10 -45
  26. package/library/chunks/button.styles.CKqn956w.js +5 -0
  27. package/library/chunks/{capitalize.WSkCXkNE.js → capitalize.CNStXZBq.js} +1 -1
  28. package/library/chunks/{color-swatch-group.p3Sdqlat.js → color-swatch-group.D5BP2W3P.js} +50 -220
  29. package/library/chunks/{color-swatch.C0oPHfOu.js → color-swatch.2HS4bc3N.js} +20 -204
  30. package/library/chunks/{colorPicker.CJwbdhtn.js → colorPicker.06n6P3aK.js} +5 -5
  31. package/library/chunks/component.styles.CRO4Odto.js +5 -0
  32. package/library/chunks/confirm-popover.DmGAMS8X.js +121 -0
  33. package/library/chunks/{cropper.tSDgXKqJ.js → cropper.ZU2Dy-MM.js} +8182 -8540
  34. package/library/chunks/{dialog.DpZBbTCn.js → dialog.2UW1LNm1.js} +117 -314
  35. package/library/chunks/{dom.BQVKDNd8.js → dom.BslZF2Y_.js} +1 -1
  36. package/library/chunks/dot-pagination.DsAfSNzr.js +204 -0
  37. package/library/chunks/{endpoints.B7lcoc1N.js → endpoints.Fpyb8xvv.js} +214 -203
  38. package/library/chunks/{exporting.DCqJtW6l.js → exporting.Chnl3UWi.js} +2 -2
  39. package/library/chunks/file-on-demand.Dig_iVvx.js +1956 -0
  40. package/library/chunks/{flow.Ch1rU01m.js → flow.D2CqFQa7.js} +5 -5
  41. package/library/chunks/folder-select.BT1drT8C.js +775 -0
  42. package/library/chunks/form-control.styles.CaGWmeAS.js +5 -0
  43. package/library/chunks/{form.DgwYWi0O.js → form.CFc09rKh.js} +1 -1
  44. package/library/chunks/{gantt.rWdF_jmG.js → gantt.DSHD2gjO.js} +8 -8
  45. package/library/chunks/header.BePZwMCQ.js +170 -0
  46. package/library/chunks/{hierarchy.HoRJAu6S.js → hierarchy.DwVsMmsP.js} +5 -5
  47. package/library/chunks/{hub-connection.CfARlehM.js → hub-connection.Ot2odiCz.js} +1 -1
  48. package/library/chunks/{i18n.C0iakJkV.js → i18n.BFqTRDCA.js} +19 -12
  49. package/library/chunks/icon-button.rKe0N4VB.js +149 -0
  50. package/library/chunks/iframe.DznmlYpV.js +73 -0
  51. package/library/chunks/{image.C9avagDq.js → image.CEtCGsNL.js} +275 -488
  52. package/library/chunks/{index.D2JPKXqq.js → index.C9khsiad.js} +17 -17
  53. package/library/chunks/isObjectLike.z36Fu426.js +34 -0
  54. package/library/chunks/{isSymbol.huJ_Cvxt.js → isSymbol.L0C2ND_U.js} +1 -1
  55. package/library/chunks/{json.DHNMAC-m.js → json.zyETMOw-.js} +3 -3
  56. package/library/chunks/{list-editor.B2mFE9f7.js → list-editor.CJ96S1Np.js} +58 -372
  57. package/library/chunks/{map.BHmZ4Crx.js → map.CqM2O6LB.js} +2 -2
  58. package/library/chunks/option.COnEtd3X.js +123 -0
  59. package/library/chunks/{overlayscrollbars.XhGWx9Zk.js → overlayscrollbars.BMav4RQ4.js} +252 -958
  60. package/library/chunks/pagination.DaD9Yul6.js +334 -0
  61. package/library/chunks/{percent.CM9cr1H3.js → percent.DuQwbCCg.js} +3 -3
  62. package/library/chunks/{radar.CQUnnhGk.js → radar.FpYl3UH5.js} +4 -4
  63. package/library/chunks/{responsive.CrX-HUow.js → responsive.BndCeSg0.js} +1 -1
  64. package/library/chunks/{sliceGrouper.iv1p8MAK.js → sliceGrouper.BsE7fGMt.js} +1 -1
  65. package/library/chunks/{stock.CU0y6a5P.js → stock.BR-ag4Pt.js} +9 -9
  66. package/library/chunks/string.BigZhczf.js +185 -0
  67. package/library/chunks/{tab-group.05PY0smt.js → tab-group.0Po0eoxR.js} +33 -584
  68. package/library/chunks/{table.DNTm_GMS.js → table.WNd284in.js} +3535 -4852
  69. package/library/chunks/{timeline.yzdwtGKM.js → timeline.DkzkmgEM.js} +5 -5
  70. package/library/chunks/{toString.CRT5zqEU.js → toString.CL_lYXbK.js} +3 -3
  71. package/library/chunks/toast.B2cJgW5u.js +71 -0
  72. package/library/chunks/transformation.CzBptarI.js +140 -0
  73. package/library/chunks/{tree.CeMLCbs-.js → tree.QCQd_cuc.js} +32 -400
  74. package/library/chunks/typography.DJC_UXgs.js +52 -0
  75. package/library/chunks/url.Cj9cIQXJ.js +27 -0
  76. package/library/chunks/{venn.BOEi13la.js → venn.D739bOV3.js} +1 -1
  77. package/library/chunks/watch.BCJD77bD.js +547 -0
  78. package/library/chunks/{wc.V-lq02JF.js → wc.DzW311D-.js} +1 -1
  79. package/library/chunks/{xy.Df1hy9ac.js → xy.DCRDfTsa.js} +10 -10
  80. package/library/components/alert.js +11 -179
  81. package/library/components/am-chart.js +3 -3
  82. package/library/components/animated-image.js +13 -101
  83. package/library/components/animation.js +3 -3
  84. package/library/components/array-line-clamp.js +8 -89
  85. package/library/components/asset-link-format.js +718 -1380
  86. package/library/components/atoms.js +18 -18
  87. package/library/components/avatar.js +6 -95
  88. package/library/components/badge.js +11 -139
  89. package/library/components/bicolor-picker.js +4 -23
  90. package/library/components/border-input-group.js +5 -26
  91. package/library/components/breadcrumb-item.js +25 -156
  92. package/library/components/breadcrumb.js +4 -22
  93. package/library/components/button-group.js +3 -28
  94. package/library/components/button.js +6 -6
  95. package/library/components/card.js +4 -126
  96. package/library/components/checkbox.js +13 -254
  97. package/library/components/color-picker.js +57 -728
  98. package/library/components/color-swatch-group.js +9 -9
  99. package/library/components/color-swatch.js +5 -5
  100. package/library/components/confirm-popover.js +6 -6
  101. package/library/components/copy-button.js +11 -256
  102. package/library/components/corner-position-input-group.js +5 -58
  103. package/library/components/cropper.js +2 -2
  104. package/library/components/details.js +6 -152
  105. package/library/components/dialog.js +6 -6
  106. package/library/components/divider.js +6 -68
  107. package/library/components/dot-pagination.js +4 -4
  108. package/library/components/dot-status.js +25 -95
  109. package/library/components/drawer.js +11 -242
  110. package/library/components/dropdown.js +49 -151
  111. package/library/components/dynamic-select.js +10 -75
  112. package/library/components/e-chart.js +8 -51
  113. package/library/components/element-clamp.js +7 -80
  114. package/library/components/file-on-demand.js +13 -13
  115. package/library/components/folder-select.js +9 -7
  116. package/library/components/format-bytes.js +1 -1
  117. package/library/components/format-date.js +3 -7
  118. package/library/components/format-number.js +1 -1
  119. package/library/components/format-time.js +4 -14
  120. package/library/components/grid-item.js +5 -172
  121. package/library/components/grid.js +5 -41
  122. package/library/components/header.js +4 -4
  123. package/library/components/hub-connection.js +2 -2
  124. package/library/components/icon-button.js +14 -679
  125. package/library/components/icon.js +9 -2449
  126. package/library/components/iframe.js +4 -4
  127. package/library/components/image-comparer.js +9 -129
  128. package/library/components/image.js +4 -4
  129. package/library/components/include.js +3 -7
  130. package/library/components/input-group.js +4 -29
  131. package/library/components/input.js +358 -966
  132. package/library/components/line-clamp.js +7 -83
  133. package/library/components/list-editor.js +9 -9
  134. package/library/components/markdown.js +2 -4
  135. package/library/components/masonry.js +24 -223
  136. package/library/components/menu-item.js +155 -445
  137. package/library/components/menu-label.js +3 -20
  138. package/library/components/menu-section.js +3 -17
  139. package/library/components/menu.js +5 -113
  140. package/library/components/molecules.js +5 -5
  141. package/library/components/mutation-observer.js +3 -7
  142. package/library/components/option.js +4 -4
  143. package/library/components/organisms.js +2 -2
  144. package/library/components/padding-input-group.js +5 -16
  145. package/library/components/pagination.js +10 -8
  146. package/library/components/popup.js +385 -682
  147. package/library/components/position-picker.js +4 -94
  148. package/library/components/progress-bar.js +19 -136
  149. package/library/components/progress-ring.js +4 -95
  150. package/library/components/qr-code.js +5 -17
  151. package/library/components/radio-button.js +5 -25
  152. package/library/components/radio-card.js +8 -176
  153. package/library/components/radio-group.js +22 -153
  154. package/library/components/radio.js +14 -171
  155. package/library/components/range.js +123 -660
  156. package/library/components/rating.js +58 -238
  157. package/library/components/relative-time.js +3 -13
  158. package/library/components/resize-observer.js +4 -8
  159. package/library/components/select.js +305 -1012
  160. package/library/components/shadow-input-group.js +5 -24
  161. package/library/components/share-option-list.js +21 -313
  162. package/library/components/sidebar.js +15 -221
  163. package/library/components/size-input-group.js +12 -77
  164. package/library/components/skeleton.js +7 -80
  165. package/library/components/space.js +6 -143
  166. package/library/components/spinner.js +7 -76
  167. package/library/components/split-panel.js +18 -125
  168. package/library/components/step.js +21 -272
  169. package/library/components/stepper-wizard.js +9 -43
  170. package/library/components/stepper.js +17 -34
  171. package/library/components/switch.js +13 -276
  172. package/library/components/tab-group.js +7 -7
  173. package/library/components/tab-panel.js +5 -32
  174. package/library/components/tab.js +11 -257
  175. package/library/components/table.js +8 -8
  176. package/library/components/tag.js +15 -166
  177. package/library/components/textarea.js +183 -504
  178. package/library/components/timecode.js +6 -25
  179. package/library/components/tooltip.js +10 -94
  180. package/library/components/tree-item.js +4 -4
  181. package/library/components/tree.js +4 -4
  182. package/library/components/typeface.js +24 -123
  183. package/library/components/types.js +37225 -47339
  184. package/library/components/typography.js +2 -2
  185. package/library/components/video.js +3875 -6263
  186. package/library/components/visually-hidden.js +3 -15
  187. package/library/package.json +4 -1
  188. package/library/packages/atoms/src/components/dialog/dialog.d.ts +10 -0
  189. package/library/packages/atoms/src/components/icon-button/icon-button.d.ts +2 -1
  190. package/library/packages/atoms/src/components/image/image.d.ts +15 -1
  191. package/library/packages/atoms/src/components/input/auto-grow-controller.d.ts +23 -0
  192. package/library/packages/atoms/src/components/input/input.d.ts +10 -2
  193. package/library/packages/atoms/src/components/menu-item/menu-item.d.ts +4 -0
  194. package/library/packages/atoms/src/components/pagination/pagination.d.ts +32 -2
  195. package/library/packages/atoms/src/components/popup/overlay/Overlay.d.ts +10 -0
  196. package/library/packages/atoms/src/components/popup/popup.d.ts +1 -1
  197. package/library/packages/atoms/src/components/select/select.d.ts +11 -0
  198. package/library/packages/atoms/src/components/table/table.d.ts +49 -8
  199. package/library/packages/atoms/src/components/table/tabulator-tables/core/Tabulator.d.ts +1 -0
  200. package/library/packages/atoms/src/components/table/tabulator-tables/core/TabulatorFull.d.ts +1 -0
  201. package/library/packages/atoms/src/components/table/tabulator-tables/core/tools/DataLoader.d.ts +3 -1
  202. package/library/packages/atoms/src/components/table/tabulator-tables/modules/Ajax/Ajax.d.ts +1 -1
  203. package/library/packages/atoms/src/components/table/tabulator-tables/modules/Edit/Edit.d.ts +1 -0
  204. package/library/packages/atoms/src/components/table/tabulator-tables/modules/Edit/List.d.ts +40 -1
  205. package/library/packages/atoms/src/components/table/tabulator-tables/modules/Filter/Filter.d.ts +10 -3
  206. package/library/packages/atoms/src/components/table/tabulator-tables/modules/Filter/formatter-display-resolvers.d.ts +93 -0
  207. package/library/packages/atoms/src/components/table/tabulator-tables/modules/GroupRows/Group.d.ts +8 -0
  208. package/library/packages/atoms/src/components/table/tabulator-tables/modules/GroupRows/GroupComponent.d.ts +3 -1
  209. package/library/packages/atoms/src/components/table/tabulator-tables/modules/GroupRows/GroupLoadMore.d.ts +7 -0
  210. package/library/packages/atoms/src/components/table/tabulator-tables/modules/GroupRows/GroupRows.d.ts +2 -0
  211. package/library/packages/atoms/src/components/table/tabulator-tables/modules/Page/Page.d.ts +2 -2
  212. package/library/packages/atoms/src/components/textarea/textarea.d.ts +19 -4
  213. package/library/packages/atoms/src/components/video/video.d.ts +3 -1
  214. package/library/packages/events/src/cx-asset-transformation-dialog-cancel.d.ts +6 -0
  215. package/library/packages/events/src/cx-asset-transformation-dialog-confirm.d.ts +11 -0
  216. package/library/packages/events/src/cx-asset-transformation-dialog-delete.d.ts +6 -0
  217. package/library/packages/events/src/cx-bento-range-change.d.ts +9 -0
  218. package/library/packages/events/src/cx-content-builder-gallery-fetched.d.ts +10 -0
  219. package/library/packages/events/src/cx-lightbox-close.d.ts +6 -0
  220. package/library/packages/events/src/cx-lightbox-download.d.ts +11 -0
  221. package/library/packages/events/src/cx-unauthorized.d.ts +10 -0
  222. package/library/packages/events/src/cx-video-format-picker-delete.d.ts +6 -0
  223. package/library/packages/events/src/cx-video-format-picker-select.d.ts +8 -0
  224. package/library/packages/events/src/events.d.ts +11 -1
  225. package/library/packages/molecules/src/cropper/cropper.d.ts +2 -0
  226. package/library/packages/molecules/src/cropper/react/Cropper.d.ts +2 -0
  227. package/library/packages/molecules/src/estimated-reading-time/estimated-reading-time.d.ts +3 -2
  228. package/library/packages/molecules/src/folder-select/components/folder-select-tree/folder-select-tree.d.ts +26 -0
  229. package/library/packages/molecules/src/folder-select/components/folder-select-tree-item/folder-select-tree-item.d.ts +46 -0
  230. package/library/packages/molecules/src/folder-select/folder-select.d.ts +25 -0
  231. package/library/packages/molecules/src/index.d.ts +1 -0
  232. package/library/packages/molecules/src/storybook/storybook.d.ts +60 -23
  233. package/library/packages/molecules/src/timeline/timeline.d.ts +14 -0
  234. package/library/packages/molecules/src/video-format-picker/video-format-picker.d.ts +55 -0
  235. package/library/packages/molecules/src/video-format-picker/video-format-picker.styles.d.ts +2 -0
  236. package/library/packages/organisms/src/asset-link-format/asset-link-format.d.ts +9 -1
  237. package/library/packages/organisms/src/asset-link-format/components/asset-link-format-rotation/asset-link-format-rotation.d.ts +7 -7
  238. package/library/packages/organisms/src/asset-transformation-dialog/asset-transformation-dialog.d.ts +95 -0
  239. package/library/packages/organisms/src/asset-transformation-dialog/asset-transformation-dialog.styles.d.ts +2 -0
  240. package/library/packages/organisms/src/bento-grid/bento-grid.d.ts +57 -26
  241. package/library/packages/organisms/src/bento-grid/bento-layout.d.ts +44 -0
  242. package/library/packages/organisms/src/carousel/carousel.d.ts +5 -1
  243. package/library/packages/organisms/src/comment/comment.d.ts +1 -0
  244. package/library/packages/organisms/src/content-builder/components/block-picker/block-picker.d.ts +7 -0
  245. package/library/packages/organisms/src/content-builder/components/config-form/config-form.d.ts +11 -0
  246. package/library/packages/organisms/src/content-builder/components/config-manager/config-manager.d.ts +10 -0
  247. package/library/packages/organisms/src/content-builder/components/folder-picker/folder-picker.d.ts +6 -0
  248. package/library/packages/organisms/src/content-builder/configs/carousel.d.ts +6 -2
  249. package/library/packages/organisms/src/content-builder/configs/gallery.d.ts +6 -2
  250. package/library/packages/organisms/src/content-builder/configs/image.d.ts +7 -4
  251. package/library/packages/organisms/src/content-builder/configs/timeline.d.ts +5 -2
  252. package/library/packages/organisms/src/content-builder/configs/video.d.ts +11 -2
  253. package/library/packages/organisms/src/content-builder/configs-controller.d.ts +45 -4
  254. package/library/packages/organisms/src/content-builder/content-builder.d.ts +13 -0
  255. package/library/packages/organisms/src/content-builder/plugins/gallery.d.ts +45 -1
  256. package/library/packages/organisms/src/content-builder/styleController.d.ts +20 -2
  257. package/library/packages/organisms/src/index.d.ts +2 -0
  258. package/library/packages/organisms/src/lightbox/lightbox.d.ts +79 -0
  259. package/library/packages/organisms/src/lightbox/lightbox.styles.d.ts +2 -0
  260. package/library/packages/services/src/api/asset/asset.d.ts +3 -2
  261. package/library/packages/services/src/api/asset/asset.types.d.ts +84 -0
  262. package/library/packages/services/src/api/asset/asset.utils.d.ts +9 -0
  263. package/library/packages/services/src/api/endpoints.d.ts +1 -1
  264. package/library/packages/tools/src/fetch-asset/fetch-asset.d.ts +2 -1
  265. package/library/packages/tools/src/fetch-image/fetch-image.d.ts +17 -5
  266. package/library/packages/types/src/asset-click-action.d.ts +3 -1
  267. package/library/packages/types/src/bento-grid.d.ts +37 -0
  268. package/library/packages/types/src/content-builder.d.ts +27 -1
  269. package/library/packages/types/src/gallery.d.ts +0 -6
  270. package/library/packages/types/src/icon-button.d.ts +7 -0
  271. package/library/packages/types/src/menu-item.d.ts +33 -0
  272. package/library/packages/types/src/storybook.d.ts +19 -0
  273. package/library/packages/types/src/table.d.ts +37 -1
  274. package/library/packages/types/src/textarea.d.ts +4 -0
  275. package/library/packages/types/src/video-format-picker.d.ts +11 -0
  276. package/library/packages/utils/src/actions/asset-click.d.ts +1 -3
  277. package/library/packages/utils/src/custom-element/i18n.d.ts +10 -3
  278. package/library/packages/utils/src/index.d.ts +1 -0
  279. package/library/packages/utils/src/string/string.d.ts +33 -0
  280. package/library/packages/utils/src/transformation/index.d.ts +1 -0
  281. package/library/packages/utils/src/url/url.d.ts +9 -0
  282. package/library/react-web-component.d.ts +293 -29
  283. package/library/utils.js +483 -178
  284. package/package.json +4 -1
  285. package/library/chunks/_baseRest.ClTMQtN1.js +0 -67
  286. package/library/chunks/asset.CG_yXtWK.js +0 -288
  287. package/library/chunks/button.styles.Dl5IQLHU.js +0 -718
  288. package/library/chunks/component.styles.DMSLciL5.js +0 -71
  289. package/library/chunks/confirm-popover.zmOFI4e-.js +0 -288
  290. package/library/chunks/content-builder.D_phDrlo.js +0 -127
  291. package/library/chunks/dot-pagination.COBkyhoJ.js +0 -325
  292. package/library/chunks/file-on-demand.CbE-qsiP.js +0 -3740
  293. package/library/chunks/folder-select.Bl_WkhVE.js +0 -844
  294. package/library/chunks/form-control.styles.CUGhvlfT.js +0 -67
  295. package/library/chunks/header.BduX6KJP.js +0 -777
  296. package/library/chunks/identity.ByMq8VxU.js +0 -6
  297. package/library/chunks/iframe.BPKV2K7z.js +0 -160
  298. package/library/chunks/index.B3wJT3XS.js +0 -373
  299. package/library/chunks/isObjectLike.D3cpZO39.js +0 -81
  300. package/library/chunks/option.DnpkE8Xi.js +0 -296
  301. package/library/chunks/pagination.C30LoTya.js +0 -341
  302. package/library/chunks/string.B_rEG27K.js +0 -160
  303. package/library/chunks/toast.BXNbwZV8.js +0 -25
  304. package/library/chunks/typography.oDzoLbZS.js +0 -149
  305. package/library/chunks/url.LjsR2sB5.js +0 -15
  306. package/library/chunks/watch.q1sEjPWL.js +0 -501
  307. /package/library/packages/{organisms/src/asset-link-format/asset-link-format.utils.d.ts → utils/src/transformation/transformation.d.ts} +0 -0
@@ -1,6 +0,0 @@
1
- function i(t) {
2
- return t;
3
- }
4
- export {
5
- i
6
- };
@@ -1,160 +0,0 @@
1
- import { n as r, C as d } from "./lib-cortex-element.CVMmyPMC.js";
2
- import { c as h } from "./component.styles.DMSLciL5.js";
3
- import { c as y } from "./custom-element.L4WJXn1j.js";
4
- import { L as u } from "./i18n.C0iakJkV.js";
5
- import { w as g } from "./watch.q1sEjPWL.js";
6
- import { i as v, x as p } from "./lit-element.jLBm65_O.js";
7
- import { e as b } from "./query.BBf1UFkC.js";
8
- import { e as x } from "./class-map.BiVq-cVR.js";
9
- import { o as f } from "./if-defined.BRoBj_Rp.js";
10
- import { n as w } from "./when.Dr1es41R.js";
11
- var m = /* @__PURE__ */ ((o) => (o.Eager = "eager", o.Lazy = "lazy", o))(m || {});
12
- const _ = v`
13
- :host {
14
- --background-color: #f5f5f5;
15
-
16
- display: block;
17
- width: 100%;
18
- height: var(--height, 500px);
19
- isolation: isolate;
20
- }
21
-
22
- .iframe {
23
- position: relative;
24
- display: block;
25
- height: 100%;
26
- width: 100%;
27
- }
28
-
29
- .iframe--empty::before {
30
- align-items: center;
31
- background-color: #000000;
32
- color: #ffffff;
33
- content: attr(data-empty-text);
34
- display: flex;
35
- font-family: var(--cx-font-sans);
36
- font-size: var(--cx-font-size-large);
37
- font-weight: var(--cx-font-weight-semibold);
38
- height: 100%;
39
- justify-content: center;
40
- line-height: 1;
41
- position: absolute;
42
- text-align: center;
43
- text-shadow: 0.05em 0.05em 0.1em #000;
44
- vertical-align: middle;
45
- width: 100%;
46
- z-index: 1;
47
- }
48
-
49
- .iframe__overlay {
50
- background-color: transparent;
51
- display: none;
52
- height: 100%;
53
- left: 0;
54
- position: absolute;
55
- top: 0;
56
- width: 100%;
57
- z-index: 1;
58
- }
59
-
60
- .iframe__view {
61
- background-color: var(--background-color);
62
- border-radius: var(--cx-border-radius-small);
63
- border: none;
64
- display: block;
65
- height: 100%;
66
- width: 100%;
67
- }
68
-
69
- .iframe__spinner {
70
- --track-width: 6px;
71
-
72
- font-size: 4rem;
73
- position: absolute;
74
- top: 50%;
75
- left: 50%;
76
- transform: translate(-50%, -50%);
77
- z-index: 2;
78
- }
79
- `;
80
- var z = Object.defineProperty, $ = Object.getOwnPropertyDescriptor, t = (o, a, l, s) => {
81
- for (var i = s > 1 ? void 0 : s ? $(a, l) : a, n = o.length - 1, c; n >= 0; n--)
82
- (c = o[n]) && (i = (s ? c(a, l, i) : c(i)) || i);
83
- return s && i && z(a, l, i), i;
84
- };
85
- let e = class extends d {
86
- constructor() {
87
- super(...arguments), this.localize = new u(this), this.src = "", this.iframeTitle = "Embedded content", this.iframeLoading = m.Lazy, this.allow = "", this.sandbox = "", this.referrerPolicy = "", this.canFullscreen = !1, this.loading = !1;
88
- }
89
- async handleCanFullscreenChange() {
90
- await this.updateComplete, this.iframe && (this.iframe.src = "", this.iframe.src = this.src);
91
- }
92
- render() {
93
- return p`
94
- <div
95
- part="base"
96
- data-empty-text=${this.localize.term("noSourceUrlProvided")}
97
- class=${x({
98
- iframe: !0,
99
- "iframe--empty": !this.src && !this.loading
100
- })}
101
- >
102
- ${w(
103
- this.loading,
104
- () => p`<cx-spinner class="iframe__spinner"></cx-spinner>`
105
- )}
106
- <div part="overlay" class="iframe__overlay" aria-hidden="true"></div>
107
- <iframe
108
- part="view"
109
- class="iframe__view"
110
- allow=${f(this.allow || void 0)}
111
- loading=${this.iframeLoading}
112
- referrerpolicy=${f(this.referrerPolicy || void 0)}
113
- sandbox=${f(this.sandbox || void 0)}
114
- src=${this.src}
115
- title=${this.iframeTitle}
116
- ?allowfullscreen=${this.canFullscreen}
117
- ></iframe>
118
- </div>
119
- `;
120
- }
121
- };
122
- e.styles = [h, _];
123
- e.dependencies = {};
124
- t([
125
- b("iframe")
126
- ], e.prototype, "iframe", 2);
127
- t([
128
- r({ reflect: !0, type: String })
129
- ], e.prototype, "src", 2);
130
- t([
131
- r({ attribute: "iframe-title", reflect: !0, type: String })
132
- ], e.prototype, "iframeTitle", 2);
133
- t([
134
- r({ attribute: "iframe-loading", reflect: !0, type: String })
135
- ], e.prototype, "iframeLoading", 2);
136
- t([
137
- r({ reflect: !0, type: String })
138
- ], e.prototype, "allow", 2);
139
- t([
140
- r({ reflect: !0, type: String })
141
- ], e.prototype, "sandbox", 2);
142
- t([
143
- r({ attribute: "referrer-policy", reflect: !0, type: String })
144
- ], e.prototype, "referrerPolicy", 2);
145
- t([
146
- r({ attribute: "can-fullscreen", reflect: !0, type: Boolean })
147
- ], e.prototype, "canFullscreen", 2);
148
- t([
149
- r({ reflect: !0, type: Boolean })
150
- ], e.prototype, "loading", 2);
151
- t([
152
- g("canFullscreen")
153
- ], e.prototype, "handleCanFullscreenChange", 1);
154
- e = t([
155
- y("cx-iframe")
156
- ], e);
157
- export {
158
- e as C,
159
- m as a
160
- };
@@ -1,373 +0,0 @@
1
- import { a as S } from "./url.LjsR2sB5.js";
2
- import "./content-builder.D_phDrlo.js";
3
- import "./browser.BHOCIF_A.js";
4
- import "./color.vLD2sNTs.js";
5
- import "./modal.U1QltQKe.js";
6
- import "./animate.El-MpOws.js";
7
- import "./converters.DkDtLstb.js";
8
- import "./custom-element.L4WJXn1j.js";
9
- import "./debounce.DaHuiSGU.js";
10
- import "./default-value.COZopaet.js";
11
- import "./drag.DXEXVXPv.js";
12
- import "./event.mFzZi4sr.js";
13
- import { f as x } from "./form.DgwYWi0O.js";
14
- import "./i18n.C0iakJkV.js";
15
- import "./math.DqTA6ya4.js";
16
- import "./scroll.xtO5yojm.js";
17
- import { j as M } from "./dom.BQVKDNd8.js";
18
- import "./slot.j5oheLJC.js";
19
- import "./tabbable.CcMz3mIL.js";
20
- import "./user-agent.D9aPuOyL.js";
21
- import "./watch.q1sEjPWL.js";
22
- import "./toast.BXNbwZV8.js";
23
- import "./image.mbpyiQpQ.js";
24
- import "./number.CjNxU7Xs.js";
25
- import "./parse.Cu5nBDTb.js";
26
- import "./responsive.CrX-HUow.js";
27
- import "./string.B_rEG27K.js";
28
- import "./template.CsJd8Pb_.js";
29
- import "./time.D_uFZqqe.js";
30
- var d = /* @__PURE__ */ ((t) => (t.DoNothing = "do-nothing", t.DownloadAsset = "download-asset", t.ExpandAssetInFullScreen = "expand-asset-in-full-screen", t.OpenAssetOverview = "open-asset-overview", t.OpenLink = "open-link", t.OpenPage = "open-page", t.OpenSpace = "open-space", t.ShareAsset = "share-asset", t.ShowAssetInLibrary = "show-asset-in-library", t))(d || {}), b = /* @__PURE__ */ ((t) => (t.Bento = "bento", t.Carousel = "carousel", t.Grid = "grid", t.Ribbon = "ribbon", t))(b || {}), E = /* @__PURE__ */ ((t) => (t.Expand = "expand", t.Split = "split", t))(E || {}), L = /* @__PURE__ */ ((t) => (t.Api = "api", t.Manual = "manual", t))(L || {}), O = /* @__PURE__ */ ((t) => (t.Automatic = "automatic", t.Custom = "custom", t))(O || {}), f = /* @__PURE__ */ ((t) => (t.DoNothing = "do-nothing", t.OpenAssetInLibrary = "open-asset-in-library", t.OpenAssetOverview = "open-asset-overview", t.Zoom = "zoom", t))(f || {});
31
- function ut(t) {
32
- if (!this.ownerDocument.defaultView?.Matrix3 || !t)
33
- return;
34
- const e = this.ownerDocument.defaultView?.location.origin;
35
- e && this.ownerDocument?.defaultView?.postMessage(
36
- {
37
- detail: { assetId: t, mode: "Details" },
38
- type: "cx-cms5-view-asset"
39
- },
40
- e
41
- );
42
- }
43
- function ct(t) {
44
- if (!this.ownerDocument.defaultView?.Matrix3 || !t)
45
- return;
46
- const e = this.ownerDocument.defaultView?.location.origin;
47
- e && this.ownerDocument?.defaultView?.postMessage(
48
- {
49
- detail: { assetId: t, mode: "Container" },
50
- type: "cx-cms5-view-asset"
51
- },
52
- e
53
- );
54
- }
55
- function ht(t, e = void 0) {
56
- !this.ownerDocument.defaultView?.Matrix3 || !t || this.ownerDocument.defaultView?.open(
57
- S(t, "https://", !0),
58
- e ?? "_blank"
59
- );
60
- }
61
- function mt(t) {
62
- if (!this.ownerDocument.defaultView?.Matrix3 || !t)
63
- return;
64
- const e = this.ownerDocument.defaultView?.location.origin;
65
- e && this.ownerDocument?.defaultView?.postMessage(
66
- {
67
- detail: { assetIds: [t] },
68
- type: "cx-cms5-share-assets"
69
- },
70
- e
71
- );
72
- }
73
- function dt(t, e) {
74
- if (!this.ownerDocument.defaultView?.Matrix3 || !t || !e)
75
- return;
76
- const s = this.ownerDocument.defaultView?.location.origin;
77
- s && this.ownerDocument?.defaultView?.postMessage(
78
- { detail: { assetIds: t, formats: e }, type: "cx-cms5-download-assets" },
79
- s
80
- );
81
- }
82
- function ft(t) {
83
- switch (t) {
84
- case d.OpenAssetOverview:
85
- return f.OpenAssetOverview;
86
- case d.ShowAssetInLibrary:
87
- return f.OpenAssetInLibrary;
88
- case d.ExpandAssetInFullScreen:
89
- return f.Zoom;
90
- default:
91
- return t;
92
- }
93
- }
94
- class pt {
95
- constructor(e) {
96
- this.currentZIndex = M(), (this.host = e).addController(this);
97
- }
98
- hostConnected() {
99
- }
100
- hostDisconnected() {
101
- }
102
- async activatePopup() {
103
- this.currentZIndex = M();
104
- }
105
- }
106
- class gt {
107
- constructor(e, s = {}) {
108
- this.element = e, this.noChildDrag = s.noChildDrag ?? !1, this.dragThreshold = s.dragThreshold ?? 5, this.isDragging = !1, this.hasDragged = !1, this.startX = 0, this.startY = 0, this.lastClientX = 0, this.lastClientY = 0, this.onMouseDown = this.onMouseDown.bind(this), this.onMouseMove = this.onMouseMove.bind(this), this.onMouseUp = this.onMouseUp.bind(this), this.onClick = this.onClick.bind(this), this.attach();
109
- }
110
- attach() {
111
- this.element.addEventListener("mousedown", this.onMouseDown), window.addEventListener("mouseup", this.onMouseUp), window.addEventListener("mousemove", this.onMouseMove), this.element.addEventListener("click", this.onClick, !0);
112
- }
113
- detach() {
114
- this.element.removeEventListener("mousedown", this.onMouseDown), window.removeEventListener("mouseup", this.onMouseUp), window.removeEventListener("mousemove", this.onMouseMove), this.element.removeEventListener("click", this.onClick, !0);
115
- }
116
- onMouseDown(e) {
117
- this.noChildDrag && e.target !== this.element || (this.isDragging = !0, this.hasDragged = !1, this.startX = e.clientX, this.startY = e.clientY, this.lastClientX = e.clientX, this.lastClientY = e.clientY, e.preventDefault());
118
- }
119
- onMouseMove(e) {
120
- if (!this.isDragging)
121
- return;
122
- const s = e.clientX - this.lastClientX, n = e.clientY - this.lastClientY;
123
- !this.hasDragged && (Math.abs(e.clientX - this.startX) > this.dragThreshold || Math.abs(e.clientY - this.startY) > this.dragThreshold) && (this.hasDragged = !0), this.element.scrollLeft -= s, this.element.scrollTop -= n, this.lastClientX = e.clientX, this.lastClientY = e.clientY;
124
- }
125
- onMouseUp() {
126
- this.isDragging = !1;
127
- }
128
- onClick(e) {
129
- this.hasDragged && (e.stopImmediatePropagation(), e.preventDefault());
130
- }
131
- }
132
- const wt = (t) => t.ctrlKey || t.metaKey;
133
- function C(t, e) {
134
- if (!t?.document)
135
- return !1;
136
- const s = "mmmmmmmmmmwwwwwww", n = "32px", o = t.document.createElement("canvas").getContext("2d"), i = (l) => o ? (o.font = `${n} ${l}, monospace`, o.measureText(s).width) : 0, a = i("monospace");
137
- return i(e) !== a;
138
- }
139
- function yt(t, e) {
140
- if (!t?.document.fonts)
141
- return !1;
142
- let s = !1;
143
- return t.document.fonts.forEach((n) => {
144
- n.family.replace(/['"]/g, "").toLowerCase() === e.toLowerCase() && (s = !0);
145
- }), s ? !0 : C(t, e);
146
- }
147
- function A(t) {
148
- const e = /\bitalic\b/i, s = /\b(semi[-\s]?condensed|condensed)\b/i, n = (r) => {
149
- const o = r.fontFamily.toLowerCase(), i = r.fontStyle.toLowerCase(), a = e.test(i), h = s.test(o);
150
- let l = 0;
151
- return a && (l = 1), h && (l = a ? 3 : 2), {
152
- family: r.fontFamily,
153
- styleRank: l,
154
- weight: Number(r.fontWeight)
155
- };
156
- };
157
- return [...t].sort((r, o) => {
158
- const i = n(r), a = n(o);
159
- return i.weight !== a.weight ? i.weight - a.weight : i.styleRank !== a.styleRank ? i.styleRank - a.styleRank : i.family.localeCompare(a.family);
160
- });
161
- }
162
- function Dt(t, e, s = [300, 400, 500, 700, 900], n = ["normal", "italic"]) {
163
- const r = [];
164
- if (C(t, e))
165
- for (const o of s)
166
- for (const i of n)
167
- r.push({
168
- fontFamily: e,
169
- fontStyle: i,
170
- fontWeight: o.toString(),
171
- src: ""
172
- });
173
- return A(r);
174
- }
175
- function Mt(t) {
176
- const e = new FormData(t), s = {};
177
- return e.forEach((n, r) => {
178
- if (Reflect.has(s, r)) {
179
- const o = s[r];
180
- Array.isArray(o) ? o.push(n) : s[r] = [s[r], n];
181
- } else
182
- s[r] = n;
183
- }), s;
184
- }
185
- function I(t) {
186
- const s = [...t.getRootNode().querySelectorAll("*")], n = [...t.elements], r = x.get(t), o = r ? Array.from(r) : [];
187
- return [...n, ...o].sort(
188
- (i, a) => s.indexOf(i) < s.indexOf(a) ? -1 : s.indexOf(i) > s.indexOf(a) ? 1 : 0
189
- );
190
- }
191
- function Ct(t) {
192
- return I(t).some(
193
- (s) => s.hasAttribute("data-user-valid") || s.hasAttribute("data-user-invalid")
194
- );
195
- }
196
- class vt {
197
- constructor(e = null) {
198
- this.history = e !== null ? [e] : [], this.redoStack = [];
199
- }
200
- add(e) {
201
- this.history.push(e), this.redoStack = [];
202
- }
203
- undo() {
204
- if (this.history.length > 1) {
205
- const e = this.history.pop();
206
- return this.redoStack.push(e), this.getCurrent();
207
- }
208
- return null;
209
- }
210
- redo() {
211
- if (this.redoStack.length > 0) {
212
- const e = this.redoStack.pop();
213
- return this.history.push(e), e;
214
- }
215
- return null;
216
- }
217
- getCurrent() {
218
- return this.history[this.history.length - 1] || null;
219
- }
220
- clear() {
221
- this.history = [], this.redoStack = [];
222
- }
223
- canUndo() {
224
- return this.history.length > 1;
225
- }
226
- canRedo() {
227
- return this.redoStack.length > 0;
228
- }
229
- getHistory() {
230
- return [...this.history];
231
- }
232
- }
233
- function St(t, e) {
234
- const s = {}, n = new Set(e);
235
- return Object.keys(t).forEach((r) => {
236
- n.has(r) || (s[r] = t[r]);
237
- }), s;
238
- }
239
- function xt(t, e) {
240
- const s = {};
241
- return e.forEach((n) => {
242
- n in t && (s[n] = t[n]);
243
- }), s;
244
- }
245
- function bt(t, e) {
246
- return typeof Storage < "u" && localStorage.getItem(t) !== null ? localStorage.getItem(t) : e;
247
- }
248
- function Et(t, e) {
249
- typeof Storage < "u" && localStorage.setItem(t, e.toString());
250
- }
251
- const F = 10;
252
- function Lt(t, e) {
253
- let s = 0, n = t.length;
254
- for (; s < n; ) {
255
- const r = Math.floor((s + n) / 2);
256
- t[r].time < e.time ? s = r + 1 : n = r;
257
- }
258
- t.splice(s, 0, e);
259
- }
260
- function k(t, e, s) {
261
- return t.find(
262
- (n) => n.col === e && n.row === s
263
- ) ?? null;
264
- }
265
- function V(t, e, s) {
266
- return new Promise((n) => {
267
- if (e > 0 && Math.abs(t.currentTime - e) < 1e-3) {
268
- n();
269
- return;
270
- }
271
- if (e === 0) {
272
- const r = () => {
273
- t.removeEventListener("seeked", r);
274
- const o = () => {
275
- t.removeEventListener("seeked", o), n();
276
- };
277
- t.addEventListener("seeked", o), t.currentTime = 0;
278
- };
279
- t.addEventListener("seeked", r), t.currentTime = s;
280
- } else {
281
- const r = () => {
282
- t.removeEventListener("seeked", r), n();
283
- };
284
- t.addEventListener("seeked", r), t.currentTime = e;
285
- }
286
- });
287
- }
288
- async function* Ot({
289
- cache: t,
290
- canvas: e,
291
- duration: s,
292
- maxInterval: n,
293
- src: r,
294
- video: o
295
- }) {
296
- if (!e)
297
- throw new Error("Canvas is required");
298
- if (!o)
299
- throw new Error("Video is required");
300
- const { columns: i, frameHeight: a, frameWidth: h, rows: l, spriteCtx: v } = e;
301
- try {
302
- for (let u = 0; u < l; u++)
303
- for (let c = 0; c < i; c++) {
304
- const p = u * i + c, m = p * n;
305
- if (m >= s)
306
- continue;
307
- const g = c * h, w = u * a, y = k(t[r] ?? [], c, u), D = c === i - 1 && u === l - 1 || m + n >= s;
308
- y ? yield { ...y, isLastFrame: D } : (await V(o, m, n), v.drawImage(
309
- o,
310
- g,
311
- w,
312
- h,
313
- a
314
- ), yield {
315
- col: c,
316
- columns: i,
317
- frameHeight: a,
318
- frameWidth: h,
319
- index: p,
320
- isLastFrame: D,
321
- row: u,
322
- rows: l,
323
- time: Number(m.toFixed(F)),
324
- x: g,
325
- y: w
326
- }), await new Promise(requestAnimationFrame);
327
- }
328
- } catch {
329
- }
330
- }
331
- function At({
332
- duration: t,
333
- frameWidth: e,
334
- playbackSpeed: s,
335
- scale: n
336
- }) {
337
- let r = e * s / n;
338
- return r > t && (r = t / 2), r;
339
- }
340
- export {
341
- pt as C,
342
- gt as D,
343
- b as G,
344
- vt as H,
345
- E as O,
346
- F as P,
347
- L as S,
348
- d as a,
349
- O as b,
350
- f as c,
351
- Ct as d,
352
- Ot as e,
353
- k as f,
354
- At as g,
355
- Lt as h,
356
- wt as i,
357
- ut as j,
358
- ct as k,
359
- ht as l,
360
- dt as m,
361
- C as n,
362
- St as o,
363
- yt as p,
364
- A as q,
365
- bt as r,
366
- mt as s,
367
- ft as t,
368
- Dt as u,
369
- Mt as v,
370
- Et as w,
371
- I as x,
372
- xt as y
373
- };
@@ -1,81 +0,0 @@
1
- var l = typeof global == "object" && global && global.Object === Object && global, y = typeof self == "object" && self && self.Object === Object && self, s = l || y || Function("return this")(), o = s.Symbol, u = Object.prototype, j = u.hasOwnProperty, p = u.toString, e = o ? o.toStringTag : void 0;
2
- function v(t) {
3
- var r = j.call(t, e), n = t[e];
4
- try {
5
- t[e] = void 0;
6
- var g = !0;
7
- } catch {
8
- }
9
- var b = p.call(t);
10
- return g && (r ? t[e] = n : delete t[e]), b;
11
- }
12
- var d = Object.prototype, O = d.toString;
13
- function S(t) {
14
- return O.call(t);
15
- }
16
- var T = "[object Null]", $ = "[object Undefined]", c = o ? o.toStringTag : void 0;
17
- function P(t) {
18
- return t == null ? t === void 0 ? $ : T : c && c in Object(t) ? v(t) : S(t);
19
- }
20
- function f(t) {
21
- var r = typeof t;
22
- return t != null && (r == "object" || r == "function");
23
- }
24
- var h = "[object AsyncFunction]", w = "[object Function]", F = "[object GeneratorFunction]", _ = "[object Proxy]";
25
- function m(t) {
26
- if (!f(t))
27
- return !1;
28
- var r = P(t);
29
- return r == w || r == F || r == h || r == _;
30
- }
31
- var a = s["__core-js_shared__"], i = function() {
32
- var t = /[^.]+$/.exec(a && a.keys && a.keys.IE_PROTO || "");
33
- return t ? "Symbol(src)_1." + t : "";
34
- }();
35
- function x(t) {
36
- return !!i && i in t;
37
- }
38
- var k = Function.prototype, I = k.toString;
39
- function N(t) {
40
- if (t != null) {
41
- try {
42
- return I.call(t);
43
- } catch {
44
- }
45
- try {
46
- return t + "";
47
- } catch {
48
- }
49
- }
50
- return "";
51
- }
52
- var R = /[\\^$.*+?()[\]{}|]/g, C = /^\[object .+?Constructor\]$/, E = Function.prototype, G = Object.prototype, A = E.toString, D = G.hasOwnProperty, H = RegExp(
53
- "^" + A.call(D).replace(R, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
54
- );
55
- function J(t) {
56
- if (!f(t) || x(t))
57
- return !1;
58
- var r = m(t) ? H : C;
59
- return r.test(N(t));
60
- }
61
- function K(t, r) {
62
- return t?.[r];
63
- }
64
- function M(t, r) {
65
- var n = K(t, r);
66
- return J(n) ? n : void 0;
67
- }
68
- function U(t) {
69
- return t != null && typeof t == "object";
70
- }
71
- export {
72
- o as S,
73
- f as a,
74
- P as b,
75
- m as c,
76
- l as f,
77
- M as g,
78
- U as i,
79
- s as r,
80
- N as t
81
- };