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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (306) 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.BoVb3qVt.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.CKP1W_u1.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.C-0PQZX9.js → list-editor.xBvtJqdy.js} +58 -372
  57. package/library/chunks/{map.BHmZ4Crx.js → map.CqM2O6LB.js} +2 -2
  58. package/library/chunks/{modal.CG-kZq41.js → modal.U1QltQKe.js} +1 -1
  59. package/library/chunks/option.COnEtd3X.js +123 -0
  60. package/library/chunks/{overlayscrollbars.XhGWx9Zk.js → overlayscrollbars.BMav4RQ4.js} +252 -958
  61. package/library/chunks/pagination.DaD9Yul6.js +334 -0
  62. package/library/chunks/{percent.CM9cr1H3.js → percent.DuQwbCCg.js} +3 -3
  63. package/library/chunks/{radar.CQUnnhGk.js → radar.FpYl3UH5.js} +4 -4
  64. package/library/chunks/{responsive.CrX-HUow.js → responsive.BndCeSg0.js} +1 -1
  65. package/library/chunks/{sliceGrouper.iv1p8MAK.js → sliceGrouper.BsE7fGMt.js} +1 -1
  66. package/library/chunks/{stock.CU0y6a5P.js → stock.BR-ag4Pt.js} +9 -9
  67. package/library/chunks/string.BigZhczf.js +185 -0
  68. package/library/chunks/{tab-group.05PY0smt.js → tab-group.0Po0eoxR.js} +33 -584
  69. package/library/chunks/{tabbable.BwnZBHrm.js → tabbable.CcMz3mIL.js} +2 -2
  70. package/library/chunks/{table.DNTm_GMS.js → table.Cs5a0duW.js} +2903 -4591
  71. package/library/chunks/{timeline.yzdwtGKM.js → timeline.DkzkmgEM.js} +5 -5
  72. package/library/chunks/{toString.CRT5zqEU.js → toString.CL_lYXbK.js} +3 -3
  73. package/library/chunks/toast.B2cJgW5u.js +71 -0
  74. package/library/chunks/transformation.CzBptarI.js +140 -0
  75. package/library/chunks/{tree.CeMLCbs-.js → tree.QCQd_cuc.js} +32 -400
  76. package/library/chunks/typography.DJC_UXgs.js +52 -0
  77. package/library/chunks/url.Cj9cIQXJ.js +27 -0
  78. package/library/chunks/{venn.BOEi13la.js → venn.D739bOV3.js} +1 -1
  79. package/library/chunks/watch.BCJD77bD.js +547 -0
  80. package/library/chunks/{wc.V-lq02JF.js → wc.DzW311D-.js} +1 -1
  81. package/library/chunks/{xy.Df1hy9ac.js → xy.DCRDfTsa.js} +10 -10
  82. package/library/components/alert.js +11 -179
  83. package/library/components/am-chart.js +3 -3
  84. package/library/components/animated-image.js +13 -101
  85. package/library/components/animation.js +3 -3
  86. package/library/components/array-line-clamp.js +8 -89
  87. package/library/components/asset-link-format.js +718 -1380
  88. package/library/components/atoms.js +18 -18
  89. package/library/components/avatar.js +6 -95
  90. package/library/components/badge.js +11 -139
  91. package/library/components/bicolor-picker.js +4 -23
  92. package/library/components/border-input-group.js +5 -26
  93. package/library/components/breadcrumb-item.js +25 -156
  94. package/library/components/breadcrumb.js +4 -22
  95. package/library/components/button-group.js +3 -28
  96. package/library/components/button.js +6 -6
  97. package/library/components/card.js +4 -126
  98. package/library/components/checkbox.js +13 -254
  99. package/library/components/color-picker.js +57 -728
  100. package/library/components/color-swatch-group.js +9 -9
  101. package/library/components/color-swatch.js +5 -5
  102. package/library/components/confirm-popover.js +6 -6
  103. package/library/components/copy-button.js +11 -256
  104. package/library/components/corner-position-input-group.js +5 -58
  105. package/library/components/cropper.js +2 -2
  106. package/library/components/details.js +6 -152
  107. package/library/components/dialog.js +7 -7
  108. package/library/components/divider.js +6 -68
  109. package/library/components/dot-pagination.js +4 -4
  110. package/library/components/dot-status.js +25 -95
  111. package/library/components/drawer.js +12 -243
  112. package/library/components/dropdown.js +50 -152
  113. package/library/components/dynamic-select.js +10 -75
  114. package/library/components/e-chart.js +493 -534
  115. package/library/components/element-clamp.js +7 -80
  116. package/library/components/file-on-demand.js +13 -13
  117. package/library/components/folder-select.js +9 -7
  118. package/library/components/format-bytes.js +1 -1
  119. package/library/components/format-date.js +3 -7
  120. package/library/components/format-number.js +1 -1
  121. package/library/components/format-time.js +4 -14
  122. package/library/components/grid-item.js +5 -172
  123. package/library/components/grid.js +5 -41
  124. package/library/components/header.js +4 -4
  125. package/library/components/hub-connection.js +2 -2
  126. package/library/components/icon-button.js +14 -679
  127. package/library/components/icon.js +9 -2449
  128. package/library/components/iframe.js +4 -4
  129. package/library/components/image-comparer.js +9 -129
  130. package/library/components/image.js +4 -4
  131. package/library/components/include.js +3 -7
  132. package/library/components/input-group.js +4 -29
  133. package/library/components/input.js +358 -966
  134. package/library/components/line-clamp.js +7 -83
  135. package/library/components/list-editor.js +9 -9
  136. package/library/components/markdown.js +2 -4
  137. package/library/components/masonry.js +24 -223
  138. package/library/components/menu-item.js +155 -445
  139. package/library/components/menu-label.js +3 -20
  140. package/library/components/menu-section.js +3 -17
  141. package/library/components/menu.js +5 -113
  142. package/library/components/molecules.js +5 -5
  143. package/library/components/mutation-observer.js +3 -7
  144. package/library/components/option.js +4 -4
  145. package/library/components/organisms.js +2 -2
  146. package/library/components/padding-input-group.js +5 -16
  147. package/library/components/pagination.js +10 -8
  148. package/library/components/popup.js +385 -682
  149. package/library/components/position-picker.js +4 -94
  150. package/library/components/progress-bar.js +19 -136
  151. package/library/components/progress-ring.js +4 -95
  152. package/library/components/qr-code.js +5 -17
  153. package/library/components/radio-button.js +5 -25
  154. package/library/components/radio-card.js +8 -176
  155. package/library/components/radio-group.js +22 -153
  156. package/library/components/radio.js +14 -171
  157. package/library/components/range.js +123 -660
  158. package/library/components/rating.js +58 -238
  159. package/library/components/relative-time.js +3 -13
  160. package/library/components/resize-observer.js +4 -8
  161. package/library/components/select.js +305 -1012
  162. package/library/components/shadow-input-group.js +5 -24
  163. package/library/components/share-option-list.js +21 -313
  164. package/library/components/sidebar.js +15 -221
  165. package/library/components/size-input-group.js +12 -77
  166. package/library/components/skeleton.js +7 -80
  167. package/library/components/space.js +6 -143
  168. package/library/components/spinner.js +7 -76
  169. package/library/components/split-panel.js +18 -125
  170. package/library/components/step.js +21 -272
  171. package/library/components/stepper-wizard.js +9 -43
  172. package/library/components/stepper.js +17 -34
  173. package/library/components/switch.js +13 -276
  174. package/library/components/tab-group.js +7 -7
  175. package/library/components/tab-panel.js +5 -32
  176. package/library/components/tab.js +11 -257
  177. package/library/components/table.js +8 -8
  178. package/library/components/tag.js +15 -166
  179. package/library/components/textarea.js +183 -504
  180. package/library/components/timecode.js +6 -25
  181. package/library/components/tooltip.js +10 -94
  182. package/library/components/tree-item.js +4 -4
  183. package/library/components/tree.js +4 -4
  184. package/library/components/typeface.js +24 -123
  185. package/library/components/types.js +35172 -45146
  186. package/library/components/typography.js +2 -2
  187. package/library/components/video.js +3875 -6263
  188. package/library/components/visually-hidden.js +3 -15
  189. package/library/package.json +4 -1
  190. package/library/packages/atoms/src/components/dialog/dialog.d.ts +10 -0
  191. package/library/packages/atoms/src/components/icon-button/icon-button.d.ts +2 -1
  192. package/library/packages/atoms/src/components/image/image.d.ts +15 -1
  193. package/library/packages/atoms/src/components/input/auto-grow-controller.d.ts +23 -0
  194. package/library/packages/atoms/src/components/input/input.d.ts +10 -2
  195. package/library/packages/atoms/src/components/menu-item/menu-item.d.ts +4 -0
  196. package/library/packages/atoms/src/components/pagination/pagination.d.ts +32 -2
  197. package/library/packages/atoms/src/components/popup/overlay/Overlay.d.ts +10 -0
  198. package/library/packages/atoms/src/components/popup/popup.d.ts +1 -1
  199. package/library/packages/atoms/src/components/select/select.d.ts +11 -0
  200. package/library/packages/atoms/src/components/table/table.d.ts +42 -8
  201. package/library/packages/atoms/src/components/table/tabulator-tables/core/Tabulator.d.ts +1 -0
  202. package/library/packages/atoms/src/components/table/tabulator-tables/core/TabulatorFull.d.ts +1 -0
  203. package/library/packages/atoms/src/components/table/tabulator-tables/core/tools/DataLoader.d.ts +3 -1
  204. package/library/packages/atoms/src/components/table/tabulator-tables/modules/Ajax/Ajax.d.ts +1 -1
  205. package/library/packages/atoms/src/components/table/tabulator-tables/modules/Edit/Edit.d.ts +1 -0
  206. package/library/packages/atoms/src/components/table/tabulator-tables/modules/Edit/List.d.ts +40 -1
  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/styleController.d.ts +20 -2
  256. package/library/packages/organisms/src/index.d.ts +2 -0
  257. package/library/packages/organisms/src/lightbox/lightbox.d.ts +79 -0
  258. package/library/packages/organisms/src/lightbox/lightbox.styles.d.ts +2 -0
  259. package/library/packages/services/src/api/asset/asset.d.ts +3 -2
  260. package/library/packages/services/src/api/asset/asset.types.d.ts +84 -0
  261. package/library/packages/services/src/api/asset/asset.utils.d.ts +9 -0
  262. package/library/packages/services/src/api/endpoints.d.ts +1 -1
  263. package/library/packages/tools/src/fetch-asset/fetch-asset.d.ts +2 -1
  264. package/library/packages/tools/src/fetch-image/fetch-image.d.ts +17 -5
  265. package/library/packages/types/src/asset-click-action.d.ts +3 -1
  266. package/library/packages/types/src/bento-grid.d.ts +37 -0
  267. package/library/packages/types/src/content-builder.d.ts +27 -1
  268. package/library/packages/types/src/gallery.d.ts +0 -6
  269. package/library/packages/types/src/icon-button.d.ts +7 -0
  270. package/library/packages/types/src/menu-item.d.ts +33 -0
  271. package/library/packages/types/src/storybook.d.ts +19 -0
  272. package/library/packages/types/src/table.d.ts +37 -1
  273. package/library/packages/types/src/textarea.d.ts +4 -0
  274. package/library/packages/types/src/video-format-picker.d.ts +11 -0
  275. package/library/packages/utils/src/actions/asset-click.d.ts +1 -3
  276. package/library/packages/utils/src/custom-element/i18n.d.ts +10 -3
  277. package/library/packages/utils/src/index.d.ts +1 -0
  278. package/library/packages/utils/src/string/string.d.ts +33 -0
  279. package/library/packages/utils/src/transformation/index.d.ts +1 -0
  280. package/library/packages/utils/src/url/url.d.ts +9 -0
  281. package/library/react-web-component.d.ts +289 -29
  282. package/library/utils.js +483 -178
  283. package/package.json +4 -1
  284. package/library/chunks/_baseRest.ClTMQtN1.js +0 -67
  285. package/library/chunks/asset.CG_yXtWK.js +0 -288
  286. package/library/chunks/button.styles.Dl5IQLHU.js +0 -718
  287. package/library/chunks/component.styles.DMSLciL5.js +0 -71
  288. package/library/chunks/confirm-popover.DlN4hgLS.js +0 -288
  289. package/library/chunks/content-builder.D_phDrlo.js +0 -127
  290. package/library/chunks/dot-pagination.COBkyhoJ.js +0 -325
  291. package/library/chunks/file-on-demand.DZtadqgL.js +0 -3740
  292. package/library/chunks/folder-select.Bl_WkhVE.js +0 -844
  293. package/library/chunks/form-control.styles.CUGhvlfT.js +0 -67
  294. package/library/chunks/header.BduX6KJP.js +0 -777
  295. package/library/chunks/identity.ByMq8VxU.js +0 -6
  296. package/library/chunks/iframe.BPKV2K7z.js +0 -160
  297. package/library/chunks/index.CwrqgSke.js +0 -373
  298. package/library/chunks/isObjectLike.D3cpZO39.js +0 -81
  299. package/library/chunks/option.DnpkE8Xi.js +0 -296
  300. package/library/chunks/pagination.C30LoTya.js +0 -341
  301. package/library/chunks/string.B_rEG27K.js +0 -160
  302. package/library/chunks/toast.BXNbwZV8.js +0 -25
  303. package/library/chunks/typography.oDzoLbZS.js +0 -149
  304. package/library/chunks/url.LjsR2sB5.js +0 -15
  305. package/library/chunks/watch.q1sEjPWL.js +0 -501
  306. /package/library/packages/{organisms/src/asset-link-format/asset-link-format.utils.d.ts → utils/src/transformation/transformation.d.ts} +0 -0
