@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.
- package/library/chunks/{AxisLabelRadial.CgPb7ghO.js → AxisLabelRadial.Bs1P_q_F.js} +1 -1
- package/library/chunks/{BaseColumnSeries.B6rG-Ylz.js → BaseColumnSeries.C7jwOxIJ.js} +1 -1
- package/library/chunks/{CandlestickSeries.C-YfO-57.js → CandlestickSeries.CkXGtRWE.js} +2 -2
- package/library/chunks/{Circle.DhoXSsjo.js → Circle.DBa5Ok8V.js} +1 -1
- package/library/chunks/{ColumnSeries.CZi2LBZ2.js → ColumnSeries.DGazbfza.js} +2 -2
- package/library/chunks/{EditableAxisLabel.CykTMTsG.js → EditableAxisLabel.wN0t_G2B.js} +2 -2
- package/library/chunks/{EditableLabel.BlQ7B4D0.js → EditableLabel.BWeq6fgX.js} +1 -1
- package/library/chunks/{Gradient.BQ0JzFEe.js → Gradient.CdcsPIru.js} +1 -1
- package/library/chunks/{LinearGradient.DuVS2EHe.js → LinearGradient.B1z9AGUt.js} +2 -2
- package/library/chunks/{Picture.DRO0jnR6.js → Picture.YSPC0l0Q.js} +1 -1
- package/library/chunks/{Polygon.DEO3f_qs.js → Polygon.BwMvXN2H.js} +1 -1
- package/library/chunks/{ProgressPie.Bryx2w1J.js → ProgressPie.DlCwXN17.js} +5 -5
- package/library/chunks/{RadialLabel.TyXECvYG.js → RadialLabel.DyVOf2K8.js} +1 -1
- package/library/chunks/{Scrollbar.DK48nKk4.js → Scrollbar.BdZVb_Z-.js} +1 -1
- package/library/chunks/{Slice.DbXRplXx.js → Slice.DiEswWa6.js} +1 -1
- package/library/chunks/{Slider.B27osQYu.js → Slider.C20No2z5.js} +1 -1
- package/library/chunks/{SpriteResizer.C4wFzD_x.js → SpriteResizer.DFnmcy0h.js} +1 -1
- package/library/chunks/{Triangle.BEmFiHyd.js → Triangle.BaOef7HV.js} +1 -1
- package/library/chunks/{ZoomTools.CBqjLDqb.js → ZoomTools.D5JPehoL.js} +1 -1
- package/library/chunks/{_baseUniq.Df-fLIBx.js → _baseUniq.BUihBa8c.js} +56 -53
- package/library/chunks/{am-chart.B_OdX4Q-.js → am-chart.H2jnOzFc.js} +254 -262
- package/library/chunks/{animation.DfUHRQry.js → animation.7ifl4x2S.js} +4 -8
- package/library/chunks/array.DCtvHiLS.js +81 -0
- package/library/chunks/asset.D7E0-cUV.js +460 -0
- package/library/chunks/{button.KnE3mcyM.js → button.CauAHfdl.js} +10 -45
- package/library/chunks/button.styles.CKqn956w.js +5 -0
- package/library/chunks/{capitalize.WSkCXkNE.js → capitalize.CNStXZBq.js} +1 -1
- package/library/chunks/{color-swatch-group.p3Sdqlat.js → color-swatch-group.D5BP2W3P.js} +50 -220
- package/library/chunks/{color-swatch.C0oPHfOu.js → color-swatch.2HS4bc3N.js} +20 -204
- package/library/chunks/{colorPicker.CJwbdhtn.js → colorPicker.06n6P3aK.js} +5 -5
- package/library/chunks/component.styles.CRO4Odto.js +5 -0
- package/library/chunks/confirm-popover.DmGAMS8X.js +121 -0
- package/library/chunks/{cropper.tSDgXKqJ.js → cropper.ZU2Dy-MM.js} +8182 -8540
- package/library/chunks/{dialog.DpZBbTCn.js → dialog.2UW1LNm1.js} +117 -314
- package/library/chunks/{dom.BQVKDNd8.js → dom.BslZF2Y_.js} +1 -1
- package/library/chunks/dot-pagination.DsAfSNzr.js +204 -0
- package/library/chunks/{endpoints.B7lcoc1N.js → endpoints.Fpyb8xvv.js} +214 -203
- package/library/chunks/{exporting.DCqJtW6l.js → exporting.Chnl3UWi.js} +2 -2
- package/library/chunks/file-on-demand.Dig_iVvx.js +1956 -0
- package/library/chunks/{flow.Ch1rU01m.js → flow.D2CqFQa7.js} +5 -5
- package/library/chunks/folder-select.BT1drT8C.js +775 -0
- package/library/chunks/form-control.styles.CaGWmeAS.js +5 -0
- package/library/chunks/{form.DgwYWi0O.js → form.CFc09rKh.js} +1 -1
- package/library/chunks/{gantt.rWdF_jmG.js → gantt.DSHD2gjO.js} +8 -8
- package/library/chunks/header.BePZwMCQ.js +170 -0
- package/library/chunks/{hierarchy.HoRJAu6S.js → hierarchy.DwVsMmsP.js} +5 -5
- package/library/chunks/{hub-connection.CfARlehM.js → hub-connection.Ot2odiCz.js} +1 -1
- package/library/chunks/{i18n.C0iakJkV.js → i18n.BFqTRDCA.js} +19 -12
- package/library/chunks/icon-button.rKe0N4VB.js +149 -0
- package/library/chunks/iframe.DznmlYpV.js +73 -0
- package/library/chunks/{image.C9avagDq.js → image.CEtCGsNL.js} +275 -488
- package/library/chunks/{index.D2JPKXqq.js → index.C9khsiad.js} +17 -17
- package/library/chunks/isObjectLike.z36Fu426.js +34 -0
- package/library/chunks/{isSymbol.huJ_Cvxt.js → isSymbol.L0C2ND_U.js} +1 -1
- package/library/chunks/{json.DHNMAC-m.js → json.zyETMOw-.js} +3 -3
- package/library/chunks/{list-editor.B2mFE9f7.js → list-editor.CJ96S1Np.js} +58 -372
- package/library/chunks/{map.BHmZ4Crx.js → map.CqM2O6LB.js} +2 -2
- package/library/chunks/option.COnEtd3X.js +123 -0
- package/library/chunks/{overlayscrollbars.XhGWx9Zk.js → overlayscrollbars.BMav4RQ4.js} +252 -958
- package/library/chunks/pagination.DaD9Yul6.js +334 -0
- package/library/chunks/{percent.CM9cr1H3.js → percent.DuQwbCCg.js} +3 -3
- package/library/chunks/{radar.CQUnnhGk.js → radar.FpYl3UH5.js} +4 -4
- package/library/chunks/{responsive.CrX-HUow.js → responsive.BndCeSg0.js} +1 -1
- package/library/chunks/{sliceGrouper.iv1p8MAK.js → sliceGrouper.BsE7fGMt.js} +1 -1
- package/library/chunks/{stock.CU0y6a5P.js → stock.BR-ag4Pt.js} +9 -9
- package/library/chunks/string.BigZhczf.js +185 -0
- package/library/chunks/{tab-group.05PY0smt.js → tab-group.0Po0eoxR.js} +33 -584
- package/library/chunks/{table.DNTm_GMS.js → table.WNd284in.js} +3535 -4852
- package/library/chunks/{timeline.yzdwtGKM.js → timeline.DkzkmgEM.js} +5 -5
- package/library/chunks/{toString.CRT5zqEU.js → toString.CL_lYXbK.js} +3 -3
- package/library/chunks/toast.B2cJgW5u.js +71 -0
- package/library/chunks/transformation.CzBptarI.js +140 -0
- package/library/chunks/{tree.CeMLCbs-.js → tree.QCQd_cuc.js} +32 -400
- package/library/chunks/typography.DJC_UXgs.js +52 -0
- package/library/chunks/url.Cj9cIQXJ.js +27 -0
- package/library/chunks/{venn.BOEi13la.js → venn.D739bOV3.js} +1 -1
- package/library/chunks/watch.BCJD77bD.js +547 -0
- package/library/chunks/{wc.V-lq02JF.js → wc.DzW311D-.js} +1 -1
- package/library/chunks/{xy.Df1hy9ac.js → xy.DCRDfTsa.js} +10 -10
- package/library/components/alert.js +11 -179
- package/library/components/am-chart.js +3 -3
- package/library/components/animated-image.js +13 -101
- package/library/components/animation.js +3 -3
- package/library/components/array-line-clamp.js +8 -89
- package/library/components/asset-link-format.js +718 -1380
- package/library/components/atoms.js +18 -18
- package/library/components/avatar.js +6 -95
- package/library/components/badge.js +11 -139
- package/library/components/bicolor-picker.js +4 -23
- package/library/components/border-input-group.js +5 -26
- package/library/components/breadcrumb-item.js +25 -156
- package/library/components/breadcrumb.js +4 -22
- package/library/components/button-group.js +3 -28
- package/library/components/button.js +6 -6
- package/library/components/card.js +4 -126
- package/library/components/checkbox.js +13 -254
- package/library/components/color-picker.js +57 -728
- package/library/components/color-swatch-group.js +9 -9
- package/library/components/color-swatch.js +5 -5
- package/library/components/confirm-popover.js +6 -6
- package/library/components/copy-button.js +11 -256
- package/library/components/corner-position-input-group.js +5 -58
- package/library/components/cropper.js +2 -2
- package/library/components/details.js +6 -152
- package/library/components/dialog.js +6 -6
- package/library/components/divider.js +6 -68
- package/library/components/dot-pagination.js +4 -4
- package/library/components/dot-status.js +25 -95
- package/library/components/drawer.js +11 -242
- package/library/components/dropdown.js +49 -151
- package/library/components/dynamic-select.js +10 -75
- package/library/components/e-chart.js +8 -51
- package/library/components/element-clamp.js +7 -80
- package/library/components/file-on-demand.js +13 -13
- package/library/components/folder-select.js +9 -7
- package/library/components/format-bytes.js +1 -1
- package/library/components/format-date.js +3 -7
- package/library/components/format-number.js +1 -1
- package/library/components/format-time.js +4 -14
- package/library/components/grid-item.js +5 -172
- package/library/components/grid.js +5 -41
- package/library/components/header.js +4 -4
- package/library/components/hub-connection.js +2 -2
- package/library/components/icon-button.js +14 -679
- package/library/components/icon.js +9 -2449
- package/library/components/iframe.js +4 -4
- package/library/components/image-comparer.js +9 -129
- package/library/components/image.js +4 -4
- package/library/components/include.js +3 -7
- package/library/components/input-group.js +4 -29
- package/library/components/input.js +358 -966
- package/library/components/line-clamp.js +7 -83
- package/library/components/list-editor.js +9 -9
- package/library/components/markdown.js +2 -4
- package/library/components/masonry.js +24 -223
- package/library/components/menu-item.js +155 -445
- package/library/components/menu-label.js +3 -20
- package/library/components/menu-section.js +3 -17
- package/library/components/menu.js +5 -113
- package/library/components/molecules.js +5 -5
- package/library/components/mutation-observer.js +3 -7
- package/library/components/option.js +4 -4
- package/library/components/organisms.js +2 -2
- package/library/components/padding-input-group.js +5 -16
- package/library/components/pagination.js +10 -8
- package/library/components/popup.js +385 -682
- package/library/components/position-picker.js +4 -94
- package/library/components/progress-bar.js +19 -136
- package/library/components/progress-ring.js +4 -95
- package/library/components/qr-code.js +5 -17
- package/library/components/radio-button.js +5 -25
- package/library/components/radio-card.js +8 -176
- package/library/components/radio-group.js +22 -153
- package/library/components/radio.js +14 -171
- package/library/components/range.js +123 -660
- package/library/components/rating.js +58 -238
- package/library/components/relative-time.js +3 -13
- package/library/components/resize-observer.js +4 -8
- package/library/components/select.js +305 -1012
- package/library/components/shadow-input-group.js +5 -24
- package/library/components/share-option-list.js +21 -313
- package/library/components/sidebar.js +15 -221
- package/library/components/size-input-group.js +12 -77
- package/library/components/skeleton.js +7 -80
- package/library/components/space.js +6 -143
- package/library/components/spinner.js +7 -76
- package/library/components/split-panel.js +18 -125
- package/library/components/step.js +21 -272
- package/library/components/stepper-wizard.js +9 -43
- package/library/components/stepper.js +17 -34
- package/library/components/switch.js +13 -276
- package/library/components/tab-group.js +7 -7
- package/library/components/tab-panel.js +5 -32
- package/library/components/tab.js +11 -257
- package/library/components/table.js +8 -8
- package/library/components/tag.js +15 -166
- package/library/components/textarea.js +183 -504
- package/library/components/timecode.js +6 -25
- package/library/components/tooltip.js +10 -94
- package/library/components/tree-item.js +4 -4
- package/library/components/tree.js +4 -4
- package/library/components/typeface.js +24 -123
- package/library/components/types.js +37225 -47339
- package/library/components/typography.js +2 -2
- package/library/components/video.js +3875 -6263
- package/library/components/visually-hidden.js +3 -15
- package/library/package.json +4 -1
- package/library/packages/atoms/src/components/dialog/dialog.d.ts +10 -0
- package/library/packages/atoms/src/components/icon-button/icon-button.d.ts +2 -1
- package/library/packages/atoms/src/components/image/image.d.ts +15 -1
- package/library/packages/atoms/src/components/input/auto-grow-controller.d.ts +23 -0
- package/library/packages/atoms/src/components/input/input.d.ts +10 -2
- package/library/packages/atoms/src/components/menu-item/menu-item.d.ts +4 -0
- package/library/packages/atoms/src/components/pagination/pagination.d.ts +32 -2
- package/library/packages/atoms/src/components/popup/overlay/Overlay.d.ts +10 -0
- package/library/packages/atoms/src/components/popup/popup.d.ts +1 -1
- package/library/packages/atoms/src/components/select/select.d.ts +11 -0
- package/library/packages/atoms/src/components/table/table.d.ts +49 -8
- package/library/packages/atoms/src/components/table/tabulator-tables/core/Tabulator.d.ts +1 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/core/TabulatorFull.d.ts +1 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/core/tools/DataLoader.d.ts +3 -1
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Ajax/Ajax.d.ts +1 -1
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Edit/Edit.d.ts +1 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Edit/List.d.ts +40 -1
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Filter/Filter.d.ts +10 -3
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Filter/formatter-display-resolvers.d.ts +93 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/GroupRows/Group.d.ts +8 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/GroupRows/GroupComponent.d.ts +3 -1
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/GroupRows/GroupLoadMore.d.ts +7 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/GroupRows/GroupRows.d.ts +2 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Page/Page.d.ts +2 -2
- package/library/packages/atoms/src/components/textarea/textarea.d.ts +19 -4
- package/library/packages/atoms/src/components/video/video.d.ts +3 -1
- package/library/packages/events/src/cx-asset-transformation-dialog-cancel.d.ts +6 -0
- package/library/packages/events/src/cx-asset-transformation-dialog-confirm.d.ts +11 -0
- package/library/packages/events/src/cx-asset-transformation-dialog-delete.d.ts +6 -0
- package/library/packages/events/src/cx-bento-range-change.d.ts +9 -0
- package/library/packages/events/src/cx-content-builder-gallery-fetched.d.ts +10 -0
- package/library/packages/events/src/cx-lightbox-close.d.ts +6 -0
- package/library/packages/events/src/cx-lightbox-download.d.ts +11 -0
- package/library/packages/events/src/cx-unauthorized.d.ts +10 -0
- package/library/packages/events/src/cx-video-format-picker-delete.d.ts +6 -0
- package/library/packages/events/src/cx-video-format-picker-select.d.ts +8 -0
- package/library/packages/events/src/events.d.ts +11 -1
- package/library/packages/molecules/src/cropper/cropper.d.ts +2 -0
- package/library/packages/molecules/src/cropper/react/Cropper.d.ts +2 -0
- package/library/packages/molecules/src/estimated-reading-time/estimated-reading-time.d.ts +3 -2
- package/library/packages/molecules/src/folder-select/components/folder-select-tree/folder-select-tree.d.ts +26 -0
- package/library/packages/molecules/src/folder-select/components/folder-select-tree-item/folder-select-tree-item.d.ts +46 -0
- package/library/packages/molecules/src/folder-select/folder-select.d.ts +25 -0
- package/library/packages/molecules/src/index.d.ts +1 -0
- package/library/packages/molecules/src/storybook/storybook.d.ts +60 -23
- package/library/packages/molecules/src/timeline/timeline.d.ts +14 -0
- package/library/packages/molecules/src/video-format-picker/video-format-picker.d.ts +55 -0
- package/library/packages/molecules/src/video-format-picker/video-format-picker.styles.d.ts +2 -0
- package/library/packages/organisms/src/asset-link-format/asset-link-format.d.ts +9 -1
- package/library/packages/organisms/src/asset-link-format/components/asset-link-format-rotation/asset-link-format-rotation.d.ts +7 -7
- package/library/packages/organisms/src/asset-transformation-dialog/asset-transformation-dialog.d.ts +95 -0
- package/library/packages/organisms/src/asset-transformation-dialog/asset-transformation-dialog.styles.d.ts +2 -0
- package/library/packages/organisms/src/bento-grid/bento-grid.d.ts +57 -26
- package/library/packages/organisms/src/bento-grid/bento-layout.d.ts +44 -0
- package/library/packages/organisms/src/carousel/carousel.d.ts +5 -1
- package/library/packages/organisms/src/comment/comment.d.ts +1 -0
- package/library/packages/organisms/src/content-builder/components/block-picker/block-picker.d.ts +7 -0
- package/library/packages/organisms/src/content-builder/components/config-form/config-form.d.ts +11 -0
- package/library/packages/organisms/src/content-builder/components/config-manager/config-manager.d.ts +10 -0
- package/library/packages/organisms/src/content-builder/components/folder-picker/folder-picker.d.ts +6 -0
- package/library/packages/organisms/src/content-builder/configs/carousel.d.ts +6 -2
- package/library/packages/organisms/src/content-builder/configs/gallery.d.ts +6 -2
- package/library/packages/organisms/src/content-builder/configs/image.d.ts +7 -4
- package/library/packages/organisms/src/content-builder/configs/timeline.d.ts +5 -2
- package/library/packages/organisms/src/content-builder/configs/video.d.ts +11 -2
- package/library/packages/organisms/src/content-builder/configs-controller.d.ts +45 -4
- package/library/packages/organisms/src/content-builder/content-builder.d.ts +13 -0
- package/library/packages/organisms/src/content-builder/plugins/gallery.d.ts +45 -1
- package/library/packages/organisms/src/content-builder/styleController.d.ts +20 -2
- package/library/packages/organisms/src/index.d.ts +2 -0
- package/library/packages/organisms/src/lightbox/lightbox.d.ts +79 -0
- package/library/packages/organisms/src/lightbox/lightbox.styles.d.ts +2 -0
- package/library/packages/services/src/api/asset/asset.d.ts +3 -2
- package/library/packages/services/src/api/asset/asset.types.d.ts +84 -0
- package/library/packages/services/src/api/asset/asset.utils.d.ts +9 -0
- package/library/packages/services/src/api/endpoints.d.ts +1 -1
- package/library/packages/tools/src/fetch-asset/fetch-asset.d.ts +2 -1
- package/library/packages/tools/src/fetch-image/fetch-image.d.ts +17 -5
- package/library/packages/types/src/asset-click-action.d.ts +3 -1
- package/library/packages/types/src/bento-grid.d.ts +37 -0
- package/library/packages/types/src/content-builder.d.ts +27 -1
- package/library/packages/types/src/gallery.d.ts +0 -6
- package/library/packages/types/src/icon-button.d.ts +7 -0
- package/library/packages/types/src/menu-item.d.ts +33 -0
- package/library/packages/types/src/storybook.d.ts +19 -0
- package/library/packages/types/src/table.d.ts +37 -1
- package/library/packages/types/src/textarea.d.ts +4 -0
- package/library/packages/types/src/video-format-picker.d.ts +11 -0
- package/library/packages/utils/src/actions/asset-click.d.ts +1 -3
- package/library/packages/utils/src/custom-element/i18n.d.ts +10 -3
- package/library/packages/utils/src/index.d.ts +1 -0
- package/library/packages/utils/src/string/string.d.ts +33 -0
- package/library/packages/utils/src/transformation/index.d.ts +1 -0
- package/library/packages/utils/src/url/url.d.ts +9 -0
- package/library/react-web-component.d.ts +293 -29
- package/library/utils.js +483 -178
- package/package.json +4 -1
- package/library/chunks/_baseRest.ClTMQtN1.js +0 -67
- package/library/chunks/asset.CG_yXtWK.js +0 -288
- package/library/chunks/button.styles.Dl5IQLHU.js +0 -718
- package/library/chunks/component.styles.DMSLciL5.js +0 -71
- package/library/chunks/confirm-popover.zmOFI4e-.js +0 -288
- package/library/chunks/content-builder.D_phDrlo.js +0 -127
- package/library/chunks/dot-pagination.COBkyhoJ.js +0 -325
- package/library/chunks/file-on-demand.CbE-qsiP.js +0 -3740
- package/library/chunks/folder-select.Bl_WkhVE.js +0 -844
- package/library/chunks/form-control.styles.CUGhvlfT.js +0 -67
- package/library/chunks/header.BduX6KJP.js +0 -777
- package/library/chunks/identity.ByMq8VxU.js +0 -6
- package/library/chunks/iframe.BPKV2K7z.js +0 -160
- package/library/chunks/index.B3wJT3XS.js +0 -373
- package/library/chunks/isObjectLike.D3cpZO39.js +0 -81
- package/library/chunks/option.DnpkE8Xi.js +0 -296
- package/library/chunks/pagination.C30LoTya.js +0 -341
- package/library/chunks/string.B_rEG27K.js +0 -160
- package/library/chunks/toast.BXNbwZV8.js +0 -25
- package/library/chunks/typography.oDzoLbZS.js +0 -149
- package/library/chunks/url.LjsR2sB5.js +0 -15
- package/library/chunks/watch.q1sEjPWL.js +0 -501
- /package/library/packages/{organisms/src/asset-link-format/asset-link-format.utils.d.ts → utils/src/transformation/transformation.d.ts} +0 -0
|
@@ -516,10 +516,13 @@ export interface IComponentFunctionBinder {
|
|
|
516
516
|
export interface IDataLoader extends ICoreFeature {
|
|
517
517
|
requestOrder: number;
|
|
518
518
|
loading: boolean;
|
|
519
|
+
externalLoading: boolean;
|
|
520
|
+
readonly pendingPromise: Promise<void> | null;
|
|
519
521
|
load(data: any, params?: any, config?: any, replace?: any, silent?: any, columnsChanged?: any): Promise<void>;
|
|
520
522
|
mapParams(params: Record<string, any>, map: Record<string, string>): Record<string, any>;
|
|
521
523
|
objectInvert(obj: Record<string, string>): Record<string, string>;
|
|
522
524
|
blockActiveLoad(): void;
|
|
525
|
+
setExternalLoading(value: boolean): void;
|
|
523
526
|
alertLoader(): void;
|
|
524
527
|
alertError(): void;
|
|
525
528
|
clearAlert(): void;
|
|
@@ -894,11 +897,13 @@ export interface IModule extends ICoreFeature {
|
|
|
894
897
|
popup(menuEl: HTMLElement, menuContainer?: any): any;
|
|
895
898
|
alert(content: any, type?: string): void;
|
|
896
899
|
clearAlert(): void;
|
|
900
|
+
isLoading(): boolean;
|
|
897
901
|
}
|
|
898
902
|
export interface ITabulatorFull extends ITabulator {
|
|
899
903
|
setSheetData: (lookup: string | SpreadsheetComponent, data: unknown[][]) => void;
|
|
900
904
|
setGroupBy: (groups: GroupArg) => void;
|
|
901
905
|
setGroupHeader: (values: Options['groupHeader']) => void;
|
|
906
|
+
setGroupLoadMoreMeta: (meta: GroupLoadMoreMeta | undefined) => void;
|
|
902
907
|
setGroupStartOpen: (values: Options['groupStartOpen']) => void;
|
|
903
908
|
setGroupValues: (data: GroupValuesArg) => void;
|
|
904
909
|
setPageSize: (size: number | true) => void;
|
|
@@ -953,11 +958,27 @@ export interface ISheetComponent {
|
|
|
953
958
|
setRows(rows: number): unknown;
|
|
954
959
|
setTitle(title: string): unknown;
|
|
955
960
|
}
|
|
961
|
+
export interface GroupLoadMorePathSegment {
|
|
962
|
+
field: string | false;
|
|
963
|
+
key: unknown;
|
|
964
|
+
}
|
|
965
|
+
export interface GroupLoadMoreState {
|
|
966
|
+
hasMore: boolean;
|
|
967
|
+
loading?: boolean;
|
|
968
|
+
}
|
|
969
|
+
export type GroupLoadMoreMeta = Record<string, GroupLoadMoreState>;
|
|
970
|
+
export interface GroupLoadMoreEventPayload {
|
|
971
|
+
path: GroupLoadMorePathSegment[];
|
|
972
|
+
pathKey: string;
|
|
973
|
+
rowCount: number;
|
|
974
|
+
}
|
|
956
975
|
export interface IGroupComponent {
|
|
957
976
|
getElement(): HTMLElement | false;
|
|
958
977
|
getField(): string | false;
|
|
959
978
|
getKey(): unknown;
|
|
960
979
|
getParentGroup(): IGroupComponent | false;
|
|
980
|
+
getPath(): GroupLoadMorePathSegment[];
|
|
981
|
+
getPathKey(): string;
|
|
961
982
|
getRows(): IRowComponent[];
|
|
962
983
|
getSubGroups(): IGroupComponent[];
|
|
963
984
|
getTable(): unknown;
|
|
@@ -1213,7 +1234,7 @@ export interface OptionsPagination {
|
|
|
1213
1234
|
*
|
|
1214
1235
|
* When using the page size selector like this, if you use the setPageSize function to set the page size to a value not in the list, the list will be regenerated using the new page size as the starting valuer
|
|
1215
1236
|
*/
|
|
1216
|
-
|
|
1237
|
+
pageSizeOptions?: true | number[] | any[];
|
|
1217
1238
|
/** By default the pagination controls are added to the footer of the table. If you wish the controls to be created in another element pass a DOM node or a CSS selector for that element to the paginationElement option. */
|
|
1218
1239
|
paginationElement?: HTMLElement | string;
|
|
1219
1240
|
/**
|
|
@@ -1266,6 +1287,8 @@ export interface OptionsPagination {
|
|
|
1266
1287
|
paginationShowLast?: boolean;
|
|
1267
1288
|
/** Whether to show the pagination buttons. */
|
|
1268
1289
|
showPaginationButtons?: boolean;
|
|
1290
|
+
/** Whether to show an editable input for the current page in the pagination counter. */
|
|
1291
|
+
showPaginationInput?: boolean;
|
|
1269
1292
|
}
|
|
1270
1293
|
export type GroupArg = string | string[] | ((data: any) => any) | Array<string | ((data: any) => any)>;
|
|
1271
1294
|
export interface OptionsRowGrouping {
|
|
@@ -1304,6 +1327,8 @@ export interface OptionsRowGrouping {
|
|
|
1304
1327
|
groupToggleElement?: 'arrow' | 'header' | false;
|
|
1305
1328
|
/** show/hide column calculations when group is closed. */
|
|
1306
1329
|
groupClosedShowCalcs?: boolean;
|
|
1330
|
+
/** Load-more state keyed by serialized group path. */
|
|
1331
|
+
groupLoadMoreMeta?: GroupLoadMoreMeta;
|
|
1307
1332
|
groupUpdateOnCellEdit?: boolean;
|
|
1308
1333
|
}
|
|
1309
1334
|
export type FilterPredicate = (filterVal: any, rowVal: any, rowData: any, filterParams: FilterParams) => boolean;
|
|
@@ -2401,6 +2426,14 @@ export interface LabelValue {
|
|
|
2401
2426
|
label: string;
|
|
2402
2427
|
value: string | number | boolean;
|
|
2403
2428
|
}
|
|
2429
|
+
export interface FallbackOption {
|
|
2430
|
+
/** The sentinel value used to match against list items. The original unmatched cell value is preserved for form submission unless the user explicitly changes it. */
|
|
2431
|
+
value: string | number | boolean;
|
|
2432
|
+
/** Sanitized HTML string to render in the `prefix` slot of the fallback `cx-option` (e.g. `'<cx-icon name="plus"></cx-icon>'`). No prefix is shown when omitted. */
|
|
2433
|
+
prefix?: string;
|
|
2434
|
+
/** When true, the divider that separates the fallback option from the rest of the list is hidden. Defaults to false (divider is shown). */
|
|
2435
|
+
hideDivider?: boolean;
|
|
2436
|
+
}
|
|
2404
2437
|
type ListEditorItem = {
|
|
2405
2438
|
label: string;
|
|
2406
2439
|
value: string;
|
|
@@ -2416,6 +2449,7 @@ export interface ListEditorParams extends SharedEditorParams, SharedSelectAutoCo
|
|
|
2416
2449
|
valuesURL?: string;
|
|
2417
2450
|
valuesLookup?: ListEditorValuesLookup;
|
|
2418
2451
|
valuesLookupField?: string;
|
|
2452
|
+
fallbackOption?: FallbackOption;
|
|
2419
2453
|
clearable?: boolean;
|
|
2420
2454
|
getItemLabel?: (label: string, value: string, item: any, element: HTMLElement) => string;
|
|
2421
2455
|
sort?: SortDirection;
|
|
@@ -2818,6 +2852,7 @@ export interface EventCallBackMethods {
|
|
|
2818
2852
|
movableRowsElementDrop: (event: UIEvent, element: Element, row: IRowComponent) => void;
|
|
2819
2853
|
dataGrouping: () => void;
|
|
2820
2854
|
dataGrouped: (groups: IGroupComponent[]) => void;
|
|
2855
|
+
groupLoadMore: (detail: GroupLoadMoreEventPayload) => void;
|
|
2821
2856
|
groupVisibilityChanged: (group: IGroupComponent, visible: boolean) => void;
|
|
2822
2857
|
localized: (locale: string, lang: any) => void;
|
|
2823
2858
|
renderStarted: () => void;
|
|
@@ -2986,6 +3021,7 @@ export interface HeaderFilterFunc {
|
|
|
2986
3021
|
}
|
|
2987
3022
|
export type LangObject = Record<string, any>;
|
|
2988
3023
|
export type TableSelector = string | HTMLElement | ITabulator | TableSelector[];
|
|
3024
|
+
export declare const DEFAULT_GROUP_INDENT = 36;
|
|
2989
3025
|
/**
|
|
2990
3026
|
* @typedef {Object} TrafficFormatterParams
|
|
2991
3027
|
* @property {Record<any, string>} [colorMap] - Record mapping cell values to colors. Used when the cell value should be mapped to a specific color.
|
|
@@ -1,9 +1,7 @@
|
|
|
1
|
-
import { AssetFormat
|
|
2
|
-
import { ClickEvent } from '../../../types/src/gallery';
|
|
1
|
+
import { AssetFormat } from '../../../types/src/asset-click-action';
|
|
3
2
|
|
|
4
3
|
export declare function openAssetOverview(this: HTMLElement, id: string | null | undefined): void;
|
|
5
4
|
export declare function openFolderOverview(this: HTMLElement, assetId: string | null | undefined): void;
|
|
6
5
|
export declare function openLink(this: HTMLElement, url: string | null | undefined, target?: '_blank' | '_parent' | '_self' | '_top' | undefined): void;
|
|
7
6
|
export declare function shareAsset(this: HTMLElement, assetId: string | null | undefined): void;
|
|
8
7
|
export declare function downloadAsset(this: HTMLElement, assetIds: string[] | null | undefined, formats: AssetFormat | null | undefined): void;
|
|
9
|
-
export declare function toGalleryEventClick(clickAction: ClickAction): ClickEvent | ClickAction;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Translation as DefaultTranslation, LocalizeController as DefaultLocalizationController } from './i18n-utils';
|
|
2
1
|
import { GalleryItemCardType } from '../../../types/src/gallery-item';
|
|
2
|
+
import { Translation as DefaultTranslation, LocalizeController as DefaultLocalizationController } from './i18n-utils';
|
|
3
3
|
|
|
4
4
|
export declare class LocalizeController extends DefaultLocalizationController<Translation> {
|
|
5
5
|
}
|
|
@@ -76,6 +76,7 @@ export interface Translation extends DefaultTranslation {
|
|
|
76
76
|
ascending: string;
|
|
77
77
|
aspectRatio: string;
|
|
78
78
|
asset: string;
|
|
79
|
+
assetFormat: string;
|
|
79
80
|
assetInColdStorage: string;
|
|
80
81
|
assetIndexSync: string;
|
|
81
82
|
assetPreview: string;
|
|
@@ -206,6 +207,7 @@ export interface Translation extends DefaultTranslation {
|
|
|
206
207
|
customStyle: string;
|
|
207
208
|
customWidth: string;
|
|
208
209
|
damViewNoAvailableOptionsForThisAsset: string;
|
|
210
|
+
darkImageFormat: string;
|
|
209
211
|
darkModeImage: string;
|
|
210
212
|
dashSpacing: string;
|
|
211
213
|
dashWidth: string;
|
|
@@ -246,6 +248,7 @@ export interface Translation extends DefaultTranslation {
|
|
|
246
248
|
downloadButton: string;
|
|
247
249
|
downloadCompleted: string;
|
|
248
250
|
downloadFailed: string;
|
|
251
|
+
downloadFormat: string;
|
|
249
252
|
downloadLocationNoLongerExists: (location: string) => string;
|
|
250
253
|
downloadManager: string;
|
|
251
254
|
downloadNewVersion: string;
|
|
@@ -370,6 +373,7 @@ export interface Translation extends DefaultTranslation {
|
|
|
370
373
|
image: string;
|
|
371
374
|
imageContent: string;
|
|
372
375
|
imageFormat: string;
|
|
376
|
+
imagesFormat: string;
|
|
373
377
|
import: string;
|
|
374
378
|
importTextFile: string;
|
|
375
379
|
importTextFileDialogConfirm: string;
|
|
@@ -388,8 +392,8 @@ export interface Translation extends DefaultTranslation {
|
|
|
388
392
|
interpretTextAs: string;
|
|
389
393
|
itCanTakeAFewMinutesForThisSettingToTakeEffect: string;
|
|
390
394
|
italic: string;
|
|
391
|
-
itemOfTotal: (curr: number, total: number) => string;
|
|
392
|
-
itemRangeOfTotal: (start: number, end: number, total: number) => string;
|
|
395
|
+
itemOfTotal: (curr: number | string, total: number) => string;
|
|
396
|
+
itemRangeOfTotal: (start: number | string, end: number | string, total: number) => string;
|
|
393
397
|
itemsGap: string;
|
|
394
398
|
jump: string;
|
|
395
399
|
justify: string;
|
|
@@ -553,6 +557,7 @@ export interface Translation extends DefaultTranslation {
|
|
|
553
557
|
qualityHelpText: string;
|
|
554
558
|
quote: string;
|
|
555
559
|
radixPoint: string;
|
|
560
|
+
read: string;
|
|
556
561
|
readyToUse: string;
|
|
557
562
|
recent: string;
|
|
558
563
|
redo: string;
|
|
@@ -691,6 +696,7 @@ export interface Translation extends DefaultTranslation {
|
|
|
691
696
|
thickness: string;
|
|
692
697
|
thousandsSeparator: string;
|
|
693
698
|
thumbnail: string;
|
|
699
|
+
thumbnailFormat: string;
|
|
694
700
|
thumbnailHelpText: string;
|
|
695
701
|
timeBased: string;
|
|
696
702
|
timeFormat: string;
|
|
@@ -751,6 +757,7 @@ export interface Translation extends DefaultTranslation {
|
|
|
751
757
|
video: string;
|
|
752
758
|
videoChaptersEmptyPlaceholder: string;
|
|
753
759
|
videoContent: string;
|
|
760
|
+
videoFormat: string;
|
|
754
761
|
videoPlayer: string;
|
|
755
762
|
view: string;
|
|
756
763
|
viewAndSort: string;
|
|
@@ -93,6 +93,38 @@ export declare function formatSecondsToTime(seconds: number, options?: TimeForma
|
|
|
93
93
|
* @returns The padded path
|
|
94
94
|
*/
|
|
95
95
|
export declare function padPath(path: string): string;
|
|
96
|
+
/**
|
|
97
|
+
* Splits a `${path}-${id}` rootID string back into its parts.
|
|
98
|
+
* The separator is a single dash; since paths may contain dashes, only the
|
|
99
|
+
* last segment is treated as the id.
|
|
100
|
+
*
|
|
101
|
+
* @example
|
|
102
|
+
* extractRootData('Root/Library-2Y1O3RQM3D')
|
|
103
|
+
* // → { id: '2Y1O3RQM3D', path: 'Root/Library' }
|
|
104
|
+
*/
|
|
105
|
+
export declare function extractRootData(rootID: string): {
|
|
106
|
+
id: string;
|
|
107
|
+
path: string;
|
|
108
|
+
};
|
|
109
|
+
/**
|
|
110
|
+
* Inverse of `extractRootData` — encodes a path + id pair as `${path}-${id}`.
|
|
111
|
+
*
|
|
112
|
+
* @example
|
|
113
|
+
* getRootIDString({ id: '2Y1O3RQM3D', path: 'Root/Library' })
|
|
114
|
+
* // → 'Root/Library-2Y1O3RQM3D'
|
|
115
|
+
*/
|
|
116
|
+
export declare function getRootIDString({ id, path, }: {
|
|
117
|
+
id: string;
|
|
118
|
+
path: string;
|
|
119
|
+
}): string;
|
|
120
|
+
/**
|
|
121
|
+
* Trims `full` to the segment that's exactly one level below `base`.
|
|
122
|
+
*
|
|
123
|
+
* @example
|
|
124
|
+
* reducePathToDirectChild('Root/A/B/C/D', 'Root/A')
|
|
125
|
+
* // → 'Root/A/B'
|
|
126
|
+
*/
|
|
127
|
+
export declare function reducePathToDirectChild(full: string, base: string): string;
|
|
96
128
|
/**
|
|
97
129
|
* Parses a time string and converts it to seconds.
|
|
98
130
|
* This function reverses the effect of formatSecondsToTime.
|
|
@@ -119,3 +151,4 @@ export declare function sanitizeHTML(html: string): string;
|
|
|
119
151
|
export declare function safeString(value: any): string;
|
|
120
152
|
export declare function emptyToSpace(value: any): string;
|
|
121
153
|
export declare function isGalleryItemCardType(value: unknown): value is GalleryItemCardType;
|
|
154
|
+
export declare function safeExtension(ext: string | null | undefined): string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './transformation';
|
|
@@ -1,3 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Returns the relative portion of a URL when it shares the same origin as the
|
|
3
|
+
* current page (or the provided `origin`). Returns the original value unchanged
|
|
4
|
+
* when the URL is cross-origin, already relative, or falsy.
|
|
5
|
+
*
|
|
6
|
+
* @param url - The URL to normalise.
|
|
7
|
+
* @param origin - Origin to compare against (defaults to `window.location.origin`).
|
|
8
|
+
*/
|
|
9
|
+
export declare function toRelativeUrl(url: string | null | undefined, origin?: string): string | undefined;
|
|
1
10
|
export declare const appendProtocol: (inputUrl: string, defaultProtocol?: string, ignoreRelativeUrl?: boolean) => string;
|
|
2
11
|
export declare const isValidUrl: (urlString: string) => boolean;
|
|
3
12
|
export declare const RELATIVE_URL_REGEX: string;
|