@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,71 +0,0 @@
1
- import { i as t } from "./lit-element.jLBm65_O.js";
2
- const o = t`
3
- :host {
4
- box-sizing: border-box;
5
- }
6
-
7
- :host *,
8
- :host *::before,
9
- :host *::after {
10
- box-sizing: inherit;
11
- }
12
-
13
- [hidden],
14
- :not(:defined):not(video-js) {
15
- display: initial;
16
- visibility: hidden !important;
17
- width: 0 !important;
18
- height: 0 !important;
19
- padding: 0 !important;
20
- margin: 0 !important;
21
- border: none !important;
22
- }
23
-
24
- ::-webkit-scrollbar {
25
- width: 17px;
26
- height: 17px;
27
- }
28
-
29
- ::-webkit-scrollbar-button:decrement {
30
- height: 0;
31
- }
32
-
33
- ::-webkit-scrollbar-button:increment {
34
- height: 0;
35
- }
36
-
37
- ::-webkit-scrollbar-button:decrement:horizontal {
38
- width: 0;
39
- }
40
-
41
- ::-webkit-scrollbar-button:increment:horizontal {
42
- width: 0;
43
- }
44
-
45
- ::-webkit-scrollbar-thumb {
46
- border-radius: 13px;
47
- background: var(--cx-color-neutral-400);
48
- background-clip: padding-box;
49
- border: 7px solid rgba(0, 0, 0, 0);
50
- }
51
-
52
- ::-webkit-scrollbar-thumb:hover {
53
- background: var(--cx-color-neutral-500);
54
- background-clip: padding-box;
55
- border: 4px solid rgba(0, 0, 0, 0);
56
- }
57
-
58
- ::-webkit-scrollbar-thumb {
59
- min-height: 50px;
60
- }
61
-
62
- ::-webkit-scrollbar-button:vertical:start:increment,
63
- ::-webkit-scrollbar-button:vertical:end:decrement,
64
- ::-webkit-scrollbar-button:horizontal:start:increment,
65
- ::-webkit-scrollbar-button:horizontal:end:decrement {
66
- display: none;
67
- }
68
- `;
69
- export {
70
- o as c
71
- };
@@ -1,288 +0,0 @@
1
- import { C as _ } from "./button.KnE3mcyM.js";
2
- import { C as u, D as h } from "./dialog.DpZBbTCn.js";
3
- import g from "../components/dropdown.js";
4
- import { C as x } from "./typography.oDzoLbZS.js";
5
- import { n as e, C as b } from "./lib-cortex-element.CVMmyPMC.js";
6
- import { c as y } from "./component.styles.DMSLciL5.js";
7
- import { c as w } from "./custom-element.L4WJXn1j.js";
8
- import { L as $ } from "./i18n.C0iakJkV.js";
9
- import { i as z, x as d } from "./lit-element.jLBm65_O.js";
10
- import { e as m } from "./query.BBf1UFkC.js";
11
- import { e as a } from "./class-map.BiVq-cVR.js";
12
- var f = /* @__PURE__ */ ((t) => (t.Horizontal = "horizontal", t.HorizontalReverse = "horizontal-reverse", t.Vertical = "vertical", t.VerticalReverse = "vertical-reverse", t))(f || {}), v = /* @__PURE__ */ ((t) => (t.Center = "center", t.End = "end", t.Start = "start", t))(v || {});
13
- const S = z`
14
- .confirm-popover--dropdown .confirm-popover__dropdown-content {
15
- display: flex;
16
- flex-direction: column;
17
- padding: var(--cx-spacing-medium);
18
- width: max-content;
19
- text-align: center;
20
- }
21
-
22
- .confirm-popover cx-divider {
23
- --spacing: var(--cx-spacing-medium);
24
- }
25
-
26
- .confirm-popover .confirm-popover__actions {
27
- display: flex;
28
- gap: var(--cx-spacing-medium);
29
- }
30
-
31
- .confirm-popover--dialog {
32
- --width: var(--confirm-popover-dialog-width);
33
- }
34
-
35
- /** Horizontal direction */
36
- .confirm-popover__actions--direction-horizontal {
37
- flex-direction: row;
38
- }
39
-
40
- .confirm-popover__actions--direction-horizontal-reverse {
41
- flex-direction: row-reverse;
42
- }
43
-
44
- .confirm-popover__actions--direction-horizontal.confirm-popover__actions--alignment-end,
45
- .confirm-popover__actions--direction-horizontal-reverse.confirm-popover__actions--alignment-start {
46
- justify-content: flex-end;
47
- }
48
-
49
- .confirm-popover__actions--direction-horizontal.confirm-popover__actions--alignment-start,
50
- .confirm-popover__actions--direction-horizontal-reverse.confirm-popover__actions--alignment-end {
51
- justify-content: flex-start;
52
- }
53
-
54
- .confirm-popover__actions--direction-horizontal.confirm-popover__actions--alignment-center,
55
- .confirm-popover__actions--direction-horizontal-reverse.confirm-popover__actions--alignment-center {
56
- justify-content: center;
57
- }
58
-
59
- /** Vertical direction */
60
- .confirm-popover__actions--direction-vertical {
61
- flex-direction: column;
62
- }
63
-
64
- .confirm-popover__actions--direction-vertical-reverse {
65
- flex-direction: column-reverse;
66
- }
67
-
68
- .confirm-popover__actions--direction-vertical.confirm-popover__actions--alignment-start,
69
- .confirm-popover__actions--direction-vertical-reverse.confirm-popover__actions--alignment-start {
70
- align-items: flex-start;
71
- }
72
-
73
- .confirm-popover__actions--direction-vertical.confirm-popover__actions--alignment-end,
74
- .confirm-popover__actions--direction-vertical-reverse.confirm-popover__actions--alignment-end {
75
- align-items: flex-end;
76
- }
77
-
78
- .confirm-popover__actions--direction-vertical.confirm-popover__actions--alignment-center,
79
- .confirm-popover__actions--direction-vertical-reverse.confirm-popover__actions--alignment-center {
80
- align-items: center;
81
- }
82
-
83
- /** Dropdown variant */
84
- .confirm-popover--dropdown .confirm-popover__actions {
85
- justify-content: center;
86
- margin-top: var(--cx-spacing-small);
87
- }
88
-
89
- /** Buttons */
90
- .confirm-popover__confirm-button {
91
- --background-color: var(
92
- --confirm-button-background-color,
93
- var(--cx-color-danger)
94
- );
95
- --color: var(--confirm-button-color, var(--cx-color-neutral-0));
96
- }
97
-
98
- .confirm-popover__cancel-button {
99
- --background-color: var(
100
- --cancel-button-background-color,
101
- var(--cx-color-primary-500)
102
- );
103
- --color: var(--cancel-button-color, var(--cx-color-neutral-0));
104
- }
105
- `;
106
- var D = Object.defineProperty, C = Object.getOwnPropertyDescriptor, r = (t, n, s, c) => {
107
- for (var i = c > 1 ? void 0 : c ? C(n, s) : n, p = t.length - 1, l; p >= 0; p--)
108
- (l = t[p]) && (i = (c ? l(n, s, i) : l(i)) || i);
109
- return c && i && D(n, s, i), i;
110
- };
111
- let o = class extends b {
112
- constructor() {
113
- super(...arguments), this.localize = new $(this), this.message = "", this.disabled = !1, this.buttonsDirection = f.Horizontal, this.buttonsAlignment = v.End, this.dividerPosition = h.Header, this.dialogLabel = "", this.confirmText = "", this.cancelText = "", this.variant = "dropdown", this.boundary = document.body;
114
- }
115
- get open() {
116
- return this.variant === "dialog" ? this.dialog.open : this.dropdown.open;
117
- }
118
- hide() {
119
- this.variant === "dialog" ? this.dialog.hide() : this.dropdown.hide();
120
- }
121
- show() {
122
- this.variant === "dialog" ? this.dialog.show() : this.dropdown.show();
123
- }
124
- confirm() {
125
- this.emit("cx-confirm").defaultPrevented || this.hide();
126
- }
127
- cancel() {
128
- this.emit("cx-cancel").defaultPrevented || this.hide();
129
- }
130
- handleSlotClick() {
131
- if (this.disabled) {
132
- this.confirm();
133
- return;
134
- }
135
- this.variant === "dialog" && (this.dialog.open ? this.dialog.hide() : this.dialog.show());
136
- }
137
- renderSlot() {
138
- return d`<slot
139
- class="confirm-popover__trigger"
140
- name="trigger"
141
- slot="trigger"
142
- @click=${this.handleSlotClick}
143
- ></slot>`;
144
- }
145
- renderDialog() {
146
- return d`${this.renderSlot()}
147
- <cx-dialog
148
- part="dialog"
149
- label=${this.dialogLabel || this.localize.term("confirm")}
150
- divider-position=${this.dividerPosition}
151
- .boundary=${this.boundary}
152
- class=${a({
153
- "confirm-popover": !0,
154
- "confirm-popover--dialog": !0
155
- })}
156
- >
157
- <cx-typography variant="body2">${this.message}</cx-typography>
158
- <div
159
- part="actions"
160
- class=${a({
161
- "confirm-popover__actions": !0,
162
- [`confirm-popover__actions--direction-${this.buttonsDirection}`]: !0,
163
- [`confirm-popover__actions--alignment-${this.buttonsAlignment}`]: !0
164
- })}
165
- slot="footer"
166
- >
167
- <cx-button
168
- part="confirm-button"
169
- class="confirm-popover__confirm-button"
170
- @click=${this.confirm}
171
- variant="custom"
172
- >
173
- ${this.confirmText || this.localize.term("confirm")}
174
- </cx-button>
175
- <cx-button
176
- part="cancel-button"
177
- class="confirm-popover__cancel-button"
178
- @click=${this.cancel}
179
- variant="custom"
180
- >
181
- ${this.cancelText || this.localize.term("cancel")}
182
- </cx-button>
183
- </div>
184
- <div part="footer" class="confirm-popover__footer">
185
- <slot name="footer"></slot>
186
- </div>
187
- </cx-dialog>`;
188
- }
189
- renderDropdown() {
190
- return d`<cx-dropdown
191
- part="dropdown"
192
- class=${a({
193
- "confirm-popover": !0,
194
- "confirm-popover--dropdown": !0
195
- })}
196
- no-header
197
- ?disabled=${this.disabled}
198
- ?hoist=${!this.boundary || this.boundary === document.body}
199
- >
200
- ${this.renderSlot()}
201
- <div class="confirm-popover__dropdown-content">
202
- <cx-typography variant="body2">${this.message}</cx-typography>
203
- <div
204
- part="actions"
205
- class=${a({
206
- "confirm-popover__actions": !0,
207
- [`confirm-popover__actions--direction-${this.buttonsDirection}`]: !0
208
- /** Dropdown variant alignment is always center */
209
- })}
210
- slot="footer"
211
- >
212
- <cx-button
213
- part="confirm-button"
214
- class="confirm-popover__confirm-button"
215
- @click=${this.confirm}
216
- variant="custom"
217
- >
218
- ${this.confirmText || this.localize.term("confirm")}
219
- </cx-button>
220
- <cx-button
221
- part="cancel-button"
222
- class="confirm-popover__cancel-button"
223
- @click=${this.cancel}
224
- variant="custom"
225
- >
226
- ${this.cancelText || this.localize.term("cancel")}
227
- </cx-button>
228
- </div>
229
- <div part="footer" class="confirm-popover__footer" slot="footer">
230
- <slot name="footer"></slot>
231
- </div>
232
- </div>
233
- </cx-dropdown>`;
234
- }
235
- render() {
236
- return this.variant === "dialog" ? this.renderDialog() : this.renderDropdown();
237
- }
238
- };
239
- o.styles = [y, S];
240
- o.dependencies = {
241
- "cx-button": _,
242
- "cx-dialog": u,
243
- "cx-dropdown": g,
244
- "cx-typography": x
245
- };
246
- r([
247
- m("cx-dropdown")
248
- ], o.prototype, "dropdown", 2);
249
- r([
250
- m("cx-dialog")
251
- ], o.prototype, "dialog", 2);
252
- r([
253
- e({ reflect: !0, type: String })
254
- ], o.prototype, "message", 2);
255
- r([
256
- e({ reflect: !0, type: Boolean })
257
- ], o.prototype, "disabled", 2);
258
- r([
259
- e({ attribute: "buttons-direction", reflect: !0, type: String })
260
- ], o.prototype, "buttonsDirection", 2);
261
- r([
262
- e({ attribute: "buttons-alignment", reflect: !0, type: String })
263
- ], o.prototype, "buttonsAlignment", 2);
264
- r([
265
- e({ attribute: "divider-position", reflect: !0, type: String })
266
- ], o.prototype, "dividerPosition", 2);
267
- r([
268
- e({ attribute: "dialog-label", reflect: !0, type: String })
269
- ], o.prototype, "dialogLabel", 2);
270
- r([
271
- e({ attribute: "confirm-text", reflect: !0, type: String })
272
- ], o.prototype, "confirmText", 2);
273
- r([
274
- e({ attribute: "cancel-text", reflect: !0, type: String })
275
- ], o.prototype, "cancelText", 2);
276
- r([
277
- e({ reflect: !0 })
278
- ], o.prototype, "variant", 2);
279
- r([
280
- e({ type: Object })
281
- ], o.prototype, "boundary", 2);
282
- o = r([
283
- w("cx-confirm-popover")
284
- ], o);
285
- export {
286
- o as C,
287
- f as a
288
- };
@@ -1,127 +0,0 @@
1
- import { c as s } from "./capitalize.WSkCXkNE.js";
2
- function v(n, a) {
3
- return n.filter((t, e) => e !== a);
4
- }
5
- function b(n, a) {
6
- return n.filter((t, e) => !a.includes(e));
7
- }
8
- function R(n, a, t) {
9
- return [...n.slice(0, a), t, ...n.slice(a)];
10
- }
11
- function B(n, a, t) {
12
- return [...n.slice(0, a), ...t, ...n.slice(a)];
13
- }
14
- function T(n, a, t) {
15
- return n.findIndex((e) => e[a] === t);
16
- }
17
- function _(n, a, t) {
18
- const e = [...n], i = v(e, a);
19
- let r = t;
20
- return r >= n.length - 1 && (r = r + 1), R(i, r, n[a]);
21
- }
22
- function G(n, a, t) {
23
- const e = [...n], i = b(e, a), r = t !== 0 ? a.reduce(
24
- (o, u) => t > u ? o - 1 : o,
25
- t
26
- ) : t;
27
- return B(
28
- i,
29
- r,
30
- a.map((o) => n[o])
31
- );
32
- }
33
- function V(n, a) {
34
- return n.reduce(
35
- (t, e) => {
36
- const i = e[a];
37
- return t[i] ??= [], t[i].push(e), t;
38
- },
39
- {}
40
- );
41
- }
42
- function j(n, a, t) {
43
- if (!n.length)
44
- return [a];
45
- const e = t.findIndex(
46
- (l) => l.id === a
47
- ), i = n[n.length - 1], r = t.findIndex(
48
- (l) => l.id === i
49
- );
50
- if (e < 0 || r < 0)
51
- return [a];
52
- const d = t.reduce(
53
- (l, c, x) => (l[c.id] = x, l),
54
- {}
55
- ), o = e > r, u = o ? r : e, f = o ? e : r, C = t.slice(u, f + 1).filter((l) => !(!l || n.includes(l.id))).map((l) => l.id), g = o ? C : [...C].reverse(), A = n.includes(a) ? n.slice(0, n.indexOf(a) + 1) : [...n, ...g];
56
- return A.sort((l, c) => d[l] - d[c]), A;
57
- }
58
- function p(n, a, t, e, i, r) {
59
- const d = t + 1;
60
- if (n.length < 2)
61
- throw new Error("Values array must contain at least 2 elements");
62
- if (t < 0 || d >= n.length)
63
- throw new Error("Invalid index or not enough values to adjust");
64
- if (e < 0)
65
- throw new Error("Minimum value must be non-negative");
66
- let o = i + a;
67
- o < e && (a = e - i, o = e);
68
- let u = r - a;
69
- u < e && (a = r - e, o = i + a, u = e), n[t] = parseFloat(o.toFixed(2)), n[d] = parseFloat(u.toFixed(2));
70
- }
71
- var w = /* @__PURE__ */ ((n) => (n.Desktop = "desktop", n.Mobile = "mobile", n.Tablet = "tablet", n))(w || {});
72
- const E = {
73
- canvasWidth: "",
74
- height: "",
75
- id: "desktop",
76
- maxWidth: "",
77
- name: s(
78
- "desktop"
79
- /* Desktop */
80
- )
81
- }, L = {
82
- canvasWidth: "770px",
83
- height: "",
84
- id: "tablet",
85
- maxWidth: "1280px",
86
- name: s(
87
- "tablet"
88
- /* Tablet */
89
- )
90
- }, M = {
91
- canvasWidth: "320px",
92
- height: "",
93
- id: "mobile",
94
- maxWidth: "480px",
95
- name: s(
96
- "mobile"
97
- /* Mobile */
98
- )
99
- }, K = [E, L, M];
100
- var O = /* @__PURE__ */ ((n) => (n.All = "ALL", n.CanDelete = "CanDelete", n.CanDownload = "CanDownload", n.CanFind = "CanFind", n.CanManageRights = "CanManageRights", n.CanMove = "CanMove", n.CanRead = "CanRead", n.CanReadAll = "CanReadAll", n.CanReadAndWrite = "CanReadAndWrite", n.CanReadLarge = "CanReadLarge", n.CanReadMedium = "CanReadMedium", n.CanReadOriginal = "CanReadOriginal", n.CanShare = "CanShare", n.CanUpload = "CanUpload", n.CanWrite = "CanWrite", n.None = "NONE", n))(O || {}), S = /* @__PURE__ */ ((n) => (n.All = "all", n.Audio = "audio", n.Image = "image", n.Other = "other", n.Video = "video", n))(S || {}), F = /* @__PURE__ */ ((n) => (n.Content = "content", n.Template = "template", n))(F || {}), k = /* @__PURE__ */ ((n) => (n.Administrator = "Administrator", n.Designer = "Designer", n.Editor = "Editor", n))(k || {}), h = /* @__PURE__ */ ((n) => (n.Accordion = "BlockAccordion", n.Analytics = "BlockAnalytics", n.Button = "BlockButton", n.Carousel = "BlockCarousel", n.ColorSwatches = "BlockColorSwatches", n.Column = "BlockCell", n.ColumnGroup = "BlockColumns", n.Divider = "BlockDivider", n.FontKit = "BlockFontKit", n.Gallery = "BlockGallery", n.Header = "BlockHeader", n.Image = "BlockImage", n.RichText = "BlockRichText", n.SearchBox = "BlockSearchBox", n.TabGroup = "BlockTabs", n.Text = "BlockText", n.Timeline = "BlockTimeline", n.Video = "BlockVideo", n))(h || {});
101
- const U = Object.values(h).filter(
102
- (n) => n !== "BlockCell"
103
- /* Column */
104
- );
105
- var D = /* @__PURE__ */ ((n) => (n.Carousel = "carousel", n.Gallery = "gallery", n))(D || {}), N = /* @__PURE__ */ ((n) => (n.Templates = "TEMPLATES", n.TranslatableAttributes = "TRANSLATABLE_ATTRIBUTES", n.TranslatableTexts = "TRANSLATABLE_TEXTS", n))(N || {});
106
- export {
107
- S as A,
108
- h as B,
109
- w as D,
110
- F as E,
111
- O as P,
112
- k as T,
113
- D as a,
114
- N as b,
115
- U as c,
116
- K as d,
117
- G as e,
118
- T as f,
119
- V as g,
120
- v as h,
121
- B as i,
122
- R as j,
123
- _ as k,
124
- p as l,
125
- j as m,
126
- b as r
127
- };