@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,9 +1,9 @@
|
|
|
1
1
|
import { n as l, C as g } from "../chunks/lib-cortex-element.CVMmyPMC.js";
|
|
2
|
-
import { c as y } from "../chunks/component.styles.
|
|
2
|
+
import { c as y } from "../chunks/component.styles.CRO4Odto.js";
|
|
3
3
|
import { c as b } from "../chunks/custom-element.L4WJXn1j.js";
|
|
4
|
-
import { L as f } from "../chunks/i18n.
|
|
4
|
+
import { L as f } from "../chunks/i18n.BFqTRDCA.js";
|
|
5
5
|
import { c as _ } from "../chunks/math.DqTA6ya4.js";
|
|
6
|
-
import { w as p } from "../chunks/watch.
|
|
6
|
+
import { w as p } from "../chunks/watch.BCJD77bD.js";
|
|
7
7
|
import { i as x, x as c } from "../chunks/lit-element.jLBm65_O.js";
|
|
8
8
|
import { r as v } from "../chunks/state.CSDxrqLd.js";
|
|
9
9
|
import { t as $ } from "../chunks/event-options.CYHYGOd8.js";
|
|
@@ -13,204 +13,73 @@ import { c as w } from "../chunks/repeat.DbF2p5ae.js";
|
|
|
13
13
|
import { o as m } from "../chunks/style-map.llVFPd__.js";
|
|
14
14
|
import { o as d } from "../chunks/unsafe-html.Dff7-rCx.js";
|
|
15
15
|
import M from "./icon.js";
|
|
16
|
-
const H = x
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
--symbol-container-size: 40px;
|
|
22
|
-
--symbol-spacing: var(--cx-spacing-3x-small);
|
|
23
|
-
|
|
24
|
-
display: inline-flex;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
:host([variant='outlined']) {
|
|
28
|
-
--symbol-size: var(--cx-font-size-x-large);
|
|
29
|
-
--symbol-color: var(--cx-color-neutral-600);
|
|
30
|
-
--symbol-color-active: var(--cx-color-neutral-600);
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
.rating {
|
|
34
|
-
position: relative;
|
|
35
|
-
display: inline-flex;
|
|
36
|
-
border-radius: var(--cx-border-radius-small);
|
|
37
|
-
vertical-align: middle;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
.rating:focus {
|
|
41
|
-
outline: none;
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
.rating:focus-visible {
|
|
45
|
-
outline: var(--cx-focus-ring);
|
|
46
|
-
outline-offset: var(--cx-focus-ring-offset);
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
.rating__symbols {
|
|
50
|
-
display: inline-flex;
|
|
51
|
-
position: relative;
|
|
52
|
-
line-height: 0;
|
|
53
|
-
color: var(--symbol-color);
|
|
54
|
-
white-space: nowrap;
|
|
55
|
-
cursor: pointer;
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
.rating__symbols > * {
|
|
59
|
-
padding: var(--symbol-spacing);
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
.rating__symbol--active,
|
|
63
|
-
.rating__partial--filled {
|
|
64
|
-
color: var(--symbol-color-active);
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
.rating__partial-symbol-container {
|
|
68
|
-
position: relative;
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
.rating__partial--filled {
|
|
72
|
-
position: absolute;
|
|
73
|
-
top: var(--symbol-spacing);
|
|
74
|
-
left: var(--symbol-spacing);
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
.rating__symbol {
|
|
78
|
-
transition: var(--cx-transition-fast) scale;
|
|
79
|
-
pointer-events: none;
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
.rating__symbol cx-icon {
|
|
83
|
-
--font-size: var(--symbol-size);
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
.rating__symbol--hover {
|
|
87
|
-
scale: 1.2;
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
.rating--disabled .rating__symbols,
|
|
91
|
-
.rating--readonly .rating__symbols {
|
|
92
|
-
cursor: default;
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
.rating--disabled .rating__symbol--hover,
|
|
96
|
-
.rating--readonly .rating__symbol--hover {
|
|
97
|
-
scale: none;
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
.rating--disabled {
|
|
101
|
-
opacity: 0.5;
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
.rating--disabled .rating__symbols {
|
|
105
|
-
cursor: default;
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
/* Forced colors mode */
|
|
109
|
-
@media (forced-colors: active) {
|
|
110
|
-
.rating__symbol--active {
|
|
111
|
-
color: SelectedItem;
|
|
112
|
-
}
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
/** Outlined */
|
|
116
|
-
.rating--outlined .rating__symbol {
|
|
117
|
-
border: var(--cx-input-border-width) solid var(--cx-input-border-color);
|
|
118
|
-
width: var(--symbol-container-size);
|
|
119
|
-
height: var(--symbol-container-size);
|
|
120
|
-
display: flex;
|
|
121
|
-
align-items: center;
|
|
122
|
-
justify-content: center;
|
|
123
|
-
}
|
|
124
|
-
|
|
125
|
-
.rating--outlined .rating__partial--filled {
|
|
126
|
-
top: unset;
|
|
127
|
-
left: unset;
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
.rating--outlined .rating__symbol:not(:first-child) {
|
|
131
|
-
border-left: none;
|
|
132
|
-
}
|
|
133
|
-
|
|
134
|
-
.rating--outlined .rating__symbol:first-child {
|
|
135
|
-
border-top-left-radius: var(--cx-border-radius-small);
|
|
136
|
-
border-bottom-left-radius: var(--cx-border-radius-small);
|
|
137
|
-
}
|
|
138
|
-
|
|
139
|
-
.rating--outlined .rating__symbol:last-child {
|
|
140
|
-
border-top-right-radius: var(--cx-border-radius-small);
|
|
141
|
-
border-bottom-right-radius: var(--cx-border-radius-small);
|
|
142
|
-
}
|
|
143
|
-
|
|
144
|
-
.rating--outlined .rating__symbol--hover {
|
|
145
|
-
scale: 1;
|
|
146
|
-
}
|
|
147
|
-
`;
|
|
148
|
-
var C = Object.defineProperty, P = Object.getOwnPropertyDescriptor, a = (e, o, i, s) => {
|
|
149
|
-
for (var t = s > 1 ? void 0 : s ? P(o, i) : o, n = e.length - 1, h; n >= 0; n--)
|
|
150
|
-
(h = e[n]) && (t = (s ? h(o, i, t) : h(t)) || t);
|
|
151
|
-
return s && t && C(o, i, t), t;
|
|
16
|
+
const H = x`:host{--symbol-color:var(--cx-color-neutral-300);--symbol-color-active:var(--cx-color-warning-500);--symbol-size:1.2rem;--symbol-container-size:40px;--symbol-spacing:var(--cx-spacing-3x-small);display:inline-flex}:host([variant=outlined]){--symbol-size:var(--cx-font-size-x-large);--symbol-color:var(--cx-color-neutral-600);--symbol-color-active:var(--cx-color-neutral-600)}.rating{border-radius:var(--cx-border-radius-small);vertical-align:middle;display:inline-flex;position:relative}.rating:focus{outline:none}.rating:focus-visible{outline:var(--cx-focus-ring);outline-offset:var(--cx-focus-ring-offset)}.rating__symbols{color:var(--symbol-color);white-space:nowrap;cursor:pointer;line-height:0;display:inline-flex;position:relative}.rating__symbols>*{padding:var(--symbol-spacing)}.rating__symbol--active,.rating__partial--filled{color:var(--symbol-color-active)}.rating__partial-symbol-container{position:relative}.rating__partial--filled{top:var(--symbol-spacing);left:var(--symbol-spacing);position:absolute}.rating__symbol{transition:var(--cx-transition-fast) scale;pointer-events:none}.rating__symbol cx-icon{--font-size:var(--symbol-size)}.rating__symbol--hover{scale:1.2}.rating--disabled .rating__symbols,.rating--readonly .rating__symbols{cursor:default}.rating--disabled .rating__symbol--hover,.rating--readonly .rating__symbol--hover{scale:none}.rating--disabled{opacity:.5}.rating--disabled .rating__symbols{cursor:default}@media (forced-colors:active){.rating__symbol--active{color:selecteditem}}.rating--outlined .rating__symbol{border:var(--cx-input-border-width) solid var(--cx-input-border-color);width:var(--symbol-container-size);height:var(--symbol-container-size);justify-content:center;align-items:center;display:flex}.rating--outlined .rating__partial--filled{top:unset;left:unset}.rating--outlined .rating__symbol:not(:first-child){border-left:none}.rating--outlined .rating__symbol:first-child{border-top-left-radius:var(--cx-border-radius-small);border-bottom-left-radius:var(--cx-border-radius-small)}.rating--outlined .rating__symbol:last-child{border-top-right-radius:var(--cx-border-radius-small);border-bottom-right-radius:var(--cx-border-radius-small)}.rating--outlined .rating__symbol--hover{scale:1}`;
|
|
17
|
+
var C = Object.defineProperty, P = Object.getOwnPropertyDescriptor, a = (t, o, i, s) => {
|
|
18
|
+
for (var e = s > 1 ? void 0 : s ? P(o, i) : o, n = t.length - 1, h; n >= 0; n--)
|
|
19
|
+
(h = t[n]) && (e = (s ? h(o, i, e) : h(e)) || e);
|
|
20
|
+
return s && e && C(o, i, e), e;
|
|
152
21
|
};
|
|
153
22
|
let r = class extends g {
|
|
154
23
|
constructor() {
|
|
155
|
-
super(...arguments), this.localize = new f(this), this.hoverValue = 0, this.isHovering = !1, this.label = "", this.value = 0, this.max = 5, this.precision = 1, this.readonly = !1, this.disabled = !1, this.variant = "default", this.getSymbol = (
|
|
24
|
+
super(...arguments), this.localize = new f(this), this.hoverValue = 0, this.isHovering = !1, this.label = "", this.value = 0, this.max = 5, this.precision = 1, this.readonly = !1, this.disabled = !1, this.variant = "default", this.getSymbol = (t, o = !1) => this.variant !== "outlined" ? '<cx-icon name="star"></cx-icon>' : o ? '<cx-icon name="star" variant="filled"></cx-icon>' : '<cx-icon name="star"></cx-icon>';
|
|
156
25
|
}
|
|
157
|
-
getValueFromMousePosition(
|
|
158
|
-
return this.getValueFromXCoordinate(
|
|
26
|
+
getValueFromMousePosition(t) {
|
|
27
|
+
return this.getValueFromXCoordinate(t.clientX);
|
|
159
28
|
}
|
|
160
|
-
getValueFromTouchPosition(
|
|
161
|
-
return this.getValueFromXCoordinate(
|
|
29
|
+
getValueFromTouchPosition(t) {
|
|
30
|
+
return this.getValueFromXCoordinate(t.touches[0].clientX);
|
|
162
31
|
}
|
|
163
|
-
getValueFromXCoordinate(
|
|
164
|
-
const o = this.localize.dir() === "rtl", { left: i, right: s, width:
|
|
165
|
-
(s -
|
|
32
|
+
getValueFromXCoordinate(t) {
|
|
33
|
+
const o = this.localize.dir() === "rtl", { left: i, right: s, width: e } = this.rating.getBoundingClientRect(), n = o ? this.roundToPrecision(
|
|
34
|
+
(s - t) / e * this.max,
|
|
166
35
|
this.precision
|
|
167
36
|
) : this.roundToPrecision(
|
|
168
|
-
(
|
|
37
|
+
(t - i) / e * this.max,
|
|
169
38
|
this.precision
|
|
170
39
|
);
|
|
171
40
|
return _(n, 0, this.max);
|
|
172
41
|
}
|
|
173
|
-
handleClick(
|
|
174
|
-
this.disabled || (this.setValue(this.getValueFromMousePosition(
|
|
42
|
+
handleClick(t) {
|
|
43
|
+
this.disabled || (this.setValue(this.getValueFromMousePosition(t)), this.emit("cx-change"));
|
|
175
44
|
}
|
|
176
|
-
setValue(
|
|
177
|
-
this.disabled || this.readonly || (this.value =
|
|
45
|
+
setValue(t) {
|
|
46
|
+
this.disabled || this.readonly || (this.value = t === this.value ? 0 : t, this.isHovering = !1);
|
|
178
47
|
}
|
|
179
|
-
handleKeyDown(
|
|
48
|
+
handleKeyDown(t) {
|
|
180
49
|
const o = this.localize.dir() === "ltr", i = this.localize.dir() === "rtl", s = this.value;
|
|
181
50
|
if (!(this.disabled || this.readonly)) {
|
|
182
|
-
if (
|
|
183
|
-
const
|
|
184
|
-
this.value = Math.max(0, this.value -
|
|
51
|
+
if (t.key === "ArrowDown" || o && t.key === "ArrowLeft" || i && t.key === "ArrowRight") {
|
|
52
|
+
const e = t.shiftKey ? 1 : this.precision;
|
|
53
|
+
this.value = Math.max(0, this.value - e), t.preventDefault();
|
|
185
54
|
}
|
|
186
|
-
if (
|
|
187
|
-
const
|
|
188
|
-
this.value = Math.min(this.max, this.value +
|
|
55
|
+
if (t.key === "ArrowUp" || o && t.key === "ArrowRight" || i && t.key === "ArrowLeft") {
|
|
56
|
+
const e = t.shiftKey ? 1 : this.precision;
|
|
57
|
+
this.value = Math.min(this.max, this.value + e), t.preventDefault();
|
|
189
58
|
}
|
|
190
|
-
|
|
59
|
+
t.key === "Home" && (this.value = 0, t.preventDefault()), t.key === "End" && (this.value = this.max, t.preventDefault()), this.value !== s && this.emit("cx-change");
|
|
191
60
|
}
|
|
192
61
|
}
|
|
193
|
-
handleMouseEnter(
|
|
194
|
-
this.isHovering = !0, this.hoverValue = this.getValueFromMousePosition(
|
|
62
|
+
handleMouseEnter(t) {
|
|
63
|
+
this.isHovering = !0, this.hoverValue = this.getValueFromMousePosition(t);
|
|
195
64
|
}
|
|
196
|
-
handleMouseMove(
|
|
197
|
-
this.hoverValue = this.getValueFromMousePosition(
|
|
65
|
+
handleMouseMove(t) {
|
|
66
|
+
this.hoverValue = this.getValueFromMousePosition(t);
|
|
198
67
|
}
|
|
199
68
|
handleMouseLeave() {
|
|
200
69
|
this.isHovering = !1;
|
|
201
70
|
}
|
|
202
|
-
handleTouchStart(
|
|
203
|
-
this.isHovering = !0, this.hoverValue = this.getValueFromTouchPosition(
|
|
71
|
+
handleTouchStart(t) {
|
|
72
|
+
this.isHovering = !0, this.hoverValue = this.getValueFromTouchPosition(t), t.preventDefault();
|
|
204
73
|
}
|
|
205
|
-
handleTouchMove(
|
|
206
|
-
this.hoverValue = this.getValueFromTouchPosition(
|
|
74
|
+
handleTouchMove(t) {
|
|
75
|
+
this.hoverValue = this.getValueFromTouchPosition(t);
|
|
207
76
|
}
|
|
208
|
-
handleTouchEnd(
|
|
209
|
-
this.isHovering = !1, this.setValue(this.hoverValue), this.emit("cx-change"),
|
|
77
|
+
handleTouchEnd(t) {
|
|
78
|
+
this.isHovering = !1, this.setValue(this.hoverValue), this.emit("cx-change"), t.preventDefault();
|
|
210
79
|
}
|
|
211
|
-
roundToPrecision(
|
|
80
|
+
roundToPrecision(t, o = 0.5) {
|
|
212
81
|
const i = 1 / o;
|
|
213
|
-
return Math.ceil(
|
|
82
|
+
return Math.ceil(t * i) / i;
|
|
214
83
|
}
|
|
215
84
|
handleHoverValueChange() {
|
|
216
85
|
this.emit("cx-hover", {
|
|
@@ -229,86 +98,37 @@ let r = class extends g {
|
|
|
229
98
|
});
|
|
230
99
|
}
|
|
231
100
|
/** Sets focus on the rating. */
|
|
232
|
-
focus(
|
|
233
|
-
this.rating.focus(
|
|
101
|
+
focus(t) {
|
|
102
|
+
this.rating.focus(t);
|
|
234
103
|
}
|
|
235
104
|
/** Removes focus from the rating. */
|
|
236
105
|
blur() {
|
|
237
106
|
this.rating.blur();
|
|
238
107
|
}
|
|
239
108
|
render() {
|
|
240
|
-
const
|
|
109
|
+
const t = this.localize.dir() === "rtl", o = Array.from(Array(this.max).keys());
|
|
241
110
|
let i = 0;
|
|
242
|
-
return this.disabled || this.readonly ? i = this.value : i = this.isHovering ? this.hoverValue : this.value, c
|
|
243
|
-
<div
|
|
244
|
-
part="base"
|
|
245
|
-
class=${u({
|
|
111
|
+
return this.disabled || this.readonly ? i = this.value : i = this.isHovering ? this.hoverValue : this.value, c`<div part="base" class=${u({
|
|
246
112
|
rating: !0,
|
|
247
113
|
"rating--disabled": this.disabled,
|
|
248
114
|
"rating--outlined": this.variant === "outlined",
|
|
249
115
|
"rating--readonly": this.readonly,
|
|
250
|
-
"rating--rtl":
|
|
251
|
-
})}
|
|
252
|
-
role="slider"
|
|
253
|
-
aria-label=${this.label}
|
|
254
|
-
aria-disabled=${this.disabled ? "true" : "false"}
|
|
255
|
-
aria-readonly=${this.readonly ? "true" : "false"}
|
|
256
|
-
aria-valuenow=${this.value}
|
|
257
|
-
aria-valuemin="0"
|
|
258
|
-
aria-valuemax=${this.max}
|
|
259
|
-
tabindex=${this.disabled ? "-1" : "0"}
|
|
260
|
-
@click=${this.handleClick}
|
|
261
|
-
@keydown=${this.handleKeyDown}
|
|
262
|
-
@mouseenter=${this.handleMouseEnter}
|
|
263
|
-
@touchstart=${this.handleTouchStart}
|
|
264
|
-
@mouseleave=${this.handleMouseLeave}
|
|
265
|
-
@touchend=${this.handleTouchEnd}
|
|
266
|
-
@mousemove=${this.handleMouseMove}
|
|
267
|
-
@touchmove=${this.handleTouchMove}
|
|
268
|
-
>
|
|
269
|
-
<span class="rating__symbols">
|
|
270
|
-
${w(o, (s, t) => i > t && i < t + 1 ? c`
|
|
271
|
-
<span
|
|
272
|
-
class=${u({
|
|
116
|
+
"rating--rtl": t
|
|
117
|
+
})} role="slider" aria-label=${this.label} aria-disabled=${this.disabled ? "true" : "false"} aria-readonly=${this.readonly ? "true" : "false"} aria-valuenow=${this.value} aria-valuemin="0" aria-valuemax=${this.max} tabindex=${this.disabled ? "-1" : "0"} @click=${this.handleClick} @keydown=${this.handleKeyDown} @mouseenter=${this.handleMouseEnter} @touchstart=${this.handleTouchStart} @mouseleave=${this.handleMouseLeave} @touchend=${this.handleTouchEnd} @mousemove=${this.handleMouseMove} @touchmove=${this.handleTouchMove}><span class="rating__symbols">${w(o, (s, e) => i > e && i < e + 1 ? c`<span class=${u({
|
|
273
118
|
"rating__partial-symbol-container": !0,
|
|
274
119
|
rating__symbol: !0,
|
|
275
|
-
"rating__symbol--hover": this.isHovering && Math.ceil(i) ===
|
|
276
|
-
})}
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
clipPath: e ? `inset(0 ${(i - t) * 100}% 0 0)` : `inset(0 0 0 ${(i - t) * 100}%)`
|
|
282
|
-
})}
|
|
283
|
-
>
|
|
284
|
-
${d(this.getSymbol(t + 1, !1))}
|
|
285
|
-
</div>
|
|
286
|
-
<div
|
|
287
|
-
class="rating__partial--filled"
|
|
288
|
-
style=${m({
|
|
289
|
-
clipPath: e ? `inset(0 0 0 ${100 - (i - t) * 100}%)` : `inset(0 ${100 - (i - t) * 100}% 0 0)`
|
|
290
|
-
})}
|
|
291
|
-
>
|
|
292
|
-
${d(this.getSymbol(t + 1, !0))}
|
|
293
|
-
</div>
|
|
294
|
-
</span>
|
|
295
|
-
` : c`
|
|
296
|
-
<span
|
|
297
|
-
class=${u({
|
|
120
|
+
"rating__symbol--hover": this.isHovering && Math.ceil(i) === e + 1
|
|
121
|
+
})} role="presentation"><div style=${m({
|
|
122
|
+
clipPath: t ? `inset(0 ${(i - e) * 100}% 0 0)` : `inset(0 0 0 ${(i - e) * 100}%)`
|
|
123
|
+
})}>${d(this.getSymbol(e + 1, !1))}</div><div class="rating__partial--filled" style=${m({
|
|
124
|
+
clipPath: t ? `inset(0 0 0 ${100 - (i - e) * 100}%)` : `inset(0 ${100 - (i - e) * 100}% 0 0)`
|
|
125
|
+
})}>${d(this.getSymbol(e + 1, !0))}</div></span>` : c`<span class=${u({
|
|
298
126
|
rating__symbol: !0,
|
|
299
|
-
"rating__symbol--active": i >=
|
|
300
|
-
"rating__symbol--hover": this.isHovering && Math.ceil(i) ===
|
|
301
|
-
})}
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
${d(
|
|
305
|
-
this.getSymbol(t + 1, i >= t + 1)
|
|
306
|
-
)}
|
|
307
|
-
</span>
|
|
308
|
-
`)}
|
|
309
|
-
</span>
|
|
310
|
-
</div>
|
|
311
|
-
`;
|
|
127
|
+
"rating__symbol--active": i >= e + 1,
|
|
128
|
+
"rating__symbol--hover": this.isHovering && Math.ceil(i) === e + 1
|
|
129
|
+
})} role="presentation">${d(
|
|
130
|
+
this.getSymbol(e + 1, i >= e + 1)
|
|
131
|
+
)}</span>`)}</span></div>`;
|
|
312
132
|
}
|
|
313
133
|
};
|
|
314
134
|
r.styles = [y, H];
|
|
@@ -1,20 +1,10 @@
|
|
|
1
1
|
import { n as l, C as h } from "../chunks/lib-cortex-element.CVMmyPMC.js";
|
|
2
|
-
import { c as p } from "../chunks/component.styles.
|
|
2
|
+
import { c as p } from "../chunks/component.styles.CRO4Odto.js";
|
|
3
3
|
import { c as v } from "../chunks/custom-element.L4WJXn1j.js";
|
|
4
|
-
import { L as d } from "../chunks/i18n.
|
|
4
|
+
import { L as d } from "../chunks/i18n.BFqTRDCA.js";
|
|
5
5
|
import { i as f, x as y } from "../chunks/lit-element.jLBm65_O.js";
|
|
6
6
|
import { r as c } from "../chunks/state.CSDxrqLd.js";
|
|
7
|
-
const T = f
|
|
8
|
-
:host {
|
|
9
|
-
display: contents;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
.relative-time {
|
|
13
|
-
color: var(--cx-relative-time-color, inherit);
|
|
14
|
-
font-size: var(--cx-relative-time-font-size, inherit);
|
|
15
|
-
font-weight: var(--cx-relative-time-font-weight, inherit);
|
|
16
|
-
}
|
|
17
|
-
`;
|
|
7
|
+
const T = f`:host{display:contents}.relative-time{color:var(--cx-relative-time-color,inherit);font-size:var(--cx-relative-time-font-size,inherit);font-weight:var(--cx-relative-time-font-weight,inherit)}`;
|
|
18
8
|
var x = Object.defineProperty, w = Object.getOwnPropertyDescriptor, a = (o, t, i, s) => {
|
|
19
9
|
for (var n = s > 1 ? void 0 : s ? w(t, i) : t, r = o.length - 1, u; r >= 0; r--)
|
|
20
10
|
(u = o[r]) && (n = (s ? u(t, i, n) : u(n)) || n);
|
|
@@ -1,13 +1,9 @@
|
|
|
1
1
|
import { n as h, C as c } from "../chunks/lib-cortex-element.CVMmyPMC.js";
|
|
2
|
-
import { c as d } from "../chunks/component.styles.
|
|
2
|
+
import { c as d } from "../chunks/component.styles.CRO4Odto.js";
|
|
3
3
|
import { c as b } from "../chunks/custom-element.L4WJXn1j.js";
|
|
4
|
-
import { w as p } from "../chunks/watch.
|
|
4
|
+
import { w as p } from "../chunks/watch.BCJD77bD.js";
|
|
5
5
|
import { i as v, x as m } from "../chunks/lit-element.jLBm65_O.js";
|
|
6
|
-
const f = v
|
|
7
|
-
:host {
|
|
8
|
-
display: contents;
|
|
9
|
-
}
|
|
10
|
-
`;
|
|
6
|
+
const f = v`:host{display:contents}`;
|
|
11
7
|
var u = Object.defineProperty, O = Object.getOwnPropertyDescriptor, n = (s, r, e, i) => {
|
|
12
8
|
for (var t = i > 1 ? void 0 : i ? O(r, e) : r, l = s.length - 1, a; l >= 0; l--)
|
|
13
9
|
(a = s[l]) && (t = (i ? a(r, e, t) : a(t)) || t);
|
|
@@ -48,7 +44,7 @@ let o = class extends c {
|
|
|
48
44
|
this.disabled ? this.stopObserver() : this.startObserver();
|
|
49
45
|
}
|
|
50
46
|
render() {
|
|
51
|
-
return m
|
|
47
|
+
return m`<slot @slotchange=${this.handleSlotChange}></slot>`;
|
|
52
48
|
}
|
|
53
49
|
};
|
|
54
50
|
o.styles = [d, f];
|