@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,149 +1,18 @@
|
|
|
1
|
-
import { n as s, C as
|
|
2
|
-
import { c as
|
|
1
|
+
import { n as s, C as x } from "../chunks/lib-cortex-element.CVMmyPMC.js";
|
|
2
|
+
import { c as b } from "../chunks/component.styles.CRO4Odto.js";
|
|
3
3
|
import { s as u, a as p } from "../chunks/animate.El-MpOws.js";
|
|
4
4
|
import { c as y } from "../chunks/custom-element.L4WJXn1j.js";
|
|
5
5
|
import { w as m } from "../chunks/event.mFzZi4sr.js";
|
|
6
|
-
import { L as C } from "../chunks/i18n.
|
|
6
|
+
import { L as C } from "../chunks/i18n.BFqTRDCA.js";
|
|
7
7
|
import { H as T } from "../chunks/slot.j5oheLJC.js";
|
|
8
|
-
import { w } from "../chunks/watch.
|
|
8
|
+
import { w } from "../chunks/watch.BCJD77bD.js";
|
|
9
9
|
import { i as I, x as h } from "../chunks/lit-element.jLBm65_O.js";
|
|
10
10
|
import { r as A } from "../chunks/state.CSDxrqLd.js";
|
|
11
11
|
import { e as g } from "../chunks/query.BBf1UFkC.js";
|
|
12
12
|
import { e as f } from "../chunks/class-map.BiVq-cVR.js";
|
|
13
13
|
import { s as _, g as v } from "../chunks/animation-registry.HmpwNuGH.js";
|
|
14
|
-
import H from "
|
|
15
|
-
const k = I
|
|
16
|
-
:host {
|
|
17
|
-
display: contents;
|
|
18
|
-
|
|
19
|
-
/* For better DX, we'll reset the margin here so the base part can inherit it */
|
|
20
|
-
margin: 0;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
.alert {
|
|
24
|
-
position: relative;
|
|
25
|
-
display: flex;
|
|
26
|
-
align-items: stretch;
|
|
27
|
-
background-color: var(--cx-panel-background-color);
|
|
28
|
-
border: solid var(--cx-panel-border-width) var(--cx-panel-border-color);
|
|
29
|
-
border-top-width: calc(var(--cx-panel-border-width) * 3);
|
|
30
|
-
border-radius: var(--cx-border-radius-small);
|
|
31
|
-
font-family: var(--cx-font-sans);
|
|
32
|
-
font-size: var(--cx-font-size-small);
|
|
33
|
-
font-weight: var(--cx-font-weight-regular);
|
|
34
|
-
line-height: 1.6;
|
|
35
|
-
color: var(--cx-color-neutral-700);
|
|
36
|
-
margin: inherit;
|
|
37
|
-
overflow: hidden;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
.alert:not(.alert--has-icon) .alert__icon,
|
|
41
|
-
.alert:not(.alert--closable) .alert__close-button {
|
|
42
|
-
display: none;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
.alert__icon {
|
|
46
|
-
flex: 0 0 auto;
|
|
47
|
-
display: flex;
|
|
48
|
-
align-items: center;
|
|
49
|
-
font-size: var(--cx-font-size-large);
|
|
50
|
-
padding-inline-start: var(--cx-spacing-large);
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
.alert--has-countdown {
|
|
54
|
-
border-bottom: none;
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
.alert--primary {
|
|
58
|
-
border-top-color: var(--cx-color-primary);
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
.alert--primary .alert__icon {
|
|
62
|
-
color: var(--cx-color-primary);
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
.alert--success {
|
|
66
|
-
border-top-color: var(--cx-color-success);
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
.alert--success .alert__icon {
|
|
70
|
-
color: var(--cx-color-success);
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
.alert--neutral {
|
|
74
|
-
border-top-color: var(--cx-color-neutral);
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
.alert--neutral .alert__icon {
|
|
78
|
-
color: var(--cx-color-neutral);
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
.alert--warning {
|
|
82
|
-
border-top-color: var(--cx-color-warning);
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
.alert--warning .alert__icon {
|
|
86
|
-
color: var(--cx-color-warning);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
.alert--danger {
|
|
90
|
-
border-top-color: var(--cx-color-danger);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
.alert--danger .alert__icon {
|
|
94
|
-
color: var(--cx-color-danger);
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
.alert__message {
|
|
98
|
-
flex: 1 1 auto;
|
|
99
|
-
display: block;
|
|
100
|
-
padding: var(--cx-spacing-large);
|
|
101
|
-
overflow: hidden;
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
.alert__close-button {
|
|
105
|
-
flex: 0 0 auto;
|
|
106
|
-
display: flex;
|
|
107
|
-
align-items: center;
|
|
108
|
-
font-size: var(--cx-font-size-medium);
|
|
109
|
-
padding-inline-end: var(--cx-spacing-medium);
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
.alert__countdown {
|
|
113
|
-
position: absolute;
|
|
114
|
-
bottom: 0;
|
|
115
|
-
left: 0;
|
|
116
|
-
width: 100%;
|
|
117
|
-
height: calc(var(--cx-panel-border-width) * 3);
|
|
118
|
-
background-color: var(--cx-panel-border-color);
|
|
119
|
-
display: flex;
|
|
120
|
-
}
|
|
121
|
-
.alert__countdown--ltr {
|
|
122
|
-
justify-content: flex-end;
|
|
123
|
-
}
|
|
124
|
-
.alert__countdown .alert__countdown-elapsed {
|
|
125
|
-
height: 100%;
|
|
126
|
-
width: 0;
|
|
127
|
-
}
|
|
128
|
-
.alert--primary .alert__countdown-elapsed {
|
|
129
|
-
background-color: var(--cx-color-primary);
|
|
130
|
-
}
|
|
131
|
-
.alert--success .alert__countdown-elapsed {
|
|
132
|
-
background-color: var(--cx-color-success);
|
|
133
|
-
}
|
|
134
|
-
.alert--neutral .alert__countdown-elapsed {
|
|
135
|
-
background-color: var(--cx-color-neutral-600);
|
|
136
|
-
}
|
|
137
|
-
.alert--warning .alert__countdown-elapsed {
|
|
138
|
-
background-color: var(--cx-color-warning);
|
|
139
|
-
}
|
|
140
|
-
.alert--danger .alert__countdown-elapsed {
|
|
141
|
-
background-color: var(--cx-color-danger);
|
|
142
|
-
}
|
|
143
|
-
.alert__timer {
|
|
144
|
-
display: none;
|
|
145
|
-
}
|
|
146
|
-
`;
|
|
14
|
+
import { C as H } from "../chunks/icon-button.rKe0N4VB.js";
|
|
15
|
+
const k = I`:host{margin:0;display:contents}.alert{background-color:var(--cx-panel-background-color);border:solid var(--cx-panel-border-width) var(--cx-panel-border-color);border-top-width:calc(var(--cx-panel-border-width) * 3);border-radius:var(--cx-border-radius-small);font-family:var(--cx-font-sans);font-size:var(--cx-font-size-small);font-weight:var(--cx-font-weight-regular);color:var(--cx-color-neutral-700);margin:inherit;align-items:stretch;line-height:1.6;display:flex;position:relative;overflow:hidden}.alert:not(.alert--has-icon) .alert__icon,.alert:not(.alert--closable) .alert__close-button{display:none}.alert__icon{font-size:var(--cx-font-size-large);flex:none;align-items:center;padding-inline-start:var(--cx-spacing-large);display:flex}.alert--has-countdown{border-bottom:none}.alert--primary{border-top-color:var(--cx-color-primary)}.alert--primary .alert__icon{color:var(--cx-color-primary)}.alert--success{border-top-color:var(--cx-color-success)}.alert--success .alert__icon{color:var(--cx-color-success)}.alert--neutral{border-top-color:var(--cx-color-neutral)}.alert--neutral .alert__icon{color:var(--cx-color-neutral)}.alert--warning{border-top-color:var(--cx-color-warning)}.alert--warning .alert__icon{color:var(--cx-color-warning)}.alert--danger{border-top-color:var(--cx-color-danger)}.alert--danger .alert__icon{color:var(--cx-color-danger)}.alert__message{padding:var(--cx-spacing-large);flex:auto;display:block;overflow:hidden}.alert__close-button{font-size:var(--cx-font-size-medium);flex:none;align-items:center;padding-inline-end:var(--cx-spacing-medium);display:flex}.alert__countdown{width:100%;height:calc(var(--cx-panel-border-width) * 3);background-color:var(--cx-panel-border-color);display:flex;position:absolute;bottom:0;left:0}.alert__countdown--ltr{justify-content:flex-end}.alert__countdown .alert__countdown-elapsed{width:0;height:100%}.alert--primary .alert__countdown-elapsed{background-color:var(--cx-color-primary)}.alert--success .alert__countdown-elapsed{background-color:var(--cx-color-success)}.alert--neutral .alert__countdown-elapsed{background-color:var(--cx-color-neutral-600)}.alert--warning .alert__countdown-elapsed{background-color:var(--cx-color-warning)}.alert--danger .alert__countdown-elapsed{background-color:var(--cx-color-danger)}.alert__timer{display:none}`;
|
|
147
16
|
var z = Object.defineProperty, $ = Object.getOwnPropertyDescriptor, t = (r, o, n, l) => {
|
|
148
17
|
for (var a = l > 1 ? void 0 : l ? $(o, n) : o, c = r.length - 1, d; c >= 0; c--)
|
|
149
18
|
(d = r[c]) && (a = (l ? d(o, n, a) : d(a)) || a);
|
|
@@ -152,7 +21,7 @@ var z = Object.defineProperty, $ = Object.getOwnPropertyDescriptor, t = (r, o, n
|
|
|
152
21
|
const i = Object.assign(document.createElement("div"), {
|
|
153
22
|
className: "cx-toast-stack"
|
|
154
23
|
});
|
|
155
|
-
let e = class extends
|
|
24
|
+
let e = class extends x {
|
|
156
25
|
constructor() {
|
|
157
26
|
super(...arguments), this.hasSlotController = new T(
|
|
158
27
|
this,
|
|
@@ -244,10 +113,7 @@ let e = class extends b {
|
|
|
244
113
|
});
|
|
245
114
|
}
|
|
246
115
|
render() {
|
|
247
|
-
return h
|
|
248
|
-
<div
|
|
249
|
-
part="base"
|
|
250
|
-
class=${f({
|
|
116
|
+
return h`<div part="base" class=${f({
|
|
251
117
|
alert: !0,
|
|
252
118
|
"alert--closable": this.closable,
|
|
253
119
|
"alert--danger": this.variant === "danger",
|
|
@@ -258,47 +124,13 @@ let e = class extends b {
|
|
|
258
124
|
"alert--primary": this.variant === "primary",
|
|
259
125
|
"alert--success": this.variant === "success",
|
|
260
126
|
"alert--warning": this.variant === "warning"
|
|
261
|
-
})}
|
|
262
|
-
role="alert"
|
|
263
|
-
aria-hidden=${this.open ? "false" : "true"}
|
|
264
|
-
@mouseenter=${this.pauseAutoHide}
|
|
265
|
-
@mouseleave=${this.resumeAutoHide}
|
|
266
|
-
>
|
|
267
|
-
<div part="icon" class="alert__icon">
|
|
268
|
-
<slot name="icon"></slot>
|
|
269
|
-
</div>
|
|
270
|
-
|
|
271
|
-
<div part="message" class="alert__message" aria-live="polite">
|
|
272
|
-
<slot></slot>
|
|
273
|
-
</div>
|
|
274
|
-
|
|
275
|
-
${this.closable ? h`
|
|
276
|
-
<cx-icon-button
|
|
277
|
-
part="close-button"
|
|
278
|
-
exportparts="base:close-button__base"
|
|
279
|
-
class="alert__close-button"
|
|
280
|
-
name="close"
|
|
281
|
-
label=${this.localize.term("close")}
|
|
282
|
-
@click=${this.handleCloseClick}
|
|
283
|
-
></cx-icon-button>
|
|
284
|
-
` : ""}
|
|
285
|
-
|
|
286
|
-
<div role="timer" class="alert__timer">${this.remainingTime}</div>
|
|
287
|
-
${this.countdown ? h`
|
|
288
|
-
<div
|
|
289
|
-
class=${f({
|
|
127
|
+
})} role="alert" aria-hidden=${this.open ? "false" : "true"} @mouseenter=${this.pauseAutoHide} @mouseleave=${this.resumeAutoHide}><div part="icon" class="alert__icon"><slot name="icon"></slot></div><div part="message" class="alert__message" aria-live="polite"><slot></slot></div>${this.closable ? h`<cx-icon-button part="close-button" exportparts="base:close-button__base" class="alert__close-button" name="close" label=${this.localize.term("close")} @click=${this.handleCloseClick}></cx-icon-button>` : ""}<div role="timer" class="alert__timer">${this.remainingTime}</div>${this.countdown ? h`<div class=${f({
|
|
290
128
|
alert__countdown: !0,
|
|
291
129
|
"alert__countdown--ltr": this.countdown === "ltr"
|
|
292
|
-
})}
|
|
293
|
-
>
|
|
294
|
-
<div class="alert__countdown-elapsed"></div>
|
|
295
|
-
</div>
|
|
296
|
-
` : ""}
|
|
297
|
-
</div>
|
|
298
|
-
`;
|
|
130
|
+
})}><div class="alert__countdown-elapsed"></div></div>` : ""}</div>`;
|
|
299
131
|
}
|
|
300
132
|
};
|
|
301
|
-
e.styles = [
|
|
133
|
+
e.styles = [b, k];
|
|
302
134
|
e.dependencies = { "cx-icon-button": H };
|
|
303
135
|
t([
|
|
304
136
|
g('[part~="base"]')
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { bw as b } from "../chunks/am-chart.
|
|
1
|
+
import { bw as b } from "../chunks/am-chart.H2jnOzFc.js";
|
|
2
2
|
import "../chunks/lib-cortex-element.CVMmyPMC.js";
|
|
3
|
-
import "../chunks/component.styles.
|
|
3
|
+
import "../chunks/component.styles.CRO4Odto.js";
|
|
4
4
|
import "../chunks/custom-element.L4WJXn1j.js";
|
|
5
|
-
import "../chunks/watch.
|
|
5
|
+
import "../chunks/watch.BCJD77bD.js";
|
|
6
6
|
import "../chunks/lit-element.jLBm65_O.js";
|
|
7
7
|
import "../chunks/state.CSDxrqLd.js";
|
|
8
8
|
import "../chunks/query-async.CTgXGyQ5.js";
|
|
@@ -1,76 +1,18 @@
|
|
|
1
|
-
import { n as c, C as
|
|
2
|
-
import { c as g } from "../chunks/component.styles.
|
|
1
|
+
import { n as c, C as h } from "../chunks/lib-cortex-element.CVMmyPMC.js";
|
|
2
|
+
import { c as g } from "../chunks/component.styles.CRO4Odto.js";
|
|
3
3
|
import { c as y } from "../chunks/custom-element.L4WJXn1j.js";
|
|
4
|
-
import { w as m } from "../chunks/watch.
|
|
4
|
+
import { w as m } from "../chunks/watch.BCJD77bD.js";
|
|
5
5
|
import { i as f, x as d } from "../chunks/lit-element.jLBm65_O.js";
|
|
6
|
-
import { r as
|
|
6
|
+
import { r as p } from "../chunks/state.CSDxrqLd.js";
|
|
7
7
|
import { e as x } from "../chunks/query.BBf1UFkC.js";
|
|
8
8
|
import u from "./icon.js";
|
|
9
|
-
const v = f
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
display: inline-flex;
|
|
15
|
-
position: relative;
|
|
16
|
-
cursor: pointer;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
.animated-image {
|
|
20
|
-
display: inline-grid;
|
|
21
|
-
grid-template-columns: 1fr;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
img {
|
|
25
|
-
display: block;
|
|
26
|
-
width: 100%;
|
|
27
|
-
height: 100%;
|
|
28
|
-
grid-row-start: 1;
|
|
29
|
-
grid-column-start: 1;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
img[aria-hidden='true'] {
|
|
33
|
-
visibility: hidden;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
.animated-image__control-box {
|
|
37
|
-
display: flex;
|
|
38
|
-
position: absolute;
|
|
39
|
-
align-items: center;
|
|
40
|
-
justify-content: center;
|
|
41
|
-
top: calc(50% - var(--control-box-size) / 2);
|
|
42
|
-
right: calc(50% - var(--control-box-size) / 2);
|
|
43
|
-
width: var(--control-box-size);
|
|
44
|
-
height: var(--control-box-size);
|
|
45
|
-
font-size: var(--icon-size);
|
|
46
|
-
background: none;
|
|
47
|
-
border: solid 2px currentColor;
|
|
48
|
-
background-color: rgb(0 0 0 /50%);
|
|
49
|
-
border-radius: var(--cx-border-radius-circle);
|
|
50
|
-
color: white;
|
|
51
|
-
pointer-events: none;
|
|
52
|
-
transition: var(--cx-transition-fast) opacity;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
:host([play]:hover) .animated-image__control-box {
|
|
56
|
-
opacity: 1;
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
:host([play]:not(:hover)) .animated-image__control-box {
|
|
60
|
-
opacity: 0;
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
:host([play]) slot[name='play-icon'],
|
|
64
|
-
:host(:not([play])) slot[name='pause-icon'] {
|
|
65
|
-
display: none;
|
|
66
|
-
}
|
|
67
|
-
`;
|
|
68
|
-
var b = Object.defineProperty, _ = Object.getOwnPropertyDescriptor, t = (a, i, r, n) => {
|
|
69
|
-
for (var o = n > 1 ? void 0 : n ? _(i, r) : i, s = a.length - 1, l; s >= 0; s--)
|
|
70
|
-
(l = a[s]) && (o = (n ? l(i, r, o) : l(o)) || o);
|
|
71
|
-
return n && o && b(i, r, o), o;
|
|
9
|
+
const v = f`:host{--control-box-size:3rem;--icon-size:calc(var(--control-box-size) * .625);cursor:pointer;display:inline-flex;position:relative}.animated-image{grid-template-columns:1fr;display:inline-grid}img{grid-row-start:1;grid-column-start:1;width:100%;height:100%;display:block}img[aria-hidden=true]{visibility:hidden}.animated-image__control-box{top:calc(50% - var(--control-box-size) / 2);right:calc(50% - var(--control-box-size) / 2);width:var(--control-box-size);height:var(--control-box-size);font-size:var(--icon-size);border-radius:var(--cx-border-radius-circle);color:#fff;pointer-events:none;transition:var(--cx-transition-fast) opacity;background:#00000080;border:2px solid;justify-content:center;align-items:center;display:flex;position:absolute}:host([play]:hover) .animated-image__control-box{opacity:1}:host([play]:not(:hover)) .animated-image__control-box{opacity:0}:host([play]) slot[name=play-icon],:host(:not([play])) slot[name=pause-icon]{display:none}`;
|
|
10
|
+
var _ = Object.defineProperty, b = Object.getOwnPropertyDescriptor, t = (a, i, r, s) => {
|
|
11
|
+
for (var o = s > 1 ? void 0 : s ? b(i, r) : i, n = a.length - 1, l; n >= 0; n--)
|
|
12
|
+
(l = a[n]) && (o = (s ? l(i, r, o) : l(o)) || o);
|
|
13
|
+
return s && o && _(i, r, o), o;
|
|
72
14
|
};
|
|
73
|
-
let e = class extends
|
|
15
|
+
let e = class extends h {
|
|
74
16
|
constructor() {
|
|
75
17
|
super(...arguments), this.isLoaded = !1;
|
|
76
18
|
}
|
|
@@ -91,37 +33,7 @@ let e = class extends p {
|
|
|
91
33
|
this.isLoaded = !1;
|
|
92
34
|
}
|
|
93
35
|
render() {
|
|
94
|
-
return d
|
|
95
|
-
<div class="animated-image">
|
|
96
|
-
<img
|
|
97
|
-
class="animated-image__animated"
|
|
98
|
-
src=${this.src}
|
|
99
|
-
alt=${this.alt}
|
|
100
|
-
crossorigin="anonymous"
|
|
101
|
-
aria-hidden=${this.play ? "false" : "true"}
|
|
102
|
-
@click=${this.handleClick}
|
|
103
|
-
@load=${this.handleLoad}
|
|
104
|
-
@error=${this.handleError}
|
|
105
|
-
/>
|
|
106
|
-
|
|
107
|
-
${this.isLoaded ? d`
|
|
108
|
-
<img
|
|
109
|
-
class="animated-image__frozen"
|
|
110
|
-
src=${this.frozenFrame}
|
|
111
|
-
alt=${this.alt}
|
|
112
|
-
aria-hidden=${this.play ? "true" : "false"}
|
|
113
|
-
@click=${this.handleClick}
|
|
114
|
-
/>
|
|
115
|
-
|
|
116
|
-
<div part="control-box" class="animated-image__control-box">
|
|
117
|
-
<slot name="play-icon"
|
|
118
|
-
><cx-icon name="play_arrow"></cx-icon
|
|
119
|
-
></slot>
|
|
120
|
-
<slot name="pause-icon"><cx-icon name="pause"></cx-icon></slot>
|
|
121
|
-
</div>
|
|
122
|
-
` : ""}
|
|
123
|
-
</div>
|
|
124
|
-
`;
|
|
36
|
+
return d`<div class="animated-image"><img class="animated-image__animated" src=${this.src} alt=${this.alt} crossorigin="anonymous" aria-hidden=${this.play ? "false" : "true"} @click=${this.handleClick} @load=${this.handleLoad} @error=${this.handleError}>${this.isLoaded ? d`<img class="animated-image__frozen" src=${this.frozenFrame} alt=${this.alt} aria-hidden=${this.play ? "true" : "false"} @click=${this.handleClick}><div part="control-box" class="animated-image__control-box"><slot name="play-icon"><cx-icon name="play_arrow"></cx-icon></slot><slot name="pause-icon"><cx-icon name="pause"></cx-icon></slot></div>` : ""}</div>`;
|
|
125
37
|
}
|
|
126
38
|
};
|
|
127
39
|
e.styles = [g, v];
|
|
@@ -130,10 +42,10 @@ t([
|
|
|
130
42
|
x(".animated-image__animated")
|
|
131
43
|
], e.prototype, "animatedImage", 2);
|
|
132
44
|
t([
|
|
133
|
-
|
|
45
|
+
p()
|
|
134
46
|
], e.prototype, "frozenFrame", 2);
|
|
135
47
|
t([
|
|
136
|
-
|
|
48
|
+
p()
|
|
137
49
|
], e.prototype, "isLoaded", 2);
|
|
138
50
|
t([
|
|
139
51
|
c()
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import "../chunks/lib-cortex-element.CVMmyPMC.js";
|
|
2
|
-
import "../chunks/component.styles.
|
|
2
|
+
import "../chunks/component.styles.CRO4Odto.js";
|
|
3
3
|
import "../chunks/custom-element.L4WJXn1j.js";
|
|
4
|
-
import "../chunks/watch.
|
|
4
|
+
import "../chunks/watch.BCJD77bD.js";
|
|
5
5
|
import "../chunks/lit-element.jLBm65_O.js";
|
|
6
6
|
import "../chunks/query-async.CTgXGyQ5.js";
|
|
7
|
-
import { C as f } from "../chunks/animation.
|
|
7
|
+
import { C as f } from "../chunks/animation.7ifl4x2S.js";
|
|
8
8
|
export {
|
|
9
9
|
f as default
|
|
10
10
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as h, C as y } from "../chunks/lib-cortex-element.CVMmyPMC.js";
|
|
2
|
-
import { c as g } from "../chunks/component.styles.
|
|
2
|
+
import { c as g } from "../chunks/component.styles.CRO4Odto.js";
|
|
3
3
|
import { c as w } from "../chunks/custom-element.L4WJXn1j.js";
|
|
4
|
-
import { w as u } from "../chunks/watch.
|
|
4
|
+
import { w as u } from "../chunks/watch.BCJD77bD.js";
|
|
5
5
|
import { i as x, E as C, x as m } from "../chunks/lit-element.jLBm65_O.js";
|
|
6
6
|
import { r as v } from "../chunks/state.CSDxrqLd.js";
|
|
7
7
|
import { e as f } from "../chunks/query.BBf1UFkC.js";
|
|
@@ -10,62 +10,7 @@ import { n as M } from "../chunks/when.Dr1es41R.js";
|
|
|
10
10
|
import E from "./line-clamp.js";
|
|
11
11
|
import L from "./resize-observer.js";
|
|
12
12
|
import S from "./tag.js";
|
|
13
|
-
const A = x
|
|
14
|
-
.array-clamp {
|
|
15
|
-
display: flex;
|
|
16
|
-
align-items: center;
|
|
17
|
-
flex-wrap: nowrap;
|
|
18
|
-
flex-grow: 1;
|
|
19
|
-
flex-shrink: 1;
|
|
20
|
-
overflow: hidden;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
.array-clamp__items-container {
|
|
24
|
-
display: flex;
|
|
25
|
-
align-items: center;
|
|
26
|
-
flex-wrap: nowrap;
|
|
27
|
-
flex-grow: 1;
|
|
28
|
-
flex-shrink: 1;
|
|
29
|
-
overflow: hidden;
|
|
30
|
-
min-width: 0;
|
|
31
|
-
width: 100%;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
.array-clamp__items-container ::slotted(.array-clamp__item) {
|
|
35
|
-
white-space: nowrap;
|
|
36
|
-
flex-shrink: 0;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
.array-clamp__items-container ::slotted(.array-clamp__item:not(:last-child))::after {
|
|
40
|
-
content: var(--array-clamp-separator, ', ');
|
|
41
|
-
white-space: pre;
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
.array-clamp__items-container ::slotted(.array-clamp__item.clamped) {
|
|
45
|
-
display: none;
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
.array-clamp__items-container ::slotted(.array-clamp__item.array-clamp__last-visible) {
|
|
49
|
-
display: -webkit-box;
|
|
50
|
-
-webkit-box-orient: vertical;
|
|
51
|
-
-webkit-line-clamp: 1;
|
|
52
|
-
overflow: hidden;
|
|
53
|
-
text-overflow: ellipsis;
|
|
54
|
-
white-space: normal;
|
|
55
|
-
min-width: 0;
|
|
56
|
-
flex-shrink: 1;
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
.array-clamp__indicator {
|
|
60
|
-
flex-shrink: 0;
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
.array-clamp__indicator::part(base) {
|
|
64
|
-
max-width: 4rem;
|
|
65
|
-
min-width: 2rem;
|
|
66
|
-
overflow-wrap: break-word;
|
|
67
|
-
}
|
|
68
|
-
`;
|
|
13
|
+
const A = x`.array-clamp{flex-wrap:nowrap;flex-grow:1;flex-shrink:1;align-items:center;display:flex;overflow:hidden}.array-clamp__items-container{flex-wrap:nowrap;flex-grow:1;flex-shrink:1;align-items:center;width:100%;min-width:0;display:flex;overflow:hidden}.array-clamp__items-container ::slotted(.array-clamp__item){white-space:nowrap;flex-shrink:0}.array-clamp__items-container ::slotted(.array-clamp__item:not(:last-child)):after{content:var(--array-clamp-separator,", ");white-space:pre}.array-clamp__items-container ::slotted(.array-clamp__item.clamped){display:none}.array-clamp__items-container ::slotted(.array-clamp__item.array-clamp__last-visible){-webkit-line-clamp:1;text-overflow:ellipsis;white-space:normal;-webkit-box-orient:vertical;flex-shrink:1;min-width:0;display:-webkit-box;overflow:hidden}.array-clamp__indicator{flex-shrink:0}.array-clamp__indicator::part(base){overflow-wrap:break-word;min-width:2rem;max-width:4rem}`;
|
|
69
14
|
var R = Object.defineProperty, z = Object.getOwnPropertyDescriptor, o = (e, a, s, r) => {
|
|
70
15
|
for (var t = r > 1 ? void 0 : r ? z(a, s) : a, i = e.length - 1, n; i >= 0; i--)
|
|
71
16
|
(n = e[i]) && (t = (r ? n(a, s, t) : n(t)) || t);
|
|
@@ -127,40 +72,14 @@ let l = class extends y {
|
|
|
127
72
|
this.applyItemClasses();
|
|
128
73
|
}
|
|
129
74
|
render() {
|
|
130
|
-
return m
|
|
131
|
-
<div
|
|
132
|
-
class="array-clamp"
|
|
133
|
-
style=${b({
|
|
75
|
+
return m`<div class="array-clamp" style=${b({
|
|
134
76
|
"--array-clamp-separator": `'${String(this.separator).replaceAll("'", String.raw`\'`)}'`
|
|
135
|
-
})}
|
|
136
|
-
>
|
|
137
|
-
<cx-resize-observer @cx-resize=${this.handleResize}>
|
|
138
|
-
<div class="array-clamp__items-container" part="container">
|
|
139
|
-
<slot @slotchange=${this.handleSlotChange}></slot>
|
|
140
|
-
${M(
|
|
77
|
+
})}><cx-resize-observer @cx-resize=${this.handleResize}><div class="array-clamp__items-container" part="container"><slot @slotchange=${this.handleSlotChange}></slot>${M(
|
|
141
78
|
this.totalClamped > 0,
|
|
142
|
-
() => m
|
|
143
|
-
|
|
144
|
-
variant="neutral"
|
|
145
|
-
size="small"
|
|
146
|
-
pill
|
|
147
|
-
class="array-clamp__indicator"
|
|
148
|
-
part="indicator"
|
|
149
|
-
>
|
|
150
|
-
<cx-line-clamp
|
|
151
|
-
tooltip=${this.hiddenChildrenStr}
|
|
152
|
-
lines="1"
|
|
153
|
-
>
|
|
154
|
-
+${this.totalClamped}
|
|
155
|
-
</cx-line-clamp>
|
|
156
|
-
</cx-tag>
|
|
157
|
-
`,
|
|
79
|
+
() => m`<cx-tag variant="neutral" size="small" pill class="array-clamp__indicator" part="indicator"><cx-line-clamp tooltip=${this.hiddenChildrenStr} lines="1">
|
|
80
|
+
+${this.totalClamped}</cx-line-clamp></cx-tag>`,
|
|
158
81
|
() => C
|
|
159
|
-
)}
|
|
160
|
-
</div>
|
|
161
|
-
</cx-resize-observer>
|
|
162
|
-
</div>
|
|
163
|
-
`;
|
|
82
|
+
)}</div></cx-resize-observer></div>`;
|
|
164
83
|
}
|
|
165
84
|
};
|
|
166
85
|
l.styles = [g, A];
|