@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
|
@@ -3,32 +3,12 @@ import p from "./grid-item.js";
|
|
|
3
3
|
import m from "./radio.js";
|
|
4
4
|
import x from "./radio-group.js";
|
|
5
5
|
import { n as h, C as u } from "../chunks/lib-cortex-element.CVMmyPMC.js";
|
|
6
|
-
import { c as g } from "../chunks/component.styles.
|
|
6
|
+
import { c as g } from "../chunks/component.styles.CRO4Odto.js";
|
|
7
7
|
import { c as _ } from "../chunks/custom-element.L4WJXn1j.js";
|
|
8
|
-
import { L as f } from "../chunks/i18n.
|
|
8
|
+
import { L as f } from "../chunks/i18n.BFqTRDCA.js";
|
|
9
9
|
import { i as v, x as C } from "../chunks/lit-element.jLBm65_O.js";
|
|
10
10
|
var r = /* @__PURE__ */ ((e) => (e.BottomCenter = "bottom-center", e.BottomLeft = "bottom-left", e.BottomRight = "bottom-right", e.CenterCenter = "center-center", e.CenterLeft = "center-left", e.CenterRight = "center-right", e.TopCenter = "top-center", e.TopLeft = "top-left", e.TopRight = "top-right", e))(r || {});
|
|
11
|
-
const b = v
|
|
12
|
-
.position-picker__column {
|
|
13
|
-
width: fit-content;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
.position-picker__column::part(base) {
|
|
17
|
-
display: flex;
|
|
18
|
-
flex-direction: column;
|
|
19
|
-
align-items: center;
|
|
20
|
-
justify-content: center;
|
|
21
|
-
gap: var(--cx-spacing-x-small);
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
.position-picker__radio {
|
|
25
|
-
--checked-color: var(--cx-color-neutral-0);
|
|
26
|
-
--checked-border-color: var(--cx-color-neutral-0);
|
|
27
|
-
--checked-background-color: var(--cx-color-primary);
|
|
28
|
-
--checked-hover-border-color: var(--cx-color-neutral-0);
|
|
29
|
-
--checked-hover-background-color: var(--cx-color-primary);
|
|
30
|
-
}
|
|
31
|
-
`;
|
|
11
|
+
const b = v`.position-picker__column{width:fit-content}.position-picker__column::part(base){justify-content:center;align-items:center;gap:var(--cx-spacing-x-small);flex-direction:column;display:flex}.position-picker__radio{--checked-color:var(--cx-color-neutral-0);--checked-border-color:var(--cx-color-neutral-0);--checked-background-color:var(--cx-color-primary);--checked-hover-border-color:var(--cx-color-neutral-0);--checked-hover-background-color:var(--cx-color-primary)}`;
|
|
32
12
|
var k = Object.defineProperty, $ = Object.getOwnPropertyDescriptor, n = (e, t, a, c) => {
|
|
33
13
|
for (var o = c > 1 ? void 0 : c ? $(t, a) : t, l = e.length - 1, s; l >= 0; l--)
|
|
34
14
|
(s = e[l]) && (o = (c ? s(t, a, o) : s(o)) || o);
|
|
@@ -43,77 +23,7 @@ let i = class extends u {
|
|
|
43
23
|
this.value = t.value;
|
|
44
24
|
}
|
|
45
25
|
render() {
|
|
46
|
-
return C`<div class="position-picker"
|
|
47
|
-
<cx-radio-group
|
|
48
|
-
value=${this.value}
|
|
49
|
-
name="position"
|
|
50
|
-
.form=${this.closest("form")}
|
|
51
|
-
@cx-change=${this.handleChange}
|
|
52
|
-
>
|
|
53
|
-
<cx-grid columns="3" spacing="var(--cx-spacing-small)">
|
|
54
|
-
<cx-grid-item xs="1" class="position-picker__column">
|
|
55
|
-
<cx-radio
|
|
56
|
-
class="position-picker__radio"
|
|
57
|
-
value=${r.TopLeft}
|
|
58
|
-
checked-icon-radius="3"
|
|
59
|
-
aria-label=${this.localize.term("topLeft")}
|
|
60
|
-
></cx-radio>
|
|
61
|
-
<cx-radio
|
|
62
|
-
class="position-picker__radio"
|
|
63
|
-
value=${r.CenterLeft}
|
|
64
|
-
checked-icon-radius="3"
|
|
65
|
-
aria-label=${this.localize.term("centerLeft")}
|
|
66
|
-
></cx-radio>
|
|
67
|
-
<cx-radio
|
|
68
|
-
class="position-picker__radio"
|
|
69
|
-
value=${r.BottomLeft}
|
|
70
|
-
checked-icon-radius="3"
|
|
71
|
-
aria-label=${this.localize.term("bottomLeft")}
|
|
72
|
-
></cx-radio>
|
|
73
|
-
</cx-grid-item>
|
|
74
|
-
<cx-grid-item xs="1" class="position-picker__column">
|
|
75
|
-
<cx-radio
|
|
76
|
-
class="position-picker__radio"
|
|
77
|
-
value=${r.TopCenter}
|
|
78
|
-
checked-icon-radius="3"
|
|
79
|
-
aria-label=${this.localize.term("topCenter")}
|
|
80
|
-
></cx-radio>
|
|
81
|
-
<cx-radio
|
|
82
|
-
class="position-picker__radio"
|
|
83
|
-
value=${r.CenterCenter}
|
|
84
|
-
checked-icon-radius="3"
|
|
85
|
-
aria-label=${this.localize.term("centerCenter")}
|
|
86
|
-
></cx-radio>
|
|
87
|
-
<cx-radio
|
|
88
|
-
class="position-picker__radio"
|
|
89
|
-
value=${r.BottomCenter}
|
|
90
|
-
checked-icon-radius="3"
|
|
91
|
-
aria-label=${this.localize.term("bottomCenter")}
|
|
92
|
-
></cx-radio>
|
|
93
|
-
</cx-grid-item>
|
|
94
|
-
<cx-grid-item xs="1" class="position-picker__column">
|
|
95
|
-
<cx-radio
|
|
96
|
-
class="position-picker__radio"
|
|
97
|
-
value=${r.TopRight}
|
|
98
|
-
checked-icon-radius="3"
|
|
99
|
-
aria-label=${this.localize.term("topRight")}
|
|
100
|
-
></cx-radio>
|
|
101
|
-
<cx-radio
|
|
102
|
-
class="position-picker__radio"
|
|
103
|
-
value=${r.CenterRight}
|
|
104
|
-
checked-icon-radius="3"
|
|
105
|
-
aria-label=${this.localize.term("centerRight")}
|
|
106
|
-
></cx-radio>
|
|
107
|
-
<cx-radio
|
|
108
|
-
class="position-picker__radio"
|
|
109
|
-
value=${r.BottomRight}
|
|
110
|
-
checked-icon-radius="3"
|
|
111
|
-
aria-label=${this.localize.term("bottomRight")}
|
|
112
|
-
></cx-radio>
|
|
113
|
-
</cx-grid-item>
|
|
114
|
-
</cx-grid>
|
|
115
|
-
</cx-radio-group>
|
|
116
|
-
</div>`;
|
|
26
|
+
return C`<div class="position-picker"><cx-radio-group value=${this.value} name="position" .form=${this.closest("form")} @cx-change=${this.handleChange}><cx-grid columns="3" spacing="var(--cx-spacing-small)"><cx-grid-item xs="1" class="position-picker__column"><cx-radio class="position-picker__radio" value=${r.TopLeft} checked-icon-radius="3" aria-label=${this.localize.term("topLeft")}></cx-radio><cx-radio class="position-picker__radio" value=${r.CenterLeft} checked-icon-radius="3" aria-label=${this.localize.term("centerLeft")}></cx-radio><cx-radio class="position-picker__radio" value=${r.BottomLeft} checked-icon-radius="3" aria-label=${this.localize.term("bottomLeft")}></cx-radio></cx-grid-item><cx-grid-item xs="1" class="position-picker__column"><cx-radio class="position-picker__radio" value=${r.TopCenter} checked-icon-radius="3" aria-label=${this.localize.term("topCenter")}></cx-radio><cx-radio class="position-picker__radio" value=${r.CenterCenter} checked-icon-radius="3" aria-label=${this.localize.term("centerCenter")}></cx-radio><cx-radio class="position-picker__radio" value=${r.BottomCenter} checked-icon-radius="3" aria-label=${this.localize.term("bottomCenter")}></cx-radio></cx-grid-item><cx-grid-item xs="1" class="position-picker__column"><cx-radio class="position-picker__radio" value=${r.TopRight} checked-icon-radius="3" aria-label=${this.localize.term("topRight")}></cx-radio><cx-radio class="position-picker__radio" value=${r.CenterRight} checked-icon-radius="3" aria-label=${this.localize.term("centerRight")}></cx-radio><cx-radio class="position-picker__radio" value=${r.BottomRight} checked-icon-radius="3" aria-label=${this.localize.term("bottomRight")}></cx-radio></cx-grid-item></cx-grid></cx-radio-group></div>`;
|
|
117
27
|
}
|
|
118
28
|
};
|
|
119
29
|
i.styles = [g, b];
|
|
@@ -1,162 +1,45 @@
|
|
|
1
1
|
import { n as i, C as d } from "../chunks/lib-cortex-element.CVMmyPMC.js";
|
|
2
|
-
import { c as
|
|
3
|
-
import { c as
|
|
4
|
-
import { L as b } from "../chunks/i18n.
|
|
2
|
+
import { c as h } from "../chunks/component.styles.CRO4Odto.js";
|
|
3
|
+
import { c as m } from "../chunks/custom-element.L4WJXn1j.js";
|
|
4
|
+
import { L as b } from "../chunks/i18n.BFqTRDCA.js";
|
|
5
5
|
import { i as g, x as c } from "../chunks/lit-element.jLBm65_O.js";
|
|
6
6
|
import { e as u } from "../chunks/class-map.BiVq-cVR.js";
|
|
7
7
|
import { o as v } from "../chunks/if-defined.BRoBj_Rp.js";
|
|
8
8
|
import { o as f } from "../chunks/style-map.llVFPd__.js";
|
|
9
|
-
const w = g
|
|
10
|
-
:host {
|
|
11
|
-
--height: 1rem;
|
|
12
|
-
--track-color: var(--cx-color-neutral-200);
|
|
13
|
-
--indicator-color: var(--cx-color-primary);
|
|
14
|
-
--label-color: var(--cx-color-neutral);
|
|
15
|
-
--indicator-label-color: var(--cx-color-neutral-0);
|
|
16
|
-
|
|
17
|
-
display: block;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
.progress-bar-label {
|
|
21
|
-
align-items: center;
|
|
22
|
-
color: var(--label-color);
|
|
23
|
-
display: flex;
|
|
24
|
-
font-size: var(--cx-font-size-small);
|
|
25
|
-
font-weight: var(--cx-font-weight-medium);
|
|
26
|
-
justify-content: space-between;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
.progress-bar {
|
|
30
|
-
position: relative;
|
|
31
|
-
background-color: var(--track-color);
|
|
32
|
-
height: var(--height);
|
|
33
|
-
border-radius: var(--cx-border-radius-pill);
|
|
34
|
-
box-shadow: inset var(--cx-shadow-small);
|
|
35
|
-
overflow: hidden;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
.progress-bar__indicator {
|
|
39
|
-
height: 100%;
|
|
40
|
-
font-family: var(--cx-font-sans);
|
|
41
|
-
font-size: 12px;
|
|
42
|
-
font-weight: var(--cx-font-weight-regular);
|
|
43
|
-
background-color: var(--indicator-color);
|
|
44
|
-
color: var(--indicator-label-color);
|
|
45
|
-
text-align: center;
|
|
46
|
-
line-height: var(--height);
|
|
47
|
-
white-space: nowrap;
|
|
48
|
-
overflow: hidden;
|
|
49
|
-
transition:
|
|
50
|
-
400ms width,
|
|
51
|
-
400ms background-color;
|
|
52
|
-
user-select: none;
|
|
53
|
-
-webkit-user-select: none;
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
/* Indeterminate */
|
|
57
|
-
.progress-bar--indeterminate .progress-bar__indicator {
|
|
58
|
-
position: absolute;
|
|
59
|
-
animation: indeterminate 2.5s infinite cubic-bezier(0.37, 0, 0.63, 1);
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
.progress-bar--indeterminate.progress-bar--rtl .progress-bar__indicator {
|
|
63
|
-
animation-name: indeterminate-rtl;
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
@media (forced-colors: active) {
|
|
67
|
-
.progress-bar {
|
|
68
|
-
outline: solid 1px SelectedItem;
|
|
69
|
-
background-color: var(--cx-color-neutral-0);
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
.progress-bar__indicator {
|
|
73
|
-
outline: solid 1px SelectedItem;
|
|
74
|
-
background-color: SelectedItem;
|
|
75
|
-
}
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
@keyframes indeterminate {
|
|
79
|
-
0% {
|
|
80
|
-
left: -50%;
|
|
81
|
-
width: 50%;
|
|
82
|
-
}
|
|
83
|
-
75%,
|
|
84
|
-
100% {
|
|
85
|
-
left: 100%;
|
|
86
|
-
width: 50%;
|
|
87
|
-
}
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
@keyframes indeterminate-rtl {
|
|
91
|
-
0% {
|
|
92
|
-
right: -50%;
|
|
93
|
-
width: 50%;
|
|
94
|
-
}
|
|
95
|
-
75%,
|
|
96
|
-
100% {
|
|
97
|
-
right: 100%;
|
|
98
|
-
width: 50%;
|
|
99
|
-
}
|
|
100
|
-
}
|
|
101
|
-
`;
|
|
9
|
+
const w = g`:host{--height:1rem;--track-color:var(--cx-color-neutral-200);--indicator-color:var(--cx-color-primary);--label-color:var(--cx-color-neutral);--indicator-label-color:var(--cx-color-neutral-0);display:block}.progress-bar-label{color:var(--label-color);font-size:var(--cx-font-size-small);font-weight:var(--cx-font-weight-medium);justify-content:space-between;align-items:center;display:flex}.progress-bar{background-color:var(--track-color);height:var(--height);border-radius:var(--cx-border-radius-pill);box-shadow:inset var(--cx-shadow-small);position:relative;overflow:hidden}.progress-bar__indicator{height:100%;font-family:var(--cx-font-sans);font-size:12px;font-weight:var(--cx-font-weight-regular);background-color:var(--indicator-color);color:var(--indicator-label-color);text-align:center;line-height:var(--height);white-space:nowrap;-webkit-user-select:none;user-select:none;transition:width .4s,background-color .4s;overflow:hidden}.progress-bar--indeterminate .progress-bar__indicator{animation:2.5s cubic-bezier(.37,0,.63,1) infinite indeterminate;position:absolute}.progress-bar--indeterminate.progress-bar--rtl .progress-bar__indicator{animation-name:indeterminate-rtl}@media (forced-colors:active){.progress-bar{background-color:var(--cx-color-neutral-0);outline:1px solid selecteditem}.progress-bar__indicator{background-color:selecteditem;outline:1px solid selecteditem}}@keyframes indeterminate{0%{width:50%;left:-50%}75%,to{width:50%;left:100%}}@keyframes indeterminate-rtl{0%{width:50%;right:-50%}75%,to{width:50%;right:100%}}`;
|
|
102
10
|
var x = Object.defineProperty, y = Object.getOwnPropertyDescriptor, t = (p, o, s, a) => {
|
|
103
|
-
for (var
|
|
104
|
-
(n = p[l]) && (
|
|
105
|
-
return a &&
|
|
11
|
+
for (var r = a > 1 ? void 0 : a ? y(o, s) : o, l = p.length - 1, n; l >= 0; l--)
|
|
12
|
+
(n = p[l]) && (r = (a ? n(o, s, r) : n(r)) || r);
|
|
13
|
+
return a && r && x(o, s, r), r;
|
|
106
14
|
};
|
|
107
|
-
let
|
|
15
|
+
let e = class extends d {
|
|
108
16
|
constructor() {
|
|
109
17
|
super(...arguments), this.localize = new b(this), this.value = 0, this.indeterminate = !1, this.label = "", this.showProgress = "";
|
|
110
18
|
}
|
|
111
19
|
render() {
|
|
112
|
-
return c
|
|
113
|
-
<div part="container" class="container">
|
|
114
|
-
<div part="label" class="progress-bar-label">
|
|
115
|
-
<slot name="label"><span>${this.label}</span></slot>
|
|
116
|
-
${this.showProgress ? c`<span>${this.value || 0}%</span>` : ""}
|
|
117
|
-
</div>
|
|
118
|
-
<div
|
|
119
|
-
part="base"
|
|
120
|
-
class=${u({
|
|
20
|
+
return c`<div part="container" class="container"><div part="label" class="progress-bar-label"><slot name="label"><span>${this.label}</span></slot>${this.showProgress ? c`<span>${this.value || 0}%</span>` : ""}</div><div part="base" class=${u({
|
|
121
21
|
"progress-bar": !0,
|
|
122
22
|
"progress-bar--indeterminate": this.indeterminate,
|
|
123
23
|
"progress-bar--rtl": this.localize.dir() === "rtl"
|
|
124
|
-
})}
|
|
125
|
-
role="progressbar"
|
|
126
|
-
title=${v(this.title)}
|
|
127
|
-
aria-label=${this.label.length > 0 ? this.label : this.localize.term("progress")}
|
|
128
|
-
aria-valuemin="0"
|
|
129
|
-
aria-valuemax="100"
|
|
130
|
-
aria-valuenow=${this.indeterminate ? 0 : this.value}
|
|
131
|
-
>
|
|
132
|
-
<div
|
|
133
|
-
part="indicator"
|
|
134
|
-
class="progress-bar__indicator"
|
|
135
|
-
style=${f({ width: `${this.value || 0}%` })}
|
|
136
|
-
>
|
|
137
|
-
${this.indeterminate ? "" : c` <slot part="label" class="progress-bar__label"></slot> `}
|
|
138
|
-
</div>
|
|
139
|
-
</div>
|
|
140
|
-
</div>
|
|
141
|
-
`;
|
|
24
|
+
})} role="progressbar" title=${v(this.title)} aria-label=${this.label.length > 0 ? this.label : this.localize.term("progress")} aria-valuemin="0" aria-valuemax="100" aria-valuenow=${this.indeterminate ? 0 : this.value}><div part="indicator" class="progress-bar__indicator" style=${f({ width: `${this.value || 0}%` })}>${this.indeterminate ? "" : c`<slot part="label" class="progress-bar__label"></slot>`}</div></div></div>`;
|
|
142
25
|
}
|
|
143
26
|
};
|
|
144
|
-
|
|
27
|
+
e.styles = [h, w];
|
|
145
28
|
t([
|
|
146
29
|
i({ reflect: !0, type: Number })
|
|
147
|
-
],
|
|
30
|
+
], e.prototype, "value", 2);
|
|
148
31
|
t([
|
|
149
32
|
i({ reflect: !0, type: Boolean })
|
|
150
|
-
],
|
|
33
|
+
], e.prototype, "indeterminate", 2);
|
|
151
34
|
t([
|
|
152
35
|
i({ reflect: !0, type: String })
|
|
153
|
-
],
|
|
36
|
+
], e.prototype, "label", 2);
|
|
154
37
|
t([
|
|
155
38
|
i({ attribute: "show-progress", reflect: !0, type: Boolean })
|
|
156
|
-
],
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
],
|
|
39
|
+
], e.prototype, "showProgress", 2);
|
|
40
|
+
e = t([
|
|
41
|
+
m("cx-progress-bar")
|
|
42
|
+
], e);
|
|
160
43
|
export {
|
|
161
|
-
|
|
44
|
+
e as default
|
|
162
45
|
};
|
|
@@ -1,80 +1,11 @@
|
|
|
1
1
|
import { n as l, C as p } 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 g } from "../chunks/custom-element.L4WJXn1j.js";
|
|
4
|
-
import { L as u } from "../chunks/i18n.
|
|
4
|
+
import { L as u } from "../chunks/i18n.BFqTRDCA.js";
|
|
5
5
|
import { i as f, x as v } from "../chunks/lit-element.jLBm65_O.js";
|
|
6
6
|
import { r as m } from "../chunks/state.CSDxrqLd.js";
|
|
7
7
|
import { e as h } from "../chunks/query.BBf1UFkC.js";
|
|
8
|
-
const _ = f
|
|
9
|
-
:host {
|
|
10
|
-
--size: 128px;
|
|
11
|
-
--track-width: 4px;
|
|
12
|
-
--track-color: var(--cx-color-neutral-200);
|
|
13
|
-
--indicator-width: var(--track-width);
|
|
14
|
-
--indicator-color: var(--cx-color-primary);
|
|
15
|
-
--indicator-transition-duration: 0.35s;
|
|
16
|
-
|
|
17
|
-
display: inline-flex;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
.progress-ring {
|
|
21
|
-
display: inline-flex;
|
|
22
|
-
align-items: center;
|
|
23
|
-
justify-content: center;
|
|
24
|
-
position: relative;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
.progress-ring__image {
|
|
28
|
-
width: var(--size);
|
|
29
|
-
height: var(--size);
|
|
30
|
-
rotate: -90deg;
|
|
31
|
-
transform-origin: 50% 50%;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
.progress-ring__track,
|
|
35
|
-
.progress-ring__indicator {
|
|
36
|
-
--radius: calc(
|
|
37
|
-
var(--size) / 2 - max(var(--track-width), var(--indicator-width)) * 0.5
|
|
38
|
-
);
|
|
39
|
-
--circumference: calc(var(--radius) * 2 * 3.141592654);
|
|
40
|
-
|
|
41
|
-
fill: none;
|
|
42
|
-
r: var(--radius);
|
|
43
|
-
cx: calc(var(--size) / 2);
|
|
44
|
-
cy: calc(var(--size) / 2);
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
.progress-ring__track {
|
|
48
|
-
stroke: var(--track-color);
|
|
49
|
-
stroke-width: var(--track-width);
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
.progress-ring__indicator {
|
|
53
|
-
stroke: var(--indicator-color);
|
|
54
|
-
stroke-width: var(--indicator-width);
|
|
55
|
-
stroke-linecap: round;
|
|
56
|
-
transition-property: stroke-dashoffset;
|
|
57
|
-
transition-duration: var(--indicator-transition-duration);
|
|
58
|
-
stroke-dasharray: var(--circumference) var(--circumference);
|
|
59
|
-
stroke-dashoffset: calc(
|
|
60
|
-
var(--circumference) - var(--percentage) * var(--circumference)
|
|
61
|
-
);
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
.progress-ring__label {
|
|
65
|
-
display: flex;
|
|
66
|
-
align-items: center;
|
|
67
|
-
justify-content: center;
|
|
68
|
-
position: absolute;
|
|
69
|
-
top: 0;
|
|
70
|
-
left: 0;
|
|
71
|
-
width: 100%;
|
|
72
|
-
height: 100%;
|
|
73
|
-
text-align: center;
|
|
74
|
-
user-select: none;
|
|
75
|
-
-webkit-user-select: none;
|
|
76
|
-
}
|
|
77
|
-
`;
|
|
8
|
+
const _ = f`:host{--size:128px;--track-width:4px;--track-color:var(--cx-color-neutral-200);--indicator-width:var(--track-width);--indicator-color:var(--cx-color-primary);--indicator-transition-duration:.35s;display:inline-flex}.progress-ring{justify-content:center;align-items:center;display:inline-flex;position:relative}.progress-ring__image{width:var(--size);height:var(--size);transform-origin:50%;rotate:-90deg}.progress-ring__track,.progress-ring__indicator{--radius:calc(var(--size) / 2 - max(var(--track-width), var(--indicator-width)) * .5);--circumference:calc(var(--radius) * 2 * 3.14159);fill:none;r:var(--radius);cx:calc(var(--size) / 2);cy:calc(var(--size) / 2)}.progress-ring__track{stroke:var(--track-color);stroke-width:var(--track-width)}.progress-ring__indicator{stroke:var(--indicator-color);stroke-width:var(--indicator-width);stroke-linecap:round;transition-property:stroke-dashoffset;transition-duration:var(--indicator-transition-duration);stroke-dasharray:var(--circumference) var(--circumference);stroke-dashoffset:calc(var(--circumference) - var(--percentage) * var(--circumference))}.progress-ring__label{text-align:center;-webkit-user-select:none;user-select:none;justify-content:center;align-items:center;width:100%;height:100%;display:flex;position:absolute;top:0;left:0}`;
|
|
78
9
|
var y = Object.defineProperty, b = Object.getOwnPropertyDescriptor, o = (s, t, i, a) => {
|
|
79
10
|
for (var r = a > 1 ? void 0 : a ? b(t, i) : t, c = s.length - 1, n; c >= 0; c--)
|
|
80
11
|
(n = s[c]) && (r = (a ? n(t, i, r) : n(r)) || r);
|
|
@@ -93,29 +24,7 @@ let e = class extends p {
|
|
|
93
24
|
}
|
|
94
25
|
}
|
|
95
26
|
render() {
|
|
96
|
-
return v
|
|
97
|
-
<div
|
|
98
|
-
part="base"
|
|
99
|
-
class="progress-ring"
|
|
100
|
-
role="progressbar"
|
|
101
|
-
aria-label=${this.label.length > 0 ? this.label : this.localize.term("progress")}
|
|
102
|
-
aria-describedby="label"
|
|
103
|
-
aria-valuemin="0"
|
|
104
|
-
aria-valuemax="100"
|
|
105
|
-
aria-valuenow=${this.value}
|
|
106
|
-
style="--percentage: ${this.value / 100}"
|
|
107
|
-
>
|
|
108
|
-
<svg class="progress-ring__image">
|
|
109
|
-
<circle class="progress-ring__track"></circle>
|
|
110
|
-
<circle
|
|
111
|
-
class="progress-ring__indicator"
|
|
112
|
-
style="stroke-dashoffset: ${this.indicatorOffset}"
|
|
113
|
-
></circle>
|
|
114
|
-
</svg>
|
|
115
|
-
|
|
116
|
-
<slot id="label" part="label" class="progress-ring__label"></slot>
|
|
117
|
-
</div>
|
|
118
|
-
`;
|
|
27
|
+
return v`<div part="base" class="progress-ring" role="progressbar" aria-label=${this.label.length > 0 ? this.label : this.localize.term("progress")} aria-describedby="label" aria-valuemin="0" aria-valuemax="100" aria-valuenow=${this.value} style="--percentage: ${this.value / 100}"><svg class="progress-ring__image"><circle class="progress-ring__track"></circle><circle class="progress-ring__indicator" style="stroke-dashoffset: ${this.indicatorOffset}"></circle></svg><slot id="label" part="label" class="progress-ring__label"></slot></div>`;
|
|
119
28
|
}
|
|
120
29
|
};
|
|
121
30
|
e.styles = [d, _];
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as Q, C as R } from "../chunks/lib-cortex-element.CVMmyPMC.js";
|
|
2
|
-
import { c as $ } from "../chunks/component.styles.
|
|
2
|
+
import { c as $ } from "../chunks/component.styles.CRO4Odto.js";
|
|
3
3
|
import { c as B } from "../chunks/custom-element.L4WJXn1j.js";
|
|
4
|
-
import { w as V } from "../chunks/watch.
|
|
4
|
+
import { w as V } from "../chunks/watch.BCJD77bD.js";
|
|
5
5
|
import { i as J, x as U } from "../chunks/lit-element.jLBm65_O.js";
|
|
6
6
|
import { e as I } from "../chunks/query.BBf1UFkC.js";
|
|
7
7
|
import { o as K } from "../chunks/style-map.llVFPd__.js";
|
|
@@ -530,11 +530,7 @@ self.QrCreator = N;
|
|
|
530
530
|
}();
|
|
531
531
|
return O;
|
|
532
532
|
}());
|
|
533
|
-
const D = QrCreator, F = J
|
|
534
|
-
:host {
|
|
535
|
-
display: inline-block;
|
|
536
|
-
}
|
|
537
|
-
`;
|
|
533
|
+
const D = QrCreator, F = J`:host{display:inline-block}`;
|
|
538
534
|
var W = Object.defineProperty, X = Object.getOwnPropertyDescriptor, L = (P, T, O, g) => {
|
|
539
535
|
for (var d = g > 1 ? void 0 : g ? X(T, O) : T, w = P.length - 1, A; w >= 0; w--)
|
|
540
536
|
(A = P[w]) && (d = (g ? A(T, O, d) : A(d)) || d);
|
|
@@ -562,18 +558,10 @@ let m = class extends R {
|
|
|
562
558
|
);
|
|
563
559
|
}
|
|
564
560
|
render() {
|
|
565
|
-
return U
|
|
566
|
-
<canvas
|
|
567
|
-
part="base"
|
|
568
|
-
class="qr-code"
|
|
569
|
-
role="img"
|
|
570
|
-
aria-label=${this.label?.length > 0 ? this.label : this.value}
|
|
571
|
-
style=${K({
|
|
561
|
+
return U`<canvas part="base" class="qr-code" role="img" aria-label=${this.label?.length > 0 ? this.label : this.value} style=${K({
|
|
572
562
|
height: `${this.size}px`,
|
|
573
563
|
width: `${this.size}px`
|
|
574
|
-
})}
|
|
575
|
-
></canvas>
|
|
576
|
-
`;
|
|
564
|
+
})}></canvas>`;
|
|
577
565
|
}
|
|
578
566
|
};
|
|
579
567
|
m.styles = [$, F];
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { n as i, C as d } from "../chunks/lib-cortex-element.CVMmyPMC.js";
|
|
2
|
-
import { c } from "../chunks/component.styles.
|
|
2
|
+
import { c } from "../chunks/component.styles.CRO4Odto.js";
|
|
3
3
|
import { c as b } from "../chunks/custom-element.L4WJXn1j.js";
|
|
4
4
|
import { H as f } from "../chunks/slot.j5oheLJC.js";
|
|
5
|
-
import { w as m } from "../chunks/watch.
|
|
5
|
+
import { w as m } from "../chunks/watch.BCJD77bD.js";
|
|
6
6
|
import { r as x } from "../chunks/state.CSDxrqLd.js";
|
|
7
7
|
import { e as p } from "../chunks/query.BBf1UFkC.js";
|
|
8
8
|
import { e as y } from "../chunks/class-map.BiVq-cVR.js";
|
|
9
9
|
import { o as h } from "../chunks/if-defined.BRoBj_Rp.js";
|
|
10
10
|
import { u as _ } from "../chunks/static.UA3G1Deq.js";
|
|
11
11
|
import { i as C } from "../chunks/lit-element.jLBm65_O.js";
|
|
12
|
-
import { b as v } from "../chunks/button.styles.
|
|
12
|
+
import { b as v } from "../chunks/button.styles.CKqn956w.js";
|
|
13
13
|
const w = C`
|
|
14
14
|
${v}
|
|
15
15
|
|
|
@@ -77,14 +77,7 @@ let t = class extends d {
|
|
|
77
77
|
this.input.blur();
|
|
78
78
|
}
|
|
79
79
|
render() {
|
|
80
|
-
return _`
|
|
81
|
-
<div part="base" role="presentation">
|
|
82
|
-
<button
|
|
83
|
-
part=${`button${this.checked ? " button--checked" : ""}`}
|
|
84
|
-
role="radio"
|
|
85
|
-
aria-checked=${this.checked}
|
|
86
|
-
aria-label=${h(this.label || void 0)}
|
|
87
|
-
class=${y({
|
|
80
|
+
return _`<div part="base" role="presentation"><button part=${`button${this.checked ? " button--checked" : ""}`} role="radio" aria-checked=${this.checked} aria-label=${h(this.label || void 0)} class=${y({
|
|
88
81
|
button: !0,
|
|
89
82
|
"button--checked": this.checked,
|
|
90
83
|
"button--default": !0,
|
|
@@ -98,20 +91,7 @@ let t = class extends d {
|
|
|
98
91
|
"button--outline": !0,
|
|
99
92
|
"button--pill": this.pill,
|
|
100
93
|
"button--small": this.size === "small"
|
|
101
|
-
})}
|
|
102
|
-
aria-disabled=${this.disabled}
|
|
103
|
-
type="button"
|
|
104
|
-
value=${h(this.value)}
|
|
105
|
-
@blur=${this.handleBlur}
|
|
106
|
-
@focus=${this.handleFocus}
|
|
107
|
-
@click=${this.handleClick}
|
|
108
|
-
>
|
|
109
|
-
<slot name="prefix" part="prefix" class="button__prefix"></slot>
|
|
110
|
-
<slot part="label" class="button__label"></slot>
|
|
111
|
-
<slot name="suffix" part="suffix" class="button__suffix"></slot>
|
|
112
|
-
</button>
|
|
113
|
-
</div>
|
|
114
|
-
`;
|
|
94
|
+
})} aria-disabled=${this.disabled} type="button" value=${h(this.value)} @blur=${this.handleBlur} @focus=${this.handleFocus} @click=${this.handleClick}><slot name="prefix" part="prefix" class="button__prefix"></slot><slot part="label" class="button__label"></slot><slot name="suffix" part="suffix" class="button__suffix"></slot></button></div>`;
|
|
115
95
|
}
|
|
116
96
|
};
|
|
117
97
|
t.styles = [c, w];
|