@@ -1,20 +1,8 @@
1
1
  import { C as a } from "../chunks/lib-cortex-element.CVMmyPMC.js";
2
- import { c as l } from "../chunks/component.styles.DMSLciL5.js";
2
+ import { c as l } from "../chunks/component.styles.CRO4Odto.js";
3
3
  import { c as m } from "../chunks/custom-element.L4WJXn1j.js";
4
4
  import { i as c, x as d } from "../chunks/lit-element.jLBm65_O.js";
5
- const h = c`
6
- :host(:not(:focus-within)) {
7
- position: absolute !important;
8
- width: 1px !important;
9
- height: 1px !important;
10
- clip: rect(0 0 0 0) !important;
11
- clip-path: inset(50%) !important;
12
- border: none !important;
13
- overflow: hidden !important;
14
- white-space: nowrap !important;
15
- padding: 0 !important;
16
- }
17
- `;
5
+ const h = c`:host(:not(:focus-within)){clip:rect(0 0 0 0)!important;clip-path:inset(50%)!important;white-space:nowrap!important;border:none!important;width:1px!important;height:1px!important;padding:0!important;position:absolute!important;overflow:hidden!important}`;
18
6
  var f = Object.getOwnPropertyDescriptor, u = (r, n, p, i) => {
19
7
  for (var t = i > 1 ? void 0 : i ? f(n, p) : n, o = r.length - 1, s; o >= 0; o--)
20
8
  (s = r[o]) && (t = s(t) || t);
@@ -22,7 +10,7 @@ var f = Object.getOwnPropertyDescriptor, u = (r, n, p, i) => {
22
10
  };
23
11
  let e = class extends a {
24
12
  render() {
25
- return d` <slot></slot> `;
13
+ return d`<slot></slot>`;
26
14
  }
27
15
  };
28
16
  e.styles = [l, h];
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@orangelogic/design-system",
3
3
  "type": "module",
4
- "version": "2.0.0-29DUO2-beta-2",
4
+ "version": "2.0.0-29IORR-beta-1",
5
5
  "license": "UNLICENSED",
6
6
  "types": "library/types.d.ts",
7
7
  "scripts": {
@@ -45,5 +45,8 @@
45
45
  },
46
46
  "publishConfig": {
47
47
  "access": "public"
48
+ },
49
+ "nx": {
50
+ "projectType": "application"
48
51
  }
49
52
  }
@@ -2,6 +2,7 @@ import { default as CortexElement } from '../../../../base/src/cortex-element.ts
2
2
  import { DialogDividerPosition } from '../../../../types/src/dialog';
3
3
  import { default as Modal } from '../../../../utils/src/custom-element/modal';
4
4
  import { CSSResultGroup, PropertyValues } from 'lit';
5
+ import { ScrollbarsAutoHideBehavior } from 'overlayscrollbars';
5
6
  import { default as CxDivider } from '../divider/divider';
6
7
  import { default as CxIconButton } from '../icon-button/icon-button';
7
8
  import { default as CxPopup } from '../popup/popup';
@@ -103,8 +104,17 @@ export default class CxDialog extends CortexElement {
103
104
  /**
104
105
  * Enables the overlay scrollbar plugin, which provides a custom scrollbar that does not take up any content space.
105
106
  * This is useful for dialogs that contain scrollable content.
107
+ * Note that the scrollbar will only be visible when the content is overflowing.
106
108
  */
107
109
  useOverlayScrollbar: boolean;
110
+ /**
111
+ * The `autoHide` behavior of the overlay scrollbar. This controls when the scrollbar will be hidden. It can be set to 'scroll' (the default), which will hide the scrollbar when not scrolling, 'leave' which will hide the scrollbar when not scrolling and the mouse is not over the scrollable area, or 'never' which will never hide the scrollbar.
112
+ */
113
+ overlayScrollbarAutoHide: ScrollbarsAutoHideBehavior;
114
+ /**
115
+ * The `autoHideDelay` of the overlay scrollbar. This controls how long to wait before hiding the scrollbar when `autoHide` is set to 'scroll' or 'leave'. The default is 1000ms.
116
+ */
117
+ overlayScrollbarAutoHideDelay: number;
108
118
  /**
109
119
  * Preventing the dialog from closing when clicking the overlay.
110
120
  */
@@ -1,5 +1,6 @@
1
1
  import { default as CortexElement } from '../../../../base/src/cortex-element.ts';
2
2
  import { ButtonVariant } from '../../../../types/src/button';
3
+ import { IconButtonSize } from '../../../../types/src/icon-button';
3
4
  import { CSSResultGroup } from 'lit';
4
5
  import { default as CxIcon } from '../icon/icon';
5
6
  import { default as CxSpinner } from '../spinner/spinner';
@@ -73,7 +74,7 @@ export default class CxIconButton extends CortexElement {
73
74
  /**
74
75
  * The button's size.
75
76
  */
76
- size: 'small' | 'medium' | 'large' | 'x-large';
77
+ size: IconButtonSize;
77
78
  /**
78
79
  * Draws an outlined button.
79
80
  */
@@ -29,7 +29,7 @@ import { default as CxSpace } from '../space/space';
29
29
  * @cssproperty --border - The border of the image.
30
30
  *
31
31
  * @event cx-load - Emitted when the image has loaded.
32
- * @event cx-error - Emitted when the image has failed to load.
32
+ * @event cx-error - Emitted when the image has failed to load (after all retry attempts when `retry-on-error` is enabled).
33
33
  * @event cx-image-zoom-open - Emitted when the image zoom is opened.
34
34
  * @event cx-image-zoom-close - Emitted when the image zoom is closed.
35
35
  *
@@ -49,8 +49,12 @@ export default class CxImage extends ResizableElement {
49
49
  imageElement?: HTMLImageElement;
50
50
  zoomImageElement: HTMLImageElement;
51
51
  highlighterElement: HTMLDivElement;
52
+ private _retryCount;
53
+ private _retryTimer;
52
54
  isLoaded: boolean;
53
55
  isError: boolean;
56
+ /** Incremented on each retry attempt to force the img element to remount via keyed(). */
57
+ private _retryIndex;
54
58
  /**
55
59
  * The path to the image to load.
56
60
  */
@@ -97,6 +101,14 @@ export default class CxImage extends ResizableElement {
97
101
  * - manual: The click handler is manually handled by the parent element.
98
102
  */
99
103
  clickHandlerType: ClickHandlerType;
104
+ /**
105
+ * When true, automatically retries loading the image on error before showing the fallback.
106
+ */
107
+ retryOnError: boolean;
108
+ /**
109
+ * Maximum number of retry attempts when `retry-on-error` is enabled.
110
+ */
111
+ maxRetries: number;
100
112
  /**
101
113
  * Indicates whether the image is currently zoomed.
102
114
  */
@@ -145,6 +157,8 @@ export default class CxImage extends ResizableElement {
145
157
  handleCanZoomChange(): Promise<void>;
146
158
  handleObjectFitChange(): Promise<void>;
147
159
  handleSrcChange(): void;
160
+ private clearRetryTimer;
161
+ private scheduleRetry;
148
162
  private initZoom;
149
163
  protected handleLoad(event: Event): void;
150
164
  protected handleError(): void;
@@ -0,0 +1,23 @@
1
+ import { ReactiveController, ReactiveControllerHost } from 'lit';
2
+
3
+ interface AutoGrowHost extends ReactiveControllerHost {
4
+ autoGrow: boolean;
5
+ autoGrowMirror?: HTMLSpanElement;
6
+ input: HTMLInputElement;
7
+ placeholder: string;
8
+ type: string;
9
+ value: string;
10
+ }
11
+ /**
12
+ * Reactive controller that keeps `cx-input` width in sync with its content when auto-grow is enabled.
13
+ */
14
+ export declare class AutoGrowController implements ReactiveController {
15
+ private readonly host;
16
+ constructor(host: AutoGrowHost);
17
+ hostConnected(): void;
18
+ hostDisconnected(): void;
19
+ hostUpdated(): void;
20
+ sync(): void;
21
+ private measureWidth;
22
+ }
23
+ export {};
@@ -38,6 +38,7 @@ import { default as CxIcon } from '../icon/icon';
38
38
  * @csspart file-button - The 'Choose file' button.
39
39
  * @csspart file-result - The text that displays the selected file name.
40
40
  * @csspart character-count-text - The text that displays the character count.
41
+ * @cssproperty [--cx-input-auto-grow-min-width=0] - The minimum width used when `auto-grow` is enabled.
41
42
  */
42
43
  export default class CxInput extends CortexElement implements CortexFormControl {
43
44
  #private;
@@ -48,7 +49,9 @@ export default class CxInput extends CortexElement implements CortexFormControl
48
49
  private readonly formControlController;
49
50
  private readonly hasSlotController;
50
51
  private readonly localize;
52
+ private readonly autoGrowController;
51
53
  input: HTMLInputElement;
54
+ autoGrowMirror: HTMLSpanElement;
52
55
  inputContainer: HTMLElement;
53
56
  labelElement: HTMLElement;
54
57
  private hasFocus;
@@ -66,6 +69,11 @@ export default class CxInput extends CortexElement implements CortexFormControl
66
69
  name: string;
67
70
  /** The current value of the input, submitted as a name/value pair with form data. */
68
71
  value: string;
72
+ /**
73
+ * When enabled, the input width grows and shrinks with its current value.
74
+ * This only applies to non-file input types.
75
+ */
76
+ autoGrow: boolean;
69
77
  /** If used with mask, this stores the input's value, with fixed strings omitted. */
70
78
  unmaskedValue: string;
71
79
  /** The default value of the form control. Primarily used for resetting the form control. */
@@ -197,8 +205,7 @@ export default class CxInput extends CortexElement implements CortexFormControl
197
205
  /** Gets the validation message */
198
206
  get validationMessage(): string;
199
207
  constructor();
200
- runConnectedCallback(): void;
201
- runFirstUpdated(): void;
208
+ connectedUpdatedCallback(): void;
202
209
  disconnectedCallback(): void;
203
210
  initMaskInstance(): Promise<void>;
204
211
  private handleBlur;
@@ -215,6 +222,7 @@ export default class CxInput extends CortexElement implements CortexFormControl
215
222
  handleDisabledChange(): void;
216
223
  handleStepChange(): void;
217
224
  handleValueChange(): Promise<void>;
225
+ handleAutoGrowChange(): Promise<void>;
218
226
  /** Sets focus on the input. */
219
227
  focus(options?: FocusOptions): void;
220
228
  /** Removes focus from the input. */
@@ -1,4 +1,5 @@
1
1
  import { default as CortexElement } from '../../../../base/src/cortex-element.ts';
2
+ import { MenuItemCheckPlacement } from '../../../../types/src/menu-item';
2
3
  import { CSSResultGroup, TemplateResult } from 'lit';
3
4
  import { default as CxIcon } from '../icon/icon';
4
5
  import { default as CxPopup } from '../popup/popup';
@@ -16,6 +17,7 @@ import { default as CxSpinner } from '../spinner/spinner';
16
17
  * @slot submenu-icon - The icon shown when the menu item has a submenu. Defaults to a chevron icon.
17
18
  *
18
19
  * @attr {string} submenu-placement - The placement of the submenu relative to the menu item. When not set, uses RTL-aware positioning ('left-start' in RTL, 'right-start' in LTR).
20
+ * @attr {'prefix' | 'suffix'} check-placement - Placement of the built-in checked icon relative to the label. Defaults to `suffix`. When set to `suffix` on an item that also has a submenu, the check icon renders after the submenu chevron.
19
21
  *
20
22
  * @csspart base - The component's base wrapper.
21
23
  * @csspart checked-icon - The checked icon, which is only visible when the menu item is checked.
@@ -76,6 +78,8 @@ export default class CxMenuItem extends CortexElement {
76
78
  menu: string;
77
79
  /** Whether to always show the checked icon. */
78
80
  alwaysShowCheckedIcon: boolean;
81
+ /** Placement of the built-in checked icon relative to the label. */
82
+ checkPlacement: MenuItemCheckPlacement;
79
83
  /** The placement of the submenu relative to the menu item. When null/undefined, uses RTL-aware default positioning. */
80
84
  submenuPlacement?: 'top' | 'bottom' | 'left' | 'right' | 'top-start' | 'top-end' | 'bottom-start' | 'bottom-end' | 'left-start' | 'left-end' | 'right-start' | 'right-end';
81
85
  /** Enables lazy loading submenu behavior. */
@@ -1,8 +1,11 @@
1
+ import { default as CxSpace } from '../space/space.ts';
1
2
  import { default as CortexElement } from '../../../../base/src/cortex-element.ts';
3
+ import { IconButtonSize } from '../../../../types/src/icon-button';
2
4
  import { PaginationCounter } from '../../../../types/src/pagination';
3
5
  import { CSSResultGroup, TemplateResult } from 'lit';
4
6
  import { default as CxButton } from '../button/button';
5
7
  import { default as CxIconButton } from '../icon-button/icon-button';
8
+ import { default as CxInput } from '../input/input';
6
9
  import { default as CxOption } from '../option/option';
7
10
  import { default as CxSelect } from '../select/select';
8
11
  import { default as CxTooltip } from '../tooltip/tooltip';
@@ -10,6 +13,7 @@ import { default as CxTypography } from '../typography/typography';
10
13
 
11
14
  /**
12
15
  * @summary Pagination component displays the current page and allows the user to navigate through pages.
16
+ * @description Set `show-pagination-input` to render an editable page input in page counters. Leave it unset to keep the original plain-text counters. When only one page is available, navigation buttons are hidden and page counters remain plain text. Use `back-icon-name` and `next-icon-name` to override the previous/next icon-button glyphs (see the icon component for available names). Use `icon-button-size` for all navigation icon buttons (`small`, `medium`, `large`, `x-large`).
13
17
  *
14
18
  * @cssproperty --width - The width of the select
15
19
  *
@@ -22,8 +26,10 @@ export default class CxPagination extends CortexElement {
22
26
  static readonly dependencies: {
23
27
  'cx-button': typeof CxButton;
24
28
  'cx-icon-button': typeof CxIconButton;
29
+ 'cx-input': typeof CxInput;
25
30
  'cx-option': typeof CxOption;
26
31
  'cx-select': typeof CxSelect;
32
+ 'cx-space': typeof CxSpace;
27
33
  'cx-tooltip': typeof CxTooltip;
28
34
  'cx-typography': typeof CxTypography;
29
35
  };
@@ -63,28 +69,52 @@ export default class CxPagination extends CortexElement {
63
69
  * The type of pagination counter to display.
64
70
  */
65
71
  paginationCounter: PaginationCounter;
72
+ /**
73
+ * Whether to show an editable page input in page counters.
74
+ */
75
+ showPaginationInput: boolean;
76
+ /**
77
+ * Icon name for the previous (back) navigation button.
78
+ */
79
+ backIconName: string;
80
+ /**
81
+ * Icon name for the next navigation button.
82
+ */
83
+ nextIconName: string;
84
+ /**
85
+ * Size passed to each `cx-icon-button` in the navigation controls (first, previous, next, last).
86
+ */
87
+ iconButtonSize: IconButtonSize;
66
88
  private _pageIndex;
67
89
  private _pageCount;
90
+ /** Tracks the user-entered page value before committing navigation. */
91
+ private _pageInputValue;
68
92
  get pageIndex(): number;
69
93
  set pageIndex(value: number);
70
94
  get pageStart(): number;
71
95
  get pageEnd(): number;
72
96
  get prevDisabled(): boolean;
73
97
  get nextDisabled(): boolean;
98
+ private get hasMultiplePages();
74
99
  private updatePageCount;
75
100
  private handlePageSizeSelectChange;
76
101
  private handleFirst;
77
102
  private handleBack;
78
103
  private handleForward;
79
104
  private handleLast;
105
+ private commitPageInputValue;
106
+ private handlePageInput;
107
+ private handlePageInputKeyDown;
108
+ private handlePageInputBlur;
109
+ private renderCounterInput;
80
110
  handleCountChange(): Promise<void>;
81
111
  handlePageChange(): void;
82
112
  handlePageSizeChange(): void;
83
113
  private handlePageClick;
84
114
  private renderPageButton;
85
115
  private renderPageButtons;
86
- renderPageCount(): TemplateResult<1>;
87
- renderRowCount(): TemplateResult<1>;
116
+ private renderPageCount;
117
+ private renderRowCount;
88
118
  render(): TemplateResult;
89
119
  }
90
120
  declare global {
@@ -16,6 +16,9 @@ declare let OverlayFeatures: typeof AbstractOverlay & import('./overlay-types').
16
16
  * @fires cx-opened - announces that an overlay has completed any entry animations
17
17
  * @fires cx-closed - announce that an overlay has compelted any exit animations
18
18
  * @fires slottable-request - requests to add or remove slottable content
19
+ *
20
+ * @attr defer-slotted-visibility - when set, default-slot content stays visually hidden
21
+ * (layout preserved) until `state` is `opened`, avoiding flashes before top layer settles.
19
22
  */
20
23
  export declare class Overlay extends OverlayFeatures {
21
24
  static styles: CSSResultGroup;
@@ -30,6 +33,11 @@ export declare class Overlay extends OverlayFeatures {
30
33
  get delayed(): boolean;
31
34
  set delayed(delayed: boolean);
32
35
  private _delayed;
36
+ /**
37
+ * When true, slotted default content is not painted until `state === 'opened'`.
38
+ * Preserves layout (no `display: none`) so hosts can measure before reveal.
39
+ */
40
+ deferSlottedVisibility: boolean;
33
41
  dialogEl: HTMLDialogElement & {
34
42
  hidePopover(): void;
35
43
  showPopover(): void;
@@ -127,6 +135,8 @@ export declare class Overlay extends OverlayFeatures {
127
135
  protected updated(changes: PropertyValues): void;
128
136
  protected renderContent(): TemplateResult;
129
137
  private get dialogStyleMap();
138
+ /** Reveal deferred slotted content only after the overlay reaches the opened state. */
139
+ private get deferSlottedOpened();
130
140
  private handleClose;
131
141
  protected renderDialog(): TemplateResult;
132
142
  protected renderPopover(): TemplateResult;
@@ -45,7 +45,6 @@ export default class CxPopup extends CortexElement {
45
45
  /** A reference to the internal popup container. Useful for animating and styling the popup with JavaScript. */
46
46
  popup: HTMLElement;
47
47
  private arrowEl;
48
- private overlay;
49
48
  /**
50
49
  * The element the popup will be anchored to. If the anchor lives outside of the popup, you can provide the anchor
51
50
  * element `id`, a DOM element reference, or a `VirtualElement`. If the anchor lives inside the popup, use the
@@ -168,6 +167,7 @@ export default class CxPopup extends CortexElement {
168
167
  disconnectedCallback(): void;
169
168
  connectedUpdatedCallback(): void;
170
169
  updated(changedProps: Map<string, unknown>): Promise<void>;
170
+ private handleOverlayOpened;
171
171
  private handleAnchorChange;
172
172
  private start;
173
173
  private stop;
@@ -86,6 +86,12 @@ export default class CxSelect extends CortexElement implements CortexFormControl
86
86
  * be an array. **For this reason, values must not contain spaces.**
87
87
  */
88
88
  value: string | string[];
89
+ /**
90
+ * The fallback option value used when the select value does not match
91
+ * any explicitly declared option.
92
+ * The original unmatched value is preserved for form submission.
93
+ */
94
+ fallbackOptionValue: string;
89
95
  /**
90
96
  * The default value of the form control. Primarily used for resetting the form control.
91
97
  */
@@ -321,6 +327,11 @@ export default class CxSelect extends CortexElement implements CortexFormControl
321
327
  * Gets an array of all visible <cx-option> elements
322
328
  */
323
329
  private getVisibleOptions;
330
+ /**
331
+ * Resolves selected options for the current value and applies fallback selection
332
+ * when unmatched values exist and `fallbackOptionValue` is configured.
333
+ */
334
+ private getOptionsForValue;
324
335
  /**
325
336
  * Sets the current option, which is the option the user is currently interacting with (e.g. via keyboard). Only one
326
337
  * option may be "current" at a time.
@@ -38,7 +38,7 @@ import { RowComponent, TabulatorFull as Tabulator } from './tabulator-tables';
38
38
  * @cssproperty [--header-font-size=var(--cx-font-size-small)] - The font size of the table header.
39
39
  * @cssproperty [--header-color=var(--cx-color-neutral-800)] - The color of the table header.
40
40
  * @cssproperty [--header-border-color=var(--cx-color-neutral-200)] - The color of the table header border.
41
- * @cssproperty [--header-height=auto] - The height of the table header.
41
+ * @cssproperty [--header-height=var(--cx-spacing-3x-large)] - The height of the table header.
42
42
  * @cssproperty [--header-horizontal-padding=var(--cx-spacing-2x-small)] - The horizontal padding of the table header.
43
43
  * @cssproperty [--cell-border-color=var(--cx-color-neutral-200)] - The color of the table cell border.
44
44
  * @cssproperty [--cell-horizontal-padding=var(--cx-spacing-2x-small)] - The horizontal padding of the table cell.
@@ -209,7 +209,15 @@ export default class CxTable extends CortexElement {
209
209
  */
210
210
  canExportCustom: boolean;
211
211
  canSaveReport: boolean;
212
+ /**
213
+ * Endpoint URL for the saved search dropdown when `show-saved-search` is enabled.
214
+ * When set (non-empty), it takes precedence over `savedSearchItems` and the dropdown loads paged data via `fetch`.
215
+ */
212
216
  savedSearchURL: string;
217
+ /**
218
+ * Static saved searches for the toolbar dropdown when `show-saved-search` is enabled and `savedSearchURL` is empty.
219
+ * Each item uses `{ recordID, name }` (see `SavedSearchItem`).
220
+ */
213
221
  savedSearchItems: SavedSearchItem[];
214
222
  /**
215
223
  * The parameter name for the page size for the saved search dropdown
@@ -359,6 +367,10 @@ export default class CxTable extends CortexElement {
359
367
  * Enabling the groupUpdateOnCellEdit option will cause a row to be regrouped when the cell it is grouped by is edited.
360
368
  */
361
369
  groupUpdateOnCellEdit: boolean;
370
+ /**
371
+ * Load-more state keyed by the serialized group path returned by `group.getPathKey()`.
372
+ */
373
+ groupLoadMoreMeta: Options['groupLoadMoreMeta'];
362
374
  /**
363
375
  * If true, the table will be rendered as a tree.
364
376
  */
@@ -388,12 +400,6 @@ export default class CxTable extends CortexElement {
388
400
  * to be inserted in a different column you can pass the field name of the column to the dataTreeElementColumn setup option
389
401
  */
390
402
  dataTreeElementColumn: boolean | string | undefined;
391
- /**
392
- * The branch element is the right angled line running from parent to child to indicate its position in the tree.
393
- * If false, the branch element will not be displayed.
394
- * Alternatively, can provide a HTML string to use as the branch element.
395
- */
396
- dataTreeBranchElement: boolean | string | undefined;
397
403
  /**
398
404
  * The amount of pixels to indent the child rows.
399
405
  */
@@ -557,12 +563,16 @@ export default class CxTable extends CortexElement {
557
563
  * Whether to show the pagination buttons.
558
564
  */
559
565
  showPaginationButtons: boolean;
566
+ /**
567
+ * Whether to hide an editable input for the current page in the pagination counter.
568
+ */
569
+ hidePaginationInput: boolean;
560
570
  /**
561
571
  * Controls page size options. Either:
562
572
  * - true: Page size options will be multiples of the current page size.
563
573
  * - array: Page size options will be the numbers in the array. If 'true' is in the array, 'All' will be added to the list of options.
564
574
  */
565
- paginationSizeSelector: true | Array<number | boolean> | undefined;
575
+ pageSizeOptions: true | Array<number | boolean> | undefined;
566
576
  /**
567
577
  * When using the addRow function on a paginated table, rows will be added relative to the current page (ie to the top or bottom of the current page), with overflowing rows being shifted onto the next page.
568
578
  *
@@ -644,6 +654,24 @@ export default class CxTable extends CortexElement {
644
654
  * Enables the overlay scrollbar plugin, which provides a custom scrollbar that does not take up any content space.
645
655
  */
646
656
  useOverlayScrollbar: boolean;
657
+ /**
658
+ * Controls the external loading state.
659
+ *
660
+ * When `true`, the loading spinner is shown regardless of whether the table's internal
661
+ * data load is in progress. The spinner only hides when both this property and the
662
+ * internal data load are `false`.
663
+ *
664
+ * Use this to manually show a loading indicator when fetching data outside the table
665
+ * (e.g. a parent component is preparing data before passing it in).
666
+ *
667
+ * To set loading imperatively, prefer `setLoading(value)` instead of assigning
668
+ * this property directly — both are equivalent but `setLoading()` makes intent clearer.
669
+ *
670
+ * To read whether the table is effectively loading (external or internal), use
671
+ * `isLoading()` instead of reading this property directly — `loading` only reflects
672
+ * the externally set state, not the internal data fetch.
673
+ */
674
+ loading: boolean;
647
675
  tabulatorInstance: Tabulator | null;
648
676
  /**
649
677
  * In case the table is re-initialized, we need to re-register the event listeners.
@@ -681,8 +709,14 @@ export default class CxTable extends CortexElement {
681
709
  handleGroupByChange(): void;
682
710
  handleGroupHeaderChange(): void;
683
711
  handleGroupValuesChange(): void;
712
+ handleGroupLoadMoreMetaChange(): void;
684
713
  handlePaginationSizeChange(): void;
714
+ handlePaginationChange(): Promise<void>;
715
+ private attachPaginatorToToolbar;
685
716
  handlePaginationInitialPageChange(): void;
717
+ handleLoadingChange(): void;
718
+ setLoading(value: boolean): void;
719
+ isLoading(): boolean;
686
720
  search(searchText: string): void;
687
721
  private handleSearch;
688
722
  handleSearchFieldsChange(): void;
@@ -114,6 +114,7 @@ declare class Tabulator extends ModuleBinder implements ITabulator {
114
114
  */
115
115
  alert(contents: any, type?: string): void;
116
116
  clearAlert(): void;
117
+ isLoading(): boolean;
117
118
  /**
118
119
  * Extension Management
119
120
  */
@@ -21,6 +21,7 @@ declare class TabulatorFull extends Tabulator implements ITabulatorFull {
21
21
  * You can use the setGroupStartOpen function to change the default open state of groups. This function has one argument and takes the same values as passed to the groupStartOpen setup option.
22
22
  * Note: If you use the setGroupStartOpen or setGroupHeader before you have set any groups on the table, the table will not update until the setGroupBy function is called.
23
23
  */
24
+ setGroupLoadMoreMeta: (meta: Options['groupLoadMoreMeta']) => void;
24
25
  setGroupStartOpen: (values: Options['groupStartOpen']) => void;
25
26
  setGroupValues: (data: GroupValuesArg) => void;
26
27
  /**
@@ -4,8 +4,9 @@ import { default as CoreFeature } from '../CoreFeature';
4
4
  export default class DataLoader extends CoreFeature implements IDataLoader {
5
5
  requestOrder: number;
6
6
  loading: boolean;
7
+ externalLoading: boolean;
7
8
  private debounceTimer;
8
- private pendingPromise;
9
+ pendingPromise: Promise<void> | null;
9
10
  private pendingResolve;
10
11
  private pendingReject;
11
12
  private static readonly DEBOUNCE_DELAY;
@@ -28,6 +29,7 @@ export default class DataLoader extends CoreFeature implements IDataLoader {
28
29
  mapParams(params: Record<string, any>, map: Record<string, string>): Record<string, any>;
29
30
  objectInvert(obj: Record<string, string>): Record<string, string>;
30
31
  blockActiveLoad(): void;
32
+ setExternalLoading(value: boolean): void;
31
33
  alertLoader(): void;
32
34
  alertError(): void;
33
35
  clearAlert(): void;
@@ -15,7 +15,7 @@ export default class Ajax extends Module {
15
15
  params: Record<string, unknown> | false;
16
16
  loaderPromise: LoaderPromise | false;
17
17
  contentTypeFormatters: Record<string, AjaxContentType>;
18
- private fetchApi;
18
+ private readonly fetchApi;
19
19
  static defaultLoaderPromise: LoaderPromise;
20
20
  constructor(table: Tabulator);
21
21
  initialize(): void;
@@ -43,6 +43,7 @@ export default class Edit extends Module {
43
43
  clearEditor(cancel: boolean): void;
44
44
  cancelEdit(): void;
45
45
  bindEditor(cell: Cell): void;
46
+ addListEditorTrigger(cell: Cell): void;
46
47
  focusCellNoEvent(cell: Cell, block?: boolean): void;
47
48
  editCell(cell: ICellComponent | null, forceEdit?: boolean): void;
48
49
  focusScrollAdjust(cell: Cell): void;
@@ -8,6 +8,7 @@ import { default as Edit } from './Edit';
8
8
  interface ListItem {
9
9
  element?: CxOption;
10
10
  group?: boolean;
11
+ isFallbackOption?: boolean;
11
12
  itemParams?: any;
12
13
  label: string;
13
14
  level: number;
@@ -40,6 +41,7 @@ export default class List {
40
41
  currentItems: ListItem[];
41
42
  focusedItem: ListItem | null;
42
43
  input: CxSelect;
44
+ initialValue: any;
43
45
  initialValues: string[];
44
46
  /**
45
47
  * Whether the cell is a header cell, used for header filter of type list
@@ -52,7 +54,7 @@ export default class List {
52
54
  cancel: CancelCallback;
53
55
  success: SuccessCallback;
54
56
  };
55
- private fetchApi;
57
+ private readonly fetchApi;
56
58
  constructor(editor: Edit, cell: Cell, onRendered: OnRenderedCallback, success: SuccessCallback, cancel: CancelCallback, editorParams: ListEditorParams);
57
59
  /**
58
60
  * cx-select only accepts string values without spaces
@@ -60,6 +62,7 @@ export default class List {
60
62
  */
61
63
  sanitizeValue(value: any): string;
62
64
  _initializeValue(): Promise<void>;
65
+ _getSanitizedInitialValues(initialValue: any): string[];
63
66
  _onRendered(): Promise<void>;
64
67
  clickStop(e: MouseEvent): void;
65
68
  /**
@@ -83,6 +86,23 @@ export default class List {
83
86
  _uniqueColumnValues(field?: string): string[];
84
87
  _emptyValueCheck(value: any): boolean;
85
88
  _parseList(inputValues: ListInputValues | Record<string, any>): ListItem[];
89
+ /**
90
+ * Ensures a fallback option exists when `fallbackOption.value` is configured.
91
+ * If the value is already declared in `values`, the existing item is tagged
92
+ * with `isFallbackOption` so visual customisation (divider, prefix) still applies.
93
+ * Otherwise a new auto-generated item is appended using the raw value as its label.
94
+ */
95
+ _appendFallbackOptionItem(data: ListItem[]): void;
96
+ /**
97
+ * Checks recursively whether grouped/flat list items already contain
98
+ * a given sanitized option value.
99
+ */
100
+ _hasListItemValue(items: ListItem[], sanitizedValue: string): boolean;
101
+ /**
102
+ * Finds and returns the first leaf item matching the given sanitized value,
103
+ * searching recursively through groups. Returns undefined when not found.
104
+ */
105
+ _findListItem(items: ListItem[], sanitizedValue: string): ListItem | undefined;
86
106
  _parseListItem(option: any, level: number): ListItem;
87
107
  _parseListGroup(option: any, level: number): ListItem;
88
108
  _sortOptions(options: ListItem[]): ListItem[];
@@ -102,6 +122,25 @@ export default class List {
102
122
  _cancel(): void;
103
123
  _chooseItem(item: ListItem, silent?: boolean): void;
104
124
  _getCommittedOutput(): any;
125
+ /**
126
+ * Resolves the selected values once so preserved fallback arrays are not
127
+ * inserted into a single selected-option slot.
128
+ */
129
+ _getCommittedMultipleOutput(options: HTMLElement[]): any[];
130
+ _getMappedOptionOutput(sanitized: string): any;
131
+ _getPreservedInputValueOutput(value: any): any;
132
+ _getPreservedFallbackMultipleOutput(sanitizedOptions: string[]): {
133
+ hasValue: false;
134
+ } | {
135
+ hasValue: true;
136
+ value: any[];
137
+ };
138
+ /**
139
+ * Checks for a preserved unmatched editor value when the selected option is
140
+ * the configured fallback option used for undeclared values.
141
+ */
142
+ _hasPreservedFallbackOptionOutput(sanitized: string): boolean;
143
+ _hasPreservedUnmatchedInputValue(inputValues: any[], sanitizedFallbackOptionValue: string): boolean;
105
144
  _resolveValue(commitItem?: ListItem): void;
106
145
  }
107
146
  export {};