@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
|
@@ -0,0 +1,334 @@
|
|
|
1
|
+
import _ from "../components/space.js";
|
|
2
|
+
import { n, C as b } from "./lib-cortex-element.CVMmyPMC.js";
|
|
3
|
+
import { C as y, I } from "./icon-button.rKe0N4VB.js";
|
|
4
|
+
import { c as f } from "./custom-element.L4WJXn1j.js";
|
|
5
|
+
import { L as C } from "./i18n.BFqTRDCA.js";
|
|
6
|
+
import { c as l } from "./math.DqTA6ya4.js";
|
|
7
|
+
import { w as x } from "./watch.BCJD77bD.js";
|
|
8
|
+
import { i as z, x as p } from "./lit-element.jLBm65_O.js";
|
|
9
|
+
import { r as d } from "./state.CSDxrqLd.js";
|
|
10
|
+
import { e as S } from "./class-map.BiVq-cVR.js";
|
|
11
|
+
import { c as m } from "./repeat.DbF2p5ae.js";
|
|
12
|
+
import { n as r } from "./when.Dr1es41R.js";
|
|
13
|
+
import { C as $ } from "./button.CauAHfdl.js";
|
|
14
|
+
import v from "../components/input.js";
|
|
15
|
+
import { C as w } from "./option.COnEtd3X.js";
|
|
16
|
+
import P from "../components/select.js";
|
|
17
|
+
import B from "../components/tooltip.js";
|
|
18
|
+
import { C as N } from "./typography.DJC_UXgs.js";
|
|
19
|
+
import { c as k } from "./component.styles.CRO4Odto.js";
|
|
20
|
+
var c = /* @__PURE__ */ ((t) => (t.Both = "both", t.Pages = "pages", t.Rows = "rows", t))(c || {});
|
|
21
|
+
const O = z`
|
|
22
|
+
${k}
|
|
23
|
+
|
|
24
|
+
:host {
|
|
25
|
+
--width: 100px;
|
|
26
|
+
display: block;
|
|
27
|
+
width: fit-content;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
cx-typography::part(base) {
|
|
31
|
+
margin-block: 0;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.pagination {
|
|
35
|
+
display: flex;
|
|
36
|
+
align-items: center;
|
|
37
|
+
gap: var(--cx-spacing-small);
|
|
38
|
+
font-size: var(--cx-font-size-small);
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.pagination .pagination__label__container {
|
|
42
|
+
display: inline-flex;
|
|
43
|
+
gap: var(--cx-spacing-small);
|
|
44
|
+
align-items: center;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.pagination .pagination__select::part(combobox) {
|
|
48
|
+
width: var(--width);
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.pagination .pagination__navigation-buttons {
|
|
52
|
+
display: flex;
|
|
53
|
+
align-items: center;
|
|
54
|
+
gap: 0;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.pagination .pagination_count,
|
|
58
|
+
.pagination .pagination__pages {
|
|
59
|
+
font-variant-numeric: tabular-nums;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.pagination .pagination_count {
|
|
63
|
+
display: inline-flex;
|
|
64
|
+
align-items: center;
|
|
65
|
+
gap: var(--cx-spacing-3x-small);
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
.pagination .pagination__page-input {
|
|
69
|
+
font-weight: var(--cx-font-weight-medium);
|
|
70
|
+
--cx-input-border-color: transparent;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
.pagination .pagination__page-input::part(base) {
|
|
74
|
+
border-radius: var(--cx-border-radius-small);
|
|
75
|
+
font-size: var(--pagination-input-font-size, var(--cx-input-font-size-small));
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
.pagination .pagination__page-input::part(form-control) {
|
|
79
|
+
margin: 0;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.pagination .pagination__page-input::part(form-control-input) {
|
|
83
|
+
min-width: 0;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
.pagination .pagination__page-input::part(input),
|
|
87
|
+
.pagination .pagination__page-input::part(auto-grow-mirror) {
|
|
88
|
+
text-align: center;
|
|
89
|
+
padding: 0 var(--cx-spacing-2x-small);
|
|
90
|
+
line-height: 1;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
.pagination__page--active::part(base) {
|
|
94
|
+
color: var(--cx-color-primary);
|
|
95
|
+
}
|
|
96
|
+
`;
|
|
97
|
+
var M = Object.defineProperty, D = Object.getOwnPropertyDescriptor, a = (t, i, s, g) => {
|
|
98
|
+
for (var o = g > 1 ? void 0 : g ? D(i, s) : i, h = t.length - 1, u; h >= 0; h--)
|
|
99
|
+
(u = t[h]) && (o = (g ? u(i, s, o) : u(o)) || o);
|
|
100
|
+
return g && o && M(i, s, o), o;
|
|
101
|
+
};
|
|
102
|
+
let e = class extends b {
|
|
103
|
+
constructor() {
|
|
104
|
+
super(...arguments), this.localize = new C(this), this.count = 0, this.pageSizeOptions = [10, 20, 50, 100], this.pageSize = this.pageSizeOptions[0], this.label = this.localize.term("rowsPerPage"), this.showFirst = !1, this.showLast = !1, this.showPaginationButtons = !1, this.paginationButtonCount = 5, this.paginationCounter = c.Rows, this.showPaginationInput = !1, this.backIconName = "chevron_left", this.nextIconName = "chevron_right", this.iconButtonSize = I.Medium, this._pageIndex = 1, this._pageCount = Math.max(1, Math.ceil(this.count / this.pageSize)), this._pageInputValue = this._pageIndex.toString();
|
|
105
|
+
}
|
|
106
|
+
get pageIndex() {
|
|
107
|
+
return this._pageIndex;
|
|
108
|
+
}
|
|
109
|
+
set pageIndex(t) {
|
|
110
|
+
this._pageIndex = l(t, 1, this._pageCount);
|
|
111
|
+
}
|
|
112
|
+
get pageStart() {
|
|
113
|
+
return l((this._pageIndex - 1) * this.pageSize + 1, 0, this.count);
|
|
114
|
+
}
|
|
115
|
+
get pageEnd() {
|
|
116
|
+
return l(this._pageIndex * this.pageSize, 0, this.count);
|
|
117
|
+
}
|
|
118
|
+
get prevDisabled() {
|
|
119
|
+
return this._pageIndex <= 1;
|
|
120
|
+
}
|
|
121
|
+
get nextDisabled() {
|
|
122
|
+
return this._pageIndex >= this._pageCount;
|
|
123
|
+
}
|
|
124
|
+
get hasMultiplePages() {
|
|
125
|
+
return this._pageCount > 1;
|
|
126
|
+
}
|
|
127
|
+
updatePageCount() {
|
|
128
|
+
const t = Number.isFinite(this.pageSize) && this.pageSize > 0 ? this.pageSize : 1;
|
|
129
|
+
this._pageCount = Math.max(1, Math.ceil(this.count / t)), this.pageIndex = l(this.pageIndex, 1, this._pageCount);
|
|
130
|
+
}
|
|
131
|
+
handlePageSizeSelectChange(t) {
|
|
132
|
+
const i = t.target;
|
|
133
|
+
i && (this.pageSize = Number(i.value), this.pageIndex = 1);
|
|
134
|
+
}
|
|
135
|
+
handleFirst() {
|
|
136
|
+
this._pageIndex = 1;
|
|
137
|
+
}
|
|
138
|
+
handleBack() {
|
|
139
|
+
this._pageIndex -= 1, this._pageIndex < 1 && this.handleFirst();
|
|
140
|
+
}
|
|
141
|
+
handleForward() {
|
|
142
|
+
this._pageIndex += 1, this._pageIndex > this._pageCount && this.handleLast();
|
|
143
|
+
}
|
|
144
|
+
handleLast() {
|
|
145
|
+
this._pageIndex = this._pageCount;
|
|
146
|
+
}
|
|
147
|
+
commitPageInputValue() {
|
|
148
|
+
const t = Number.parseInt(this._pageInputValue, 10);
|
|
149
|
+
if (!Number.isFinite(t)) {
|
|
150
|
+
this._pageInputValue = this.pageIndex.toString();
|
|
151
|
+
return;
|
|
152
|
+
}
|
|
153
|
+
this.pageIndex = l(t, 1, this._pageCount), this._pageInputValue = this.pageIndex.toString();
|
|
154
|
+
}
|
|
155
|
+
handlePageInput(t) {
|
|
156
|
+
const i = t.target;
|
|
157
|
+
i && (this._pageInputValue = i.value);
|
|
158
|
+
}
|
|
159
|
+
handlePageInputKeyDown(t) {
|
|
160
|
+
t.key === "Enter" && (t.preventDefault(), this.commitPageInputValue());
|
|
161
|
+
}
|
|
162
|
+
handlePageInputBlur() {
|
|
163
|
+
this._pageInputValue = this.pageIndex.toString();
|
|
164
|
+
}
|
|
165
|
+
renderCounterInput() {
|
|
166
|
+
return p`<cx-input part="pagination-input" class="pagination__page-input" type="text" size="small" auto-grow inputmode="numeric" pattern="[0-9]*" aria-label=${this.localize.term("jump")} .value=${this._pageInputValue} @cx-input=${this.handlePageInput} @keydown=${this.handlePageInputKeyDown} @cx-blur=${this.handlePageInputBlur}></cx-input>`;
|
|
167
|
+
}
|
|
168
|
+
async handleCountChange() {
|
|
169
|
+
this.updatePageCount();
|
|
170
|
+
}
|
|
171
|
+
handlePageChange() {
|
|
172
|
+
this._pageInputValue = this.pageIndex.toString(), this.emit("cx-page-change", {
|
|
173
|
+
detail: {
|
|
174
|
+
pageIndex: this._pageIndex
|
|
175
|
+
}
|
|
176
|
+
});
|
|
177
|
+
}
|
|
178
|
+
handlePageSizeChange() {
|
|
179
|
+
this.updatePageCount(), this.emit("cx-page-size-change", {
|
|
180
|
+
detail: {
|
|
181
|
+
pageSize: this.pageSize
|
|
182
|
+
}
|
|
183
|
+
});
|
|
184
|
+
}
|
|
185
|
+
handlePageClick(t) {
|
|
186
|
+
const i = t.target;
|
|
187
|
+
i && (this.pageIndex = Number(i.dataset.page));
|
|
188
|
+
}
|
|
189
|
+
renderPageButton(t) {
|
|
190
|
+
return p`<cx-button data-page=${t} variant="text" size="small" class=${S({
|
|
191
|
+
pagination__page: !0,
|
|
192
|
+
"pagination__page--active": t === this.pageIndex
|
|
193
|
+
})}>${t}</cx-button>`;
|
|
194
|
+
}
|
|
195
|
+
renderPageButtons() {
|
|
196
|
+
const t = Math.floor((this.paginationButtonCount - 1) / 2), i = Math.ceil((this.paginationButtonCount - 1) / 2), s = Math.max(
|
|
197
|
+
1,
|
|
198
|
+
this._pageCount - this.pageIndex + t + 1 < this.paginationButtonCount ? this._pageCount - this.paginationButtonCount + 1 : this.pageIndex - t
|
|
199
|
+
), g = Math.min(
|
|
200
|
+
this._pageCount,
|
|
201
|
+
this.pageIndex <= i ? this.paginationButtonCount : this.pageIndex + i
|
|
202
|
+
);
|
|
203
|
+
return p`<div class="pagination__pages" @click=${this.handlePageClick}>${m(
|
|
204
|
+
Array.from({ length: g - s + 1 }, (o, h) => h + s),
|
|
205
|
+
(o) => o,
|
|
206
|
+
(o) => this.renderPageButton(o)
|
|
207
|
+
)}</div>`;
|
|
208
|
+
}
|
|
209
|
+
renderPageCount() {
|
|
210
|
+
return !this.showPaginationInput || !this.hasMultiplePages ? p`<cx-typography variant="body3" class="pagination_count">${this.localize.term("itemOfTotal", this.pageIndex, this._pageCount)}</cx-typography>` : p`<cx-space class="pagination_count">${this.renderCounterInput()}<cx-typography variant="body3">${this.localize.term("itemOfTotal", "", this._pageCount)}</cx-typography></cx-space>`;
|
|
211
|
+
}
|
|
212
|
+
renderRowCount() {
|
|
213
|
+
return p`<cx-typography variant="body3" class="pagination_count">${this.localize.term(
|
|
214
|
+
"itemRangeOfTotal",
|
|
215
|
+
this.pageStart,
|
|
216
|
+
this.pageEnd,
|
|
217
|
+
this.count
|
|
218
|
+
)}</cx-typography>`;
|
|
219
|
+
}
|
|
220
|
+
render() {
|
|
221
|
+
return p`<div class="pagination">${r(
|
|
222
|
+
this.pageSizeOptions.length > 1,
|
|
223
|
+
() => p`<label class="pagination__label__container"><cx-typography variant="body3" class="pagination__label">${this.label}</cx-typography><cx-select class="pagination__select" size="small" hoist value=${this.pageSize.toString()} @cx-change=${this.handlePageSizeSelectChange}>${m(
|
|
224
|
+
this.pageSizeOptions,
|
|
225
|
+
(t) => t,
|
|
226
|
+
(t) => p`<cx-option value=${t}>${t}</cx-option>`
|
|
227
|
+
)}</cx-select></label>`
|
|
228
|
+
)}
|
|
229
|
+
${r(
|
|
230
|
+
this.paginationCounter === c.Both || this.paginationCounter === c.Rows,
|
|
231
|
+
() => this.renderRowCount(),
|
|
232
|
+
() => this.renderPageCount()
|
|
233
|
+
)}
|
|
234
|
+
${r(
|
|
235
|
+
this.hasMultiplePages,
|
|
236
|
+
() => p`<div class="pagination__navigation-buttons">${r(
|
|
237
|
+
this.showFirst,
|
|
238
|
+
() => p`<cx-tooltip hoist content=${this.localize.term("first")}><cx-icon-button class="pagination__first" label=${this.localize.term("first")} name="first_page" size=${this.iconButtonSize} ?disabled=${this.prevDisabled} @click=${this.handleFirst}></cx-icon-button></cx-tooltip>`
|
|
239
|
+
)}<cx-tooltip hoist content=${this.localize.term("previous")}><cx-icon-button part="back-icon" class="pagination__back" label=${this.localize.term("previous")} name=${this.backIconName} size=${this.iconButtonSize} ?disabled=${this.prevDisabled} @click=${this.handleBack}></cx-icon-button></cx-tooltip>${r(
|
|
240
|
+
this.paginationCounter === c.Both,
|
|
241
|
+
() => this.renderPageCount()
|
|
242
|
+
)}
|
|
243
|
+
${r(this.showPaginationButtons, () => this.renderPageButtons())}<cx-tooltip hoist content=${this.localize.term("next")}><cx-icon-button part="next-icon" class="pagination__forward" label=${this.localize.term("next")} name=${this.nextIconName} size=${this.iconButtonSize} ?disabled=${this.nextDisabled} @click=${this.handleForward}></cx-icon-button></cx-tooltip>${r(
|
|
244
|
+
this.showLast,
|
|
245
|
+
() => p`<cx-tooltip hoist content=${this.localize.term("last")}><cx-icon-button class="pagination__last" label=${this.localize.term("last")} name="last_page" size=${this.iconButtonSize} ?disabled=${this.nextDisabled} @click=${this.handleLast}></cx-icon-button></cx-tooltip>`
|
|
246
|
+
)}</div>`
|
|
247
|
+
)}</div>`;
|
|
248
|
+
}
|
|
249
|
+
};
|
|
250
|
+
e.styles = O;
|
|
251
|
+
e.dependencies = {
|
|
252
|
+
"cx-button": $,
|
|
253
|
+
"cx-icon-button": y,
|
|
254
|
+
"cx-input": v,
|
|
255
|
+
"cx-option": w,
|
|
256
|
+
"cx-select": P,
|
|
257
|
+
"cx-space": _,
|
|
258
|
+
"cx-tooltip": B,
|
|
259
|
+
"cx-typography": N
|
|
260
|
+
};
|
|
261
|
+
a([
|
|
262
|
+
n({ type: Number })
|
|
263
|
+
], e.prototype, "count", 2);
|
|
264
|
+
a([
|
|
265
|
+
n({
|
|
266
|
+
attribute: "page-size-options",
|
|
267
|
+
converter: {
|
|
268
|
+
fromAttribute: (t) => {
|
|
269
|
+
const i = (t ?? "").trim().split(/\s+/).map((s) => Number.parseInt(s, 10)).filter((s) => Number.isFinite(s) && s > 0);
|
|
270
|
+
return i.length ? i : [];
|
|
271
|
+
},
|
|
272
|
+
toAttribute: (t) => t.join(" ")
|
|
273
|
+
},
|
|
274
|
+
type: String
|
|
275
|
+
})
|
|
276
|
+
], e.prototype, "pageSizeOptions", 2);
|
|
277
|
+
a([
|
|
278
|
+
n({ attribute: "page-size", type: Number })
|
|
279
|
+
], e.prototype, "pageSize", 2);
|
|
280
|
+
a([
|
|
281
|
+
n({ type: String })
|
|
282
|
+
], e.prototype, "label", 2);
|
|
283
|
+
a([
|
|
284
|
+
n({ attribute: "show-first", type: Boolean })
|
|
285
|
+
], e.prototype, "showFirst", 2);
|
|
286
|
+
a([
|
|
287
|
+
n({ attribute: "show-last", type: Boolean })
|
|
288
|
+
], e.prototype, "showLast", 2);
|
|
289
|
+
a([
|
|
290
|
+
n({ attribute: "show-pagination-buttons", type: Boolean })
|
|
291
|
+
], e.prototype, "showPaginationButtons", 2);
|
|
292
|
+
a([
|
|
293
|
+
n({ attribute: "pagination-button-count", type: Number })
|
|
294
|
+
], e.prototype, "paginationButtonCount", 2);
|
|
295
|
+
a([
|
|
296
|
+
n({ attribute: "pagination-counter", type: String })
|
|
297
|
+
], e.prototype, "paginationCounter", 2);
|
|
298
|
+
a([
|
|
299
|
+
n({ attribute: "show-pagination-input", type: Boolean })
|
|
300
|
+
], e.prototype, "showPaginationInput", 2);
|
|
301
|
+
a([
|
|
302
|
+
n({ attribute: "back-icon-name", type: String })
|
|
303
|
+
], e.prototype, "backIconName", 2);
|
|
304
|
+
a([
|
|
305
|
+
n({ attribute: "next-icon-name", type: String })
|
|
306
|
+
], e.prototype, "nextIconName", 2);
|
|
307
|
+
a([
|
|
308
|
+
n({ attribute: "icon-button-size", type: String })
|
|
309
|
+
], e.prototype, "iconButtonSize", 2);
|
|
310
|
+
a([
|
|
311
|
+
d()
|
|
312
|
+
], e.prototype, "_pageIndex", 2);
|
|
313
|
+
a([
|
|
314
|
+
d()
|
|
315
|
+
], e.prototype, "_pageCount", 2);
|
|
316
|
+
a([
|
|
317
|
+
d()
|
|
318
|
+
], e.prototype, "_pageInputValue", 2);
|
|
319
|
+
a([
|
|
320
|
+
x("count")
|
|
321
|
+
], e.prototype, "handleCountChange", 1);
|
|
322
|
+
a([
|
|
323
|
+
x(["_pageIndex"])
|
|
324
|
+
], e.prototype, "handlePageChange", 1);
|
|
325
|
+
a([
|
|
326
|
+
x(["pageSize"])
|
|
327
|
+
], e.prototype, "handlePageSizeChange", 1);
|
|
328
|
+
e = a([
|
|
329
|
+
f("cx-pagination")
|
|
330
|
+
], e);
|
|
331
|
+
export {
|
|
332
|
+
e as C,
|
|
333
|
+
c as P
|
|
334
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { D as gt, x as P, al as dt, H as et, q as b, am as pt, aF as ot, J as ht, C as tt, e as v, _ as V, a as G, v as _t, b1 as rt, P as ft, b2 as mt, r as A, L as R, T as M, m as W, aG as ct, p as yt, j as w, h as T, G as $, aj as J, b3 as k, b as bt } from "./am-chart.
|
|
2
|
-
import { S as xt } from "./Slice.
|
|
3
|
-
import { R as kt } from "./RadialLabel.
|
|
1
|
+
import { D as gt, x as P, al as dt, H as et, q as b, am as pt, aF as ot, J as ht, C as tt, e as v, _ as V, a as G, v as _t, b1 as rt, P as ft, b2 as mt, r as A, L as R, T as M, m as W, aG as ct, p as yt, j as w, h as T, G as $, aj as J, b3 as k, b as bt } from "./am-chart.H2jnOzFc.js";
|
|
2
|
+
import { S as xt } from "./Slice.DiEswWa6.js";
|
|
3
|
+
import { R as kt } from "./RadialLabel.DyVOf2K8.js";
|
|
4
4
|
class vt extends gt {
|
|
5
5
|
setupDefaultRules() {
|
|
6
6
|
super.setupDefaultRules();
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { S as X, a as S } from "./Slice.
|
|
2
|
-
import { aU as Y, L as M, T as b, m as p, r as m, x as z, o as A, h as u, j as f, a as _, C as W, G as L, H as v, P as Q, D as at, am as H, au as Z, q as O, b1 as K, b2 as nt, p as C, b5 as w, av as $, b6 as j, t as q, aW as tt } from "./am-chart.
|
|
3
|
-
import { A as et } from "./AxisLabelRadial.
|
|
4
|
-
import { B as st } from "./BaseColumnSeries.
|
|
1
|
+
import { S as X, a as S } from "./Slice.DiEswWa6.js";
|
|
2
|
+
import { aU as Y, L as M, T as b, m as p, r as m, x as z, o as A, h as u, j as f, a as _, C as W, G as L, H as v, P as Q, D as at, am as H, au as Z, q as O, b1 as K, b2 as nt, p as C, b5 as w, av as $, b6 as j, t as q, aW as tt } from "./am-chart.H2jnOzFc.js";
|
|
3
|
+
import { A as et } from "./AxisLabelRadial.Bs1P_q_F.js";
|
|
4
|
+
import { B as st } from "./BaseColumnSeries.C7jwOxIJ.js";
|
|
5
5
|
import { p as rt, c as lt } from "./cardinal.BCA_LB0u.js";
|
|
6
6
|
function U() {
|
|
7
7
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { E as d, B as p, G as D, e as h } from "./am-chart.
|
|
1
|
+
import { E as d, B as p, G as D, e as h } from "./am-chart.H2jnOzFc.js";
|
|
2
2
|
class m extends d {
|
|
3
3
|
_afterNew() {
|
|
4
4
|
super._afterNew(), this._setRawDefault("threshold", 5), this._setRawDefault("groupName", "Other"), this._setRawDefault("clickBehavior", "none"), this.initZoomButton(), this._root.addDisposer(this);
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { C as Te, B as Oe, G as Le, D as ma, x as ve, aQ as pi, am as se, q as Fe, d as S, H as W, f as ge, al as Pi, o as fi, E as at, c as J, bj as Ke, bk as lt, bl as Ii, s as Xe, e as A, ah as si, bm as Ns, M as dt, ac as V, ae as va, ad as Ti, z as Q, bn as Ni, a9 as qe, aW as H, bo as Hs, m as ct, a_ as _a, ax as mi, ap as Dt, w as Mi, a4 as Li, aq as He, _ as _e, L as ke, T as re, au as Ei, at as Yi, Q as xa, aw as vi, as as ya, V as St, av as ba, a as ne, t as zs, i as ii, aZ as _i, bp as $e, Z as rt, an as Ws, aj as Fi, j as xi, h as yi, a7 as ka, aD as bi, F as wa, I as Ca, b as Oi, R as Da, a2 as Sa, bq as Se, ar as Aa, br as Pa, ab as ki, bs as Vi, bt as Ia, bu as yt } from "./am-chart.
|
|
2
|
-
import { M as Xi, S as Ta, L as Bi, B as ai, E as Na } from "./SpriteResizer.
|
|
3
|
-
import { a as Ri, G as wi, A as Ci } from "./CandlestickSeries.
|
|
4
|
-
import { B as Ma } from "./BaseColumnSeries.
|
|
5
|
-
import { C as Qe } from "./ColumnSeries.
|
|
6
|
-
import { C as Di } from "./Circle.
|
|
7
|
-
import { T as La } from "./Triangle.
|
|
8
|
-
import { E as Ea } from "./EditableLabel.
|
|
9
|
-
import { Serializer as Hi } from "./json.
|
|
1
|
+
import { C as Te, B as Oe, G as Le, D as ma, x as ve, aQ as pi, am as se, q as Fe, d as S, H as W, f as ge, al as Pi, o as fi, E as at, c as J, bj as Ke, bk as lt, bl as Ii, s as Xe, e as A, ah as si, bm as Ns, M as dt, ac as V, ae as va, ad as Ti, z as Q, bn as Ni, a9 as qe, aW as H, bo as Hs, m as ct, a_ as _a, ax as mi, ap as Dt, w as Mi, a4 as Li, aq as He, _ as _e, L as ke, T as re, au as Ei, at as Yi, Q as xa, aw as vi, as as ya, V as St, av as ba, a as ne, t as zs, i as ii, aZ as _i, bp as $e, Z as rt, an as Ws, aj as Fi, j as xi, h as yi, a7 as ka, aD as bi, F as wa, I as Ca, b as Oi, R as Da, a2 as Sa, bq as Se, ar as Aa, br as Pa, ab as ki, bs as Vi, bt as Ia, bu as yt } from "./am-chart.H2jnOzFc.js";
|
|
2
|
+
import { M as Xi, S as Ta, L as Bi, B as ai, E as Na } from "./SpriteResizer.DFnmcy0h.js";
|
|
3
|
+
import { a as Ri, G as wi, A as Ci } from "./CandlestickSeries.CkXGtRWE.js";
|
|
4
|
+
import { B as Ma } from "./BaseColumnSeries.C7jwOxIJ.js";
|
|
5
|
+
import { C as Qe } from "./ColumnSeries.DGazbfza.js";
|
|
6
|
+
import { C as Di } from "./Circle.DBa5Ok8V.js";
|
|
7
|
+
import { T as La } from "./Triangle.BaOef7HV.js";
|
|
8
|
+
import { E as Ea } from "./EditableLabel.BWeq6fgX.js";
|
|
9
|
+
import { Serializer as Hi } from "./json.zyETMOw-.js";
|
|
10
10
|
class At extends Te {
|
|
11
11
|
constructor() {
|
|
12
12
|
super(...arguments), this.upButton = this.children.push(Oe.new(this._root, {
|
|
@@ -0,0 +1,185 @@
|
|
|
1
|
+
import { p as g } from "./purify.es.BIuh5IAZ.js";
|
|
2
|
+
var m = /* @__PURE__ */ ((t) => (t.Asset = "asset", t.Folder = "folder", t.Link = "link", t.Page = "page", t.Space = "space", t))(m || {}), S = /* @__PURE__ */ ((t) => (t.Default = "default", t.Overlay = "overlay", t))(S || {}), A = /* @__PURE__ */ ((t) => (t.Always = "always", t.OnHover = "on-hover", t))(A || {}), h = /* @__PURE__ */ ((t) => (t.Track = "track", t.Transition = "transition", t))(h || {}), c = /* @__PURE__ */ ((t) => (t.Frames = "Frames", t.SMPTE = "SMPTE", t.Standard = "Standard", t))(c || {});
|
|
3
|
+
const C = 50;
|
|
4
|
+
function E(t) {
|
|
5
|
+
return t.replaceAll(/[\s_]+/g, "-").replaceAll(/([a-z])([A-Z])/g, "$1-$2").replaceAll(/([A-Z])([A-Z])/g, "$1-$2").replaceAll(/([a-z])([0-9])/g, "$1-$2").replaceAll(/([A-Z])([0-9])/g, "$1-$2").replaceAll(/([0-9])([a-z])/g, "$1-$2").replaceAll(/([0-9])([A-Z])/g, "$1-$2").toLowerCase().replaceAll(/^-+|-+$/g, "");
|
|
6
|
+
}
|
|
7
|
+
function w(t) {
|
|
8
|
+
return t.replaceAll(/[-_]+/g, " ").split(" ").map((r) => r.charAt(0).toUpperCase() + r.slice(1)).join("");
|
|
9
|
+
}
|
|
10
|
+
function I(t) {
|
|
11
|
+
return t.trim().replaceAll(/([a-z])([A-Z])/g, "$1 $2").replaceAll(/([^0-9])([0-9])/g, "$1 $2").replaceAll(/([0-9])([a-z])/g, "$1 $2").replaceAll(/([0-9])([A-Z])/g, "$1 $2").replaceAll(/([A-Z])([A-Z])/g, "$1 $2").replaceAll(/[^A-Za-z0-9]/g, " ").split(" ").filter((r) => r).reduce((r, e, n) => `${r}${n ? $(e.toLowerCase()) : e.toLowerCase()}`, "");
|
|
12
|
+
}
|
|
13
|
+
function L(t) {
|
|
14
|
+
return t.replaceAll(/([a-z])([A-Z])/g, "$1 $2").replaceAll(/([A-Z])([A-Z][a-z])/g, "$1 $2").trim();
|
|
15
|
+
}
|
|
16
|
+
function $(t) {
|
|
17
|
+
if (typeof t != "string")
|
|
18
|
+
return null;
|
|
19
|
+
const r = t.trim(), e = r.charAt(0).toUpperCase(), n = r.slice(1);
|
|
20
|
+
return `${e}${n}`;
|
|
21
|
+
}
|
|
22
|
+
const x = (t, r, e, n) => t && t.length > r ? t.substring(0, e) + " ... " + t.substring(t.length - n, t.length) : t, D = (t) => t ? t.replaceAll(/([a-z0-9])([A-Z])/g, "$1 $2").replaceAll(/([A-Z])([A-Z][a-z])/g, "$1 $2").replaceAll(/([a-zA-Z])([0-9])/g, "$1 $2").replaceAll(/([0-9])([a-zA-Z])/g, "$1 $2").replaceAll(/\s+/g, " ").trim().toLowerCase() : "";
|
|
23
|
+
function O(t, r = {}) {
|
|
24
|
+
const {
|
|
25
|
+
frameRate: e = 24,
|
|
26
|
+
mode: n = c.Standard,
|
|
27
|
+
showHours: s = !1,
|
|
28
|
+
showMilliseconds: o = !1
|
|
29
|
+
} = r, i = Number.isFinite(e) && e > 0 ? e : 24;
|
|
30
|
+
if (typeof t != "number" || Number.isNaN(t) || t < 0)
|
|
31
|
+
switch (n) {
|
|
32
|
+
case c.Frames:
|
|
33
|
+
return "0";
|
|
34
|
+
case c.SMPTE:
|
|
35
|
+
return "00:00:00:00";
|
|
36
|
+
case c.Standard:
|
|
37
|
+
return s ? "00:00:00" : "00:00";
|
|
38
|
+
default:
|
|
39
|
+
return "00:00";
|
|
40
|
+
}
|
|
41
|
+
switch (n) {
|
|
42
|
+
case c.SMPTE:
|
|
43
|
+
return N(t, i);
|
|
44
|
+
case c.Frames:
|
|
45
|
+
return M(t, i);
|
|
46
|
+
case c.Standard:
|
|
47
|
+
default:
|
|
48
|
+
return T(t, o, s);
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
function b(t) {
|
|
52
|
+
return Math.abs(t - 29.97) < 0.01 || Math.abs(t - 59.94) < 0.01;
|
|
53
|
+
}
|
|
54
|
+
function N(t, r) {
|
|
55
|
+
const e = Math.floor(t), n = t - e, s = Math.floor(n * r), o = Math.floor(e / 3600), i = Math.floor(e % 3600 / 60), l = e % 60, a = b(r) ? ";" : ":";
|
|
56
|
+
return o.toString().padStart(2, "0") + ":" + i.toString().padStart(2, "0") + ":" + l.toString().padStart(2, "0") + a + s.toString().padStart(2, "0");
|
|
57
|
+
}
|
|
58
|
+
function M(t, r) {
|
|
59
|
+
const e = t * r;
|
|
60
|
+
return Math.floor(e + 1e-9).toString();
|
|
61
|
+
}
|
|
62
|
+
function T(t, r, e) {
|
|
63
|
+
const n = Math.round(t * 100) / 100, s = Math.floor(n / 3600), o = Math.floor(n % 3600 / 60), i = Math.floor(n % 60), l = Math.round(n % 1 * 100), a = [];
|
|
64
|
+
return (e || s > 0) && a.push(s.toString().padStart(2, "0")), a.push(o.toString().padStart(2, "0")), r && l > 0 ? a.push(
|
|
65
|
+
`${i.toString().padStart(2, "0")}.${l.toString().padStart(2, "0")}`
|
|
66
|
+
) : a.push(i.toString().padStart(2, "0")), a.join(":");
|
|
67
|
+
}
|
|
68
|
+
function j(t) {
|
|
69
|
+
return t.endsWith("/") ? t : `${t}/`;
|
|
70
|
+
}
|
|
71
|
+
const d = "-";
|
|
72
|
+
function k(t) {
|
|
73
|
+
const r = t.split(d), e = r.pop() ?? "", n = r.join(d);
|
|
74
|
+
return { id: e, path: n };
|
|
75
|
+
}
|
|
76
|
+
function v({
|
|
77
|
+
id: t,
|
|
78
|
+
path: r
|
|
79
|
+
}) {
|
|
80
|
+
return [r, t].join(d);
|
|
81
|
+
}
|
|
82
|
+
function R(t, r) {
|
|
83
|
+
const e = t.split("/"), n = r.split("/");
|
|
84
|
+
return e.slice(0, n.length + 1).join("/");
|
|
85
|
+
}
|
|
86
|
+
function _(t, r = {}) {
|
|
87
|
+
const { frameRate: e = 24, mode: n = c.Standard } = r, s = Number.isFinite(e) && e > 0 ? e : 24;
|
|
88
|
+
if (!t || typeof t != "string")
|
|
89
|
+
return 0;
|
|
90
|
+
const o = t.trim();
|
|
91
|
+
if (o === "")
|
|
92
|
+
return 0;
|
|
93
|
+
switch (n) {
|
|
94
|
+
case c.SMPTE:
|
|
95
|
+
return z(o, s);
|
|
96
|
+
case c.Frames:
|
|
97
|
+
return F(o, s);
|
|
98
|
+
case c.Standard:
|
|
99
|
+
default:
|
|
100
|
+
return P(o);
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
function z(t, r) {
|
|
104
|
+
const e = /^(\d{1,2}):(\d{1,2}):(\d{1,2})[:;](\d{1,2})$/, n = t.match(e);
|
|
105
|
+
if (!n)
|
|
106
|
+
return 0;
|
|
107
|
+
const [, s, o, i, l] = n, a = Number.parseInt(s, 10), u = Number.parseInt(o, 10), f = Number.parseInt(i, 10), p = Number.parseInt(l, 10);
|
|
108
|
+
return a < 0 || a > 23 || u < 0 || u > 59 || f < 0 || f > 59 || p < 0 || p >= r ? 0 : a * 3600 + u * 60 + f + p / r;
|
|
109
|
+
}
|
|
110
|
+
function F(t, r) {
|
|
111
|
+
const e = Number.parseInt(t, 10);
|
|
112
|
+
return Number.isNaN(e) || e < 0 ? 0 : e / r;
|
|
113
|
+
}
|
|
114
|
+
function P(t) {
|
|
115
|
+
const r = /^(\d{1,2}):(\d{1,2})(?::(\d{1,2}))?(?:\.(\d{1,2}))?$/, e = t.match(r);
|
|
116
|
+
if (!e)
|
|
117
|
+
return 0;
|
|
118
|
+
const [, n, s, o, i] = e;
|
|
119
|
+
let l = 0, a = 0, u = 0, f = 0;
|
|
120
|
+
if (o !== void 0 ? (l = Number.parseInt(n, 10), a = Number.parseInt(s, 10), u = Number.parseInt(o, 10)) : (a = Number.parseInt(n, 10), u = Number.parseInt(s, 10)), i !== void 0 && (f = Number.parseInt(i, 10)), l < 0 || a < 0 || u < 0 || f < 0)
|
|
121
|
+
return 0;
|
|
122
|
+
if (o !== void 0) {
|
|
123
|
+
if (a > 59 || u > 59)
|
|
124
|
+
return 0;
|
|
125
|
+
} else if (u > 59)
|
|
126
|
+
return 0;
|
|
127
|
+
return f > 99 ? 0 : l * 3600 + a * 60 + u + f / 100;
|
|
128
|
+
}
|
|
129
|
+
function H(t) {
|
|
130
|
+
if (typeof t != "string" || t.length === 0)
|
|
131
|
+
return null;
|
|
132
|
+
const r = t.split(/[?#]/)[0], e = (r.split("/").pop() ?? r).trim(), n = e.lastIndexOf(".");
|
|
133
|
+
return n <= 0 ? null : e.slice(n).toLowerCase();
|
|
134
|
+
}
|
|
135
|
+
function y(t) {
|
|
136
|
+
return g.sanitize(t, {
|
|
137
|
+
CUSTOM_ELEMENT_HANDLING: {
|
|
138
|
+
allowCustomizedBuiltInElements: !0,
|
|
139
|
+
attributeNameCheck: /^(?!on)[a-z][a-z0-9-]*$/i,
|
|
140
|
+
tagNameCheck: /^cx-/
|
|
141
|
+
}
|
|
142
|
+
});
|
|
143
|
+
}
|
|
144
|
+
function U(t) {
|
|
145
|
+
return typeof t == "string" ? t.replaceAll(" ", " ") : t == null ? "" : String(t);
|
|
146
|
+
}
|
|
147
|
+
function W(t) {
|
|
148
|
+
return t == null || t === "" ? " " : String(t);
|
|
149
|
+
}
|
|
150
|
+
function q(t) {
|
|
151
|
+
return typeof t != "string" ? !1 : Object.values(m).includes(t);
|
|
152
|
+
}
|
|
153
|
+
function B(t) {
|
|
154
|
+
if (!t)
|
|
155
|
+
return "";
|
|
156
|
+
const r = t.startsWith(".") ? t.toLowerCase() : `.${t.toLowerCase()}`;
|
|
157
|
+
return r === "." ? "" : r;
|
|
158
|
+
}
|
|
159
|
+
export {
|
|
160
|
+
C as F,
|
|
161
|
+
S as G,
|
|
162
|
+
h as M,
|
|
163
|
+
c as T,
|
|
164
|
+
B as a,
|
|
165
|
+
H as b,
|
|
166
|
+
W as c,
|
|
167
|
+
U as d,
|
|
168
|
+
k as e,
|
|
169
|
+
O as f,
|
|
170
|
+
v as g,
|
|
171
|
+
A as h,
|
|
172
|
+
m as i,
|
|
173
|
+
q as j,
|
|
174
|
+
D as k,
|
|
175
|
+
_ as l,
|
|
176
|
+
E as m,
|
|
177
|
+
w as n,
|
|
178
|
+
I as o,
|
|
179
|
+
j as p,
|
|
180
|
+
L as q,
|
|
181
|
+
R as r,
|
|
182
|
+
y as s,
|
|
183
|
+
x as t,
|
|
184
|
+
$ as u
|
|
185
|
+
};
|