@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
|
@@ -1,160 +0,0 @@
|
|
|
1
|
-
import { p as m } from "./purify.es.BIuh5IAZ.js";
|
|
2
|
-
var d = /* @__PURE__ */ ((t) => (t.Asset = "asset", t.Folder = "folder", t.Link = "link", t.Page = "page", t.Space = "space", t))(d || {}), S = /* @__PURE__ */ ((t) => (t.Default = "default", t.Overlay = "overlay", t))(S || {}), g = /* @__PURE__ */ ((t) => (t.Always = "always", t.OnHover = "on-hover", t))(g || {}), A = /* @__PURE__ */ ((t) => (t.Track = "track", t.Transition = "transition", t))(A || {}), l = /* @__PURE__ */ ((t) => (t.Frames = "Frames", t.SMPTE = "SMPTE", t.Standard = "Standard", t))(l || {});
|
|
3
|
-
const P = 50;
|
|
4
|
-
function C(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 E(t) {
|
|
8
|
-
return t.replaceAll(/[-_]+/g, " ").split(" ").map((e) => e.charAt(0).toUpperCase() + e.slice(1)).join("");
|
|
9
|
-
}
|
|
10
|
-
function w(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((e) => e).reduce((e, r, n) => `${e}${n ? $(r.toLowerCase()) : r.toLowerCase()}`, "");
|
|
12
|
-
}
|
|
13
|
-
function I(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 e = t.trim(), r = e.charAt(0).toUpperCase(), n = e.slice(1);
|
|
20
|
-
return `${r}${n}`;
|
|
21
|
-
}
|
|
22
|
-
const x = (t, e, r, n) => t && t.length > e ? t.substring(0, r) + " ... " + t.substring(t.length - n, t.length) : t, L = (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 k(t, e = {}) {
|
|
24
|
-
const {
|
|
25
|
-
frameRate: r = 24,
|
|
26
|
-
mode: n = l.Standard,
|
|
27
|
-
showHours: s = !1,
|
|
28
|
-
showMilliseconds: o = !1
|
|
29
|
-
} = e, i = Number.isFinite(r) && r > 0 ? r : 24;
|
|
30
|
-
if (typeof t != "number" || Number.isNaN(t) || t < 0)
|
|
31
|
-
switch (n) {
|
|
32
|
-
case l.Frames:
|
|
33
|
-
return "0";
|
|
34
|
-
case l.SMPTE:
|
|
35
|
-
return "00:00:00:00";
|
|
36
|
-
case l.Standard:
|
|
37
|
-
return s ? "00:00:00" : "00:00";
|
|
38
|
-
default:
|
|
39
|
-
return "00:00";
|
|
40
|
-
}
|
|
41
|
-
switch (n) {
|
|
42
|
-
case l.SMPTE:
|
|
43
|
-
return b(t, i);
|
|
44
|
-
case l.Frames:
|
|
45
|
-
return N(t, i);
|
|
46
|
-
case l.Standard:
|
|
47
|
-
default:
|
|
48
|
-
return M(t, o, s);
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
function h(t) {
|
|
52
|
-
return Math.abs(t - 29.97) < 0.01 || Math.abs(t - 59.94) < 0.01;
|
|
53
|
-
}
|
|
54
|
-
function b(t, e) {
|
|
55
|
-
const r = Math.floor(t), n = t - r, s = Math.floor(n * e), o = Math.floor(r / 3600), i = Math.floor(r % 3600 / 60), c = r % 60, a = h(e) ? ";" : ":";
|
|
56
|
-
return o.toString().padStart(2, "0") + ":" + i.toString().padStart(2, "0") + ":" + c.toString().padStart(2, "0") + a + s.toString().padStart(2, "0");
|
|
57
|
-
}
|
|
58
|
-
function N(t, e) {
|
|
59
|
-
const r = t * e;
|
|
60
|
-
return Math.floor(r + 1e-9).toString();
|
|
61
|
-
}
|
|
62
|
-
function M(t, e, r) {
|
|
63
|
-
const n = Math.round(t * 100) / 100, s = Math.floor(n / 3600), o = Math.floor(n % 3600 / 60), i = Math.floor(n % 60), c = Math.round(n % 1 * 100), a = [];
|
|
64
|
-
return (r || s > 0) && a.push(s.toString().padStart(2, "0")), a.push(o.toString().padStart(2, "0")), e && c > 0 ? a.push(
|
|
65
|
-
`${i.toString().padStart(2, "0")}.${c.toString().padStart(2, "0")}`
|
|
66
|
-
) : a.push(i.toString().padStart(2, "0")), a.join(":");
|
|
67
|
-
}
|
|
68
|
-
function v(t) {
|
|
69
|
-
return t.endsWith("/") ? t : `${t}/`;
|
|
70
|
-
}
|
|
71
|
-
function H(t, e = {}) {
|
|
72
|
-
const { frameRate: r = 24, mode: n = l.Standard } = e, s = Number.isFinite(r) && r > 0 ? r : 24;
|
|
73
|
-
if (!t || typeof t != "string")
|
|
74
|
-
return 0;
|
|
75
|
-
const o = t.trim();
|
|
76
|
-
if (o === "")
|
|
77
|
-
return 0;
|
|
78
|
-
switch (n) {
|
|
79
|
-
case l.SMPTE:
|
|
80
|
-
return F(o, s);
|
|
81
|
-
case l.Frames:
|
|
82
|
-
return T(o, s);
|
|
83
|
-
case l.Standard:
|
|
84
|
-
default:
|
|
85
|
-
return Z(o);
|
|
86
|
-
}
|
|
87
|
-
}
|
|
88
|
-
function F(t, e) {
|
|
89
|
-
const r = /^(\d{1,2}):(\d{1,2}):(\d{1,2})[:;](\d{1,2})$/, n = t.match(r);
|
|
90
|
-
if (!n)
|
|
91
|
-
return 0;
|
|
92
|
-
const [, s, o, i, c] = n, a = Number.parseInt(s, 10), u = Number.parseInt(o, 10), f = Number.parseInt(i, 10), p = Number.parseInt(c, 10);
|
|
93
|
-
return a < 0 || a > 23 || u < 0 || u > 59 || f < 0 || f > 59 || p < 0 || p >= e ? 0 : a * 3600 + u * 60 + f + p / e;
|
|
94
|
-
}
|
|
95
|
-
function T(t, e) {
|
|
96
|
-
const r = Number.parseInt(t, 10);
|
|
97
|
-
return Number.isNaN(r) || r < 0 ? 0 : r / e;
|
|
98
|
-
}
|
|
99
|
-
function Z(t) {
|
|
100
|
-
const e = /^(\d{1,2}):(\d{1,2})(?::(\d{1,2}))?(?:\.(\d{1,2}))?$/, r = t.match(e);
|
|
101
|
-
if (!r)
|
|
102
|
-
return 0;
|
|
103
|
-
const [, n, s, o, i] = r;
|
|
104
|
-
let c = 0, a = 0, u = 0, f = 0;
|
|
105
|
-
if (o !== void 0 ? (c = 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)), c < 0 || a < 0 || u < 0 || f < 0)
|
|
106
|
-
return 0;
|
|
107
|
-
if (o !== void 0) {
|
|
108
|
-
if (a > 59 || u > 59)
|
|
109
|
-
return 0;
|
|
110
|
-
} else if (u > 59)
|
|
111
|
-
return 0;
|
|
112
|
-
return f > 99 ? 0 : c * 3600 + a * 60 + u + f / 100;
|
|
113
|
-
}
|
|
114
|
-
function O(t) {
|
|
115
|
-
if (typeof t != "string" || t.length === 0)
|
|
116
|
-
return null;
|
|
117
|
-
const e = t.split(/[?#]/)[0], r = (e.split("/").pop() ?? e).trim(), n = r.lastIndexOf(".");
|
|
118
|
-
return n <= 0 ? null : r.slice(n).toLowerCase();
|
|
119
|
-
}
|
|
120
|
-
function _(t) {
|
|
121
|
-
return m.sanitize(t, {
|
|
122
|
-
CUSTOM_ELEMENT_HANDLING: {
|
|
123
|
-
allowCustomizedBuiltInElements: !0,
|
|
124
|
-
attributeNameCheck: /^(?!on)[a-z][a-z0-9-]*$/i,
|
|
125
|
-
tagNameCheck: /^cx-/
|
|
126
|
-
}
|
|
127
|
-
});
|
|
128
|
-
}
|
|
129
|
-
function j(t) {
|
|
130
|
-
return typeof t == "string" ? t.replaceAll(" ", " ") : t == null ? "" : String(t);
|
|
131
|
-
}
|
|
132
|
-
function D(t) {
|
|
133
|
-
return t == null || t === "" ? " " : String(t);
|
|
134
|
-
}
|
|
135
|
-
function y(t) {
|
|
136
|
-
return typeof t != "string" ? !1 : Object.values(d).includes(t);
|
|
137
|
-
}
|
|
138
|
-
export {
|
|
139
|
-
P as F,
|
|
140
|
-
S as G,
|
|
141
|
-
A as M,
|
|
142
|
-
l as T,
|
|
143
|
-
D as a,
|
|
144
|
-
j as b,
|
|
145
|
-
g as c,
|
|
146
|
-
d,
|
|
147
|
-
O as e,
|
|
148
|
-
k as f,
|
|
149
|
-
L as g,
|
|
150
|
-
H as h,
|
|
151
|
-
y as i,
|
|
152
|
-
C as j,
|
|
153
|
-
E as k,
|
|
154
|
-
w as l,
|
|
155
|
-
I as m,
|
|
156
|
-
v as p,
|
|
157
|
-
_ as s,
|
|
158
|
-
x as t,
|
|
159
|
-
$ as u
|
|
160
|
-
};
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
const e = window.location.origin.includes("localhost:") ? "https://local.orangelogic.com" : window.location.origin;
|
|
2
|
-
function a(n, t, i, r = e) {
|
|
3
|
-
const c = new URL(r + "/" + n);
|
|
4
|
-
return Array.isArray(i) ? i.forEach((o) => {
|
|
5
|
-
o[1] && c.searchParams.append(o[0], o[1]);
|
|
6
|
-
}) : i && Object.keys(i).forEach((o) => {
|
|
7
|
-
i[o] && c.searchParams.append(o, i[o]);
|
|
8
|
-
}), fetch(c, t);
|
|
9
|
-
}
|
|
10
|
-
const f = (n, t) => {
|
|
11
|
-
try {
|
|
12
|
-
window.Matrix3?.ShowNotification && window.Matrix3.ShowNotification(
|
|
13
|
-
n,
|
|
14
|
-
t ? {
|
|
15
|
-
notificationType: t.notificationType
|
|
16
|
-
} : void 0
|
|
17
|
-
);
|
|
18
|
-
} catch {
|
|
19
|
-
return;
|
|
20
|
-
}
|
|
21
|
-
};
|
|
22
|
-
export {
|
|
23
|
-
a as f,
|
|
24
|
-
f as t
|
|
25
|
-
};
|
|
@@ -1,149 +0,0 @@
|
|
|
1
|
-
import { n as f, C as v } from "./lib-cortex-element.CVMmyPMC.js";
|
|
2
|
-
import { c } from "./component.styles.DMSLciL5.js";
|
|
3
|
-
import { c as d } from "./custom-element.L4WJXn1j.js";
|
|
4
|
-
import { i as m, x as i } from "./lit-element.jLBm65_O.js";
|
|
5
|
-
var t = /* @__PURE__ */ ((e) => (e.Body1 = "body1", e.Body2 = "body2", e.Body3 = "body3", e.H1 = "h1", e.H2 = "h2", e.H3 = "h3", e.H4 = "h4", e.H5 = "h5", e.H6 = "h6", e.Small = "small", e))(t || {});
|
|
6
|
-
const x = m`
|
|
7
|
-
:host {
|
|
8
|
-
--color: inherit;
|
|
9
|
-
--font-family: var(--cx-font-sans);
|
|
10
|
-
--font-style: normal;
|
|
11
|
-
|
|
12
|
-
line-height: var(--cx-line-height-large);
|
|
13
|
-
display: block;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
:host::part(base) {
|
|
17
|
-
-webkit-font-smoothing: antialiased;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
.heading,
|
|
21
|
-
.body,
|
|
22
|
-
.small {
|
|
23
|
-
color: var(--color);
|
|
24
|
-
font-weight: var(--cx-font-weight);
|
|
25
|
-
font-family: var(--font-family);
|
|
26
|
-
font-style: var(--font-style);
|
|
27
|
-
letter-spacing: var(--letter-spacing, var(--cx-letter-spacing-normal));
|
|
28
|
-
margin-block-start: 0;
|
|
29
|
-
margin-block-end: 0;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
.heading-1 {
|
|
33
|
-
font-size: var(--font-size, var(--cx-font-size-3x-large));
|
|
34
|
-
font-weight: var(--font-weight, var(--cx-font-weight-semibold));
|
|
35
|
-
line-height: var(--line-height, var(--cx-line-height-3x-large));
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
.heading-2 {
|
|
39
|
-
font-size: var(--font-size, var(--cx-font-size-2x-large));
|
|
40
|
-
font-weight: var(--font-weight, var(--cx-font-weight-semibold));
|
|
41
|
-
line-height: var(--line-height, var(--cx-line-height-3x-large));
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
.heading-3 {
|
|
45
|
-
font-size: var(--font-size, var(--cx-font-size-x-large));
|
|
46
|
-
font-weight: var(--font-weight, var(--cx-font-weight-semibold));
|
|
47
|
-
line-height: var(--line-height, var(--cx-line-height-2x-large));
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
.heading-4 {
|
|
51
|
-
font-size: var(--font-size, var(--cx-font-size-large));
|
|
52
|
-
font-weight: var(--font-weight, var(--cx-font-weight-semibold));
|
|
53
|
-
line-height: var(--line-height, var(--cx-line-height-x-large));
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
.heading-5 {
|
|
57
|
-
font-size: var(--font-size, var(--cx-font-size-medium));
|
|
58
|
-
font-weight: var(--font-weight, var(--cx-font-weight-semibold));
|
|
59
|
-
line-height: var(--line-height, var(--cx-line-height-large));
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
.heading-6 {
|
|
63
|
-
font-size: var(--font-size, var(--cx-font-size-small));
|
|
64
|
-
font-weight: var(--font-weight, var(--cx-font-weight-semibold));
|
|
65
|
-
line-height: var(--line-height, var(--cx-line-height-medium));
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
.body-1 {
|
|
69
|
-
font-size: var(--font-size, var(--cx-font-size-medium-large));
|
|
70
|
-
font-weight: var(--font-weight, var(--cx-font-weight-regular));
|
|
71
|
-
line-height: var(--line-height, var(--cx-line-height-x-large));
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
.body-2 {
|
|
75
|
-
font-size: var(--font-size, var(--cx-font-size-medium));
|
|
76
|
-
font-weight: var(--font-weight, var(--cx-font-weight-regular));
|
|
77
|
-
line-height: var(--line-height, var(--cx-line-height-large));
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
.body-3 {
|
|
81
|
-
font-size: var(--font-size, var(--cx-font-size-small));
|
|
82
|
-
font-weight: var(--font-weight, var(--cx-font-weight-regular));
|
|
83
|
-
line-height: var(--line-height, var(--cx-line-height-medium));
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
.small {
|
|
87
|
-
font-size: var(--font-size, var(--cx-font-size-x-small));
|
|
88
|
-
font-weight: var(--font-weight, var(--cx-font-weight-regular));
|
|
89
|
-
line-height: var(--line-height, var(--cx-line-height-small));
|
|
90
|
-
}
|
|
91
|
-
`;
|
|
92
|
-
var b = Object.defineProperty, w = Object.getOwnPropertyDescriptor, g = (e, n, o, r) => {
|
|
93
|
-
for (var a = r > 1 ? void 0 : r ? w(n, o) : n, l = e.length - 1, h; l >= 0; l--)
|
|
94
|
-
(h = e[l]) && (a = (r ? h(n, o, a) : h(a)) || a);
|
|
95
|
-
return r && a && b(n, o, a), a;
|
|
96
|
-
};
|
|
97
|
-
let s = class extends v {
|
|
98
|
-
constructor() {
|
|
99
|
-
super(...arguments), this.variant = t.Body1;
|
|
100
|
-
}
|
|
101
|
-
render() {
|
|
102
|
-
switch (this.variant) {
|
|
103
|
-
case t.Body1:
|
|
104
|
-
return i`<p part="base" class="body body-1"><slot></slot></p>`;
|
|
105
|
-
case t.Body2:
|
|
106
|
-
return i`<p part="base" class="body body-2"><slot></slot></p>`;
|
|
107
|
-
case t.Body3:
|
|
108
|
-
return i`<p part="base" class="body body-3"><slot></slot></p>`;
|
|
109
|
-
case t.Small:
|
|
110
|
-
return i`<small part="base" class="small"><slot></slot></small>`;
|
|
111
|
-
case t.H1:
|
|
112
|
-
return i`<h1 part="base" class="heading heading-1">
|
|
113
|
-
<slot></slot>
|
|
114
|
-
</h1>`;
|
|
115
|
-
case t.H2:
|
|
116
|
-
return i`<h2 part="base" class="heading heading-2">
|
|
117
|
-
<slot></slot>
|
|
118
|
-
</h2>`;
|
|
119
|
-
case t.H3:
|
|
120
|
-
return i`<h3 part="base" class="heading heading-3">
|
|
121
|
-
<slot></slot>
|
|
122
|
-
</h3>`;
|
|
123
|
-
case t.H4:
|
|
124
|
-
return i`<h4 part="base" class="heading heading-4">
|
|
125
|
-
<slot></slot>
|
|
126
|
-
</h4>`;
|
|
127
|
-
case t.H5:
|
|
128
|
-
return i`<h5 part="base" class="heading heading-5">
|
|
129
|
-
<slot></slot>
|
|
130
|
-
</h5>`;
|
|
131
|
-
case t.H6:
|
|
132
|
-
return i`<h6 part="base" class="heading heading-6">
|
|
133
|
-
<slot></slot>
|
|
134
|
-
</h6>`;
|
|
135
|
-
}
|
|
136
|
-
return i`<p part="base" class="body body-2"><slot></slot></p>`;
|
|
137
|
-
}
|
|
138
|
-
};
|
|
139
|
-
s.styles = [c, x];
|
|
140
|
-
g([
|
|
141
|
-
f({ type: String })
|
|
142
|
-
], s.prototype, "variant", 2);
|
|
143
|
-
s = g([
|
|
144
|
-
d("cx-typography")
|
|
145
|
-
], s);
|
|
146
|
-
export {
|
|
147
|
-
s as C,
|
|
148
|
-
t as T
|
|
149
|
-
};
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
const c = (a, t = "https://", d = !1) => d && a.match(s) || a.match(/^[a-zA-Z][a-zA-Z\d+\-.]*:\/\//) ? a : `${t}${a}`, _ = (a) => {
|
|
2
|
-
try {
|
|
3
|
-
return new URL(a), new RegExp(z, "i").test(a);
|
|
4
|
-
} catch {
|
|
5
|
-
return !1;
|
|
6
|
-
}
|
|
7
|
-
}, s = "^(?![a-zA-Z][a-zA-Z\\d+\\-.]*:\\/\\/)(?!([a-zA-Z0-9-]+\\.)+[a-zA-Z]{2,}($|\\/))[^\\s]+$", z = "^(https?:\\/\\/)?((([a-z\\d]([a-z\\d-]*[a-z\\d])*)\\.)+[a-z]{2,}|((\\d{1,3}\\.){3}\\d{1,3}))(\\:\\d+)?(\\/[-a-z\\d%_.~+]*)*(\\?[;&a-z\\d%_.~+=-]*)?(\\#[^\\s]*)?$", e = "^(https?:\\/\\/)?((([a-z\\d]([a-z\\d-]*[a-z\\d])*)\\.){2,}[a-z]{2,}|((\\d{1,3}\\.){3}\\d{1,3}))(\\:\\d+)?(\\/[-a-z\\d%_.~+]*)*(\\?[;&a-z\\d%_.~+=-]*)?(\\#[^\\s]*)?$", r = "^(https?:\\/\\/)((([a-z\\d]([a-z\\d-]*[a-z\\d])*)\\.)+[a-z]{2,}|((\\d{1,3}\\.){3}\\d{1,3}))(\\:\\d+)?(\\/[-a-z\\d%_.~+]*)*(\\?[;&a-z\\d%_.~+=-]*)?(\\#[^\\s]*)?$";
|
|
8
|
-
export {
|
|
9
|
-
s as R,
|
|
10
|
-
e as U,
|
|
11
|
-
c as a,
|
|
12
|
-
z as b,
|
|
13
|
-
r as c,
|
|
14
|
-
_ as i
|
|
15
|
-
};
|