@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,20 +1,20 @@
|
|
|
1
|
-
import { G as A, r as T, C as b, b as H, L as X, T as Y, R as Z, m as I, aw as j, a as N, f as k, x as y, H as J, ak as x, e as q, h as V, j as z, E as B } from "./am-chart.
|
|
2
|
-
import { ay as it, aJ as rt, B as ot, aT as nt, aS as ht, aE as lt, al as ct, az as gt, ae as dt, a2 as pt, aM as mt, ag as ft, aN as ut, aA as yt, aB as _t, aO as xt, aC as Ct, an as wt, aL as Pt, M as kt, aP as bt, P as Nt, aK as Lt, aD as Dt, w as Tt, a8 as vt, aF as Mt, J as Rt, S as Gt, n as St, aR as Ot, D as Wt, aG as Ft, aI as Ht, aH as It, d as At, aQ as Vt, q as zt, ax as Bt } from "./am-chart.
|
|
3
|
-
import { B as Xt, E as Yt, L as Zt, M as jt, S as Jt } from "./SpriteResizer.
|
|
4
|
-
import { L as K } from "./ProgressPie.
|
|
5
|
-
import { C as Kt, a as Qt, N as Ut, O as $t, P as te } from "./ProgressPie.
|
|
6
|
-
import { C as se } from "./Circle.
|
|
7
|
-
import { P as ie } from "./Polygon.
|
|
8
|
-
import { a as oe, Z as ne } from "./ZoomTools.
|
|
9
|
-
import { L as Q } from "./LinearGradient.
|
|
10
|
-
import { E as le } from "./EditableLabel.
|
|
11
|
-
import { P as ge } from "./Picture.
|
|
12
|
-
import { R as pe, a as me } from "./RadialLabel.
|
|
13
|
-
import { T as ue } from "./Triangle.
|
|
14
|
-
import { S as _e } from "./Scrollbar.
|
|
15
|
-
import { S as Ce } from "./Slider.
|
|
16
|
-
import { S as Pe } from "./Slice.
|
|
17
|
-
import { G as E } from "./Gradient.
|
|
1
|
+
import { G as A, r as T, C as b, b as H, L as X, T as Y, R as Z, m as I, aw as j, a as N, f as k, x as y, H as J, ak as x, e as q, h as V, j as z, E as B } from "./am-chart.H2jnOzFc.js";
|
|
2
|
+
import { ay as it, aJ as rt, B as ot, aT as nt, aS as ht, aE as lt, al as ct, az as gt, ae as dt, a2 as pt, aM as mt, ag as ft, aN as ut, aA as yt, aB as _t, aO as xt, aC as Ct, an as wt, aL as Pt, M as kt, aP as bt, P as Nt, aK as Lt, aD as Dt, w as Tt, a8 as vt, aF as Mt, J as Rt, S as Gt, n as St, aR as Ot, D as Wt, aG as Ft, aI as Ht, aH as It, d as At, aQ as Vt, q as zt, ax as Bt } from "./am-chart.H2jnOzFc.js";
|
|
3
|
+
import { B as Xt, E as Yt, L as Zt, M as jt, S as Jt } from "./SpriteResizer.DFnmcy0h.js";
|
|
4
|
+
import { L as K } from "./ProgressPie.DlCwXN17.js";
|
|
5
|
+
import { C as Kt, a as Qt, N as Ut, O as $t, P as te } from "./ProgressPie.DlCwXN17.js";
|
|
6
|
+
import { C as se } from "./Circle.DBa5Ok8V.js";
|
|
7
|
+
import { P as ie } from "./Polygon.BwMvXN2H.js";
|
|
8
|
+
import { a as oe, Z as ne } from "./ZoomTools.D5JPehoL.js";
|
|
9
|
+
import { L as Q } from "./LinearGradient.B1z9AGUt.js";
|
|
10
|
+
import { E as le } from "./EditableLabel.BWeq6fgX.js";
|
|
11
|
+
import { P as ge } from "./Picture.YSPC0l0Q.js";
|
|
12
|
+
import { R as pe, a as me } from "./RadialLabel.DyVOf2K8.js";
|
|
13
|
+
import { T as ue } from "./Triangle.BaOef7HV.js";
|
|
14
|
+
import { S as _e } from "./Scrollbar.BdZVb_Z-.js";
|
|
15
|
+
import { S as Ce } from "./Slider.C20No2z5.js";
|
|
16
|
+
import { S as Pe } from "./Slice.DiEswWa6.js";
|
|
17
|
+
import { G as E } from "./Gradient.CdcsPIru.js";
|
|
18
18
|
class v extends A {
|
|
19
19
|
_beforeChanged() {
|
|
20
20
|
super._beforeChanged(), (this.isDirty("radius") || this.isDirty("innerRadius") || this.isDirty("spikes")) && (this._clear = !0);
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
var f = typeof global == "object" && global && global.Object === Object && global, l = typeof self == "object" && self && self.Object === Object && self, g = f || l || Function("return this")(), n = g.Symbol, a = Object.prototype, s = a.hasOwnProperty, j = a.toString, e = n ? n.toStringTag : void 0;
|
|
2
|
+
function u(t) {
|
|
3
|
+
var r = s.call(t, e), i = t[e];
|
|
4
|
+
try {
|
|
5
|
+
t[e] = void 0;
|
|
6
|
+
var c = !0;
|
|
7
|
+
} catch {
|
|
8
|
+
}
|
|
9
|
+
var b = j.call(t);
|
|
10
|
+
return c && (r ? t[e] = i : delete t[e]), b;
|
|
11
|
+
}
|
|
12
|
+
var y = Object.prototype, O = y.toString;
|
|
13
|
+
function d(t) {
|
|
14
|
+
return O.call(t);
|
|
15
|
+
}
|
|
16
|
+
var S = "[object Null]", T = "[object Undefined]", o = n ? n.toStringTag : void 0;
|
|
17
|
+
function v(t) {
|
|
18
|
+
return t == null ? t === void 0 ? T : S : o && o in Object(t) ? u(t) : d(t);
|
|
19
|
+
}
|
|
20
|
+
function h(t) {
|
|
21
|
+
var r = typeof t;
|
|
22
|
+
return t != null && (r == "object" || r == "function");
|
|
23
|
+
}
|
|
24
|
+
function m(t) {
|
|
25
|
+
return t != null && typeof t == "object";
|
|
26
|
+
}
|
|
27
|
+
export {
|
|
28
|
+
n as S,
|
|
29
|
+
h as a,
|
|
30
|
+
v as b,
|
|
31
|
+
f,
|
|
32
|
+
m as i,
|
|
33
|
+
g as r
|
|
34
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { E as d, ab as z, e as p, aL as y, y as c, T as o, az as b, f as S, P as m, bq as u, a as O, a9 as x, z as h } from "./am-chart.
|
|
2
|
-
import { bs as C } from "./am-chart.
|
|
3
|
-
import { G as k } from "./Gradient.
|
|
1
|
+
import { E as d, ab as z, e as p, aL as y, y as c, T as o, az as b, f as S, P as m, bq as u, a as O, a9 as x, z as h } from "./am-chart.H2jnOzFc.js";
|
|
2
|
+
import { bs as C } from "./am-chart.H2jnOzFc.js";
|
|
3
|
+
import { G as k } from "./Gradient.CdcsPIru.js";
|
|
4
4
|
class _ extends d {
|
|
5
5
|
constructor() {
|
|
6
6
|
super(...arguments), this._refs = {};
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import { C as _ } from "./button.
|
|
2
|
-
import { C as q, D as G } from "./dialog.
|
|
1
|
+
import { C as _ } from "./button.CauAHfdl.js";
|
|
2
|
+
import { C as q, D as G } from "./dialog.2UW1LNm1.js";
|
|
3
3
|
import j from "../components/grid.js";
|
|
4
4
|
import P from "../components/grid-item.js";
|
|
5
5
|
import S from "../components/input.js";
|
|
6
6
|
import R from "../components/line-clamp.js";
|
|
7
|
-
import { C as F } from "./option.
|
|
7
|
+
import { C as F } from "./option.COnEtd3X.js";
|
|
8
8
|
import B from "../components/radio.js";
|
|
9
9
|
import K from "../components/radio-group.js";
|
|
10
10
|
import U from "../components/select.js";
|
|
11
11
|
import E from "../components/space.js";
|
|
12
|
-
import { C as H, H as V } from "./table.
|
|
13
|
-
import { C as L } from "./typography.
|
|
12
|
+
import { C as H, H as V } from "./table.WNd284in.js";
|
|
13
|
+
import { C as L } from "./typography.DJC_UXgs.js";
|
|
14
14
|
import { n as o, C as T } from "./lib-cortex-element.CVMmyPMC.js";
|
|
15
15
|
import W from "../components/dynamic-select.js";
|
|
16
|
-
import { c as D } from "./component.styles.
|
|
16
|
+
import { c as D } from "./component.styles.CRO4Odto.js";
|
|
17
17
|
import { c as M } from "./custom-element.L4WJXn1j.js";
|
|
18
18
|
import { d as J } from "./debounce.DaHuiSGU.js";
|
|
19
|
-
import { L as z } from "./i18n.
|
|
20
|
-
import { w as g } from "./watch.
|
|
19
|
+
import { L as z } from "./i18n.BFqTRDCA.js";
|
|
20
|
+
import { w as g } from "./watch.BCJD77bD.js";
|
|
21
21
|
import { a as X } from "./_commonjsHelpers.DQNKXVTB.js";
|
|
22
22
|
import { i as O, x as l } from "./lit-element.jLBm65_O.js";
|
|
23
23
|
import { r as x } from "./state.CSDxrqLd.js";
|
|
@@ -27,14 +27,13 @@ import { e as Z } from "./class-map.BiVq-cVR.js";
|
|
|
27
27
|
import { o as Q } from "./map.D8heArFD.js";
|
|
28
28
|
import { c as b } from "./repeat.DbF2p5ae.js";
|
|
29
29
|
import { n as N } from "./when.Dr1es41R.js";
|
|
30
|
-
import { t as ee } from "./toString.
|
|
31
|
-
import ae from "
|
|
32
|
-
import { C as te } from "./image.
|
|
33
|
-
import { a as ie, D as $ } from "./asset.
|
|
30
|
+
import { t as ee } from "./toString.CL_lYXbK.js";
|
|
31
|
+
import { C as ae } from "./icon-button.rKe0N4VB.js";
|
|
32
|
+
import { C as te } from "./image.CEtCGsNL.js";
|
|
33
|
+
import { a as ie, D as $ } from "./asset.D7E0-cUV.js";
|
|
34
34
|
import { a as ne } from "./index.Cpamj0jB.js";
|
|
35
|
-
import { A as v } from "./
|
|
36
|
-
import {
|
|
37
|
-
import { t as re } from "./toast.BXNbwZV8.js";
|
|
35
|
+
import { A as v, t as se } from "./toast.B2cJgW5u.js";
|
|
36
|
+
import { b as re, t as w } from "./string.BigZhczf.js";
|
|
38
37
|
var A, I;
|
|
39
38
|
function oe() {
|
|
40
39
|
return I || (I = 1, A = {
|
|
@@ -817,45 +816,7 @@ function pe(e) {
|
|
|
817
816
|
var a = ++de;
|
|
818
817
|
return ee(e) + a;
|
|
819
818
|
}
|
|
820
|
-
const ue = O
|
|
821
|
-
:host {
|
|
822
|
-
isolation: isolate;
|
|
823
|
-
}
|
|
824
|
-
|
|
825
|
-
.asset-picker__input[data-user-invalid] ~ .asset-picker__button::part(base) {
|
|
826
|
-
border-color: var(--cx-input-invalid-border-color);
|
|
827
|
-
}
|
|
828
|
-
|
|
829
|
-
.asset-picker__input[data-user-invalid]:focus-within
|
|
830
|
-
~ .asset-picker__button::part(base) {
|
|
831
|
-
border-color: var(--cx-input-invalid-border-color);
|
|
832
|
-
box-shadow: var(--cx-input-invalid-shadow);
|
|
833
|
-
}
|
|
834
|
-
|
|
835
|
-
.asset-picker__button-container {
|
|
836
|
-
position: relative;
|
|
837
|
-
}
|
|
838
|
-
|
|
839
|
-
.asset-picker__button {
|
|
840
|
-
position: relative;
|
|
841
|
-
z-index: 1;
|
|
842
|
-
}
|
|
843
|
-
|
|
844
|
-
.asset-picker__image {
|
|
845
|
-
--height: 150px;
|
|
846
|
-
--width: 200px;
|
|
847
|
-
border-radius: var(--cx-border-radius-medium);
|
|
848
|
-
}
|
|
849
|
-
|
|
850
|
-
.asset-picker__input {
|
|
851
|
-
position: absolute;
|
|
852
|
-
top: 0;
|
|
853
|
-
left: 0;
|
|
854
|
-
width: 100%;
|
|
855
|
-
height: 100%;
|
|
856
|
-
opacity: 0;
|
|
857
|
-
}
|
|
858
|
-
`;
|
|
819
|
+
const ue = O`:host{isolation:isolate}.asset-picker__input[data-user-invalid]~.asset-picker__button::part(base){border-color:var(--cx-input-invalid-border-color)}.asset-picker__input[data-user-invalid]:focus-within~.asset-picker__button::part(base){border-color:var(--cx-input-invalid-border-color);box-shadow:var(--cx-input-invalid-shadow)}.asset-picker__button-container{position:relative}.asset-picker__button{z-index:1;position:relative}.asset-picker__image{--height:150px;--width:200px;--border-radius:var(--cx-border-radius-medium)}.asset-picker__input{opacity:0;width:100%;height:100%;position:absolute;top:0;left:0}`;
|
|
859
820
|
var he = Object.defineProperty, ve = Object.getOwnPropertyDescriptor, u = (e, a, t, i) => {
|
|
860
821
|
for (var s = i > 1 ? void 0 : i ? ve(a, t) : a, d = e.length - 1, c; d >= 0; d--)
|
|
861
822
|
(c = e[d]) && (s = (i ? c(a, t, s) : c(s)) || s);
|
|
@@ -879,9 +840,9 @@ let p = class extends T {
|
|
|
879
840
|
this.accepts
|
|
880
841
|
);
|
|
881
842
|
if (this.accepts.length > 0 && Object.values(e).some(
|
|
882
|
-
(t) => !this.accepts.includes(
|
|
843
|
+
(t) => !this.accepts.includes(re(t.src) ?? "")
|
|
883
844
|
))
|
|
884
|
-
|
|
845
|
+
se(this.localize.term("nonAcceptedExtension", this.accepts), {
|
|
885
846
|
notificationType: "warning"
|
|
886
847
|
});
|
|
887
848
|
else if (this.multiple) {
|
|
@@ -927,75 +888,29 @@ let p = class extends T {
|
|
|
927
888
|
}
|
|
928
889
|
renderAssetPreview() {
|
|
929
890
|
if (this.value && this.acceptsType(v.Image))
|
|
930
|
-
return l`<cx-image
|
|
931
|
-
part="image"
|
|
932
|
-
class="asset-picker__image"
|
|
933
|
-
src=${this.value}
|
|
934
|
-
alt=${this.name}
|
|
935
|
-
width="200px"
|
|
936
|
-
object-fit=${ne.Cover}
|
|
937
|
-
></cx-image>`;
|
|
891
|
+
return l`<cx-image part="image" class="asset-picker__image" src=${this.value} alt=${this.name} width="200px" object-fit=${ne.Cover}></cx-image>`;
|
|
938
892
|
if (this.name && this.acceptsType(v.Video))
|
|
939
|
-
return l
|
|
940
|
-
<cx-typography variant="body-2">
|
|
941
|
-
${w(this.name, 30, 11, 11)}
|
|
942
|
-
</cx-typography>
|
|
943
|
-
`;
|
|
893
|
+
return l`<cx-typography variant="body-2">${w(this.name, 30, 11, 11)}</cx-typography>`;
|
|
944
894
|
if (this.name && (this.acceptsType(v.Other) || this.acceptsType(v.All))) {
|
|
945
895
|
const e = this.name.split(",");
|
|
946
|
-
return l`<cx-typography variant="body-2"
|
|
947
|
-
${w(e[0], 30, 11, 11)}
|
|
896
|
+
return l`<cx-typography variant="body-2">${w(e[0], 30, 11, 11)}
|
|
948
897
|
${N(
|
|
949
898
|
e.length > 1,
|
|
950
899
|
() => l` ${this.localize.term("andOthers", e.length - 1)}`
|
|
951
|
-
)}
|
|
952
|
-
</cx-typography>`;
|
|
900
|
+
)}</cx-typography>`;
|
|
953
901
|
}
|
|
954
902
|
return null;
|
|
955
903
|
}
|
|
956
904
|
render() {
|
|
957
|
-
return l
|
|
958
|
-
<cx-space
|
|
959
|
-
part="base"
|
|
960
|
-
class="asset-picker"
|
|
961
|
-
spacing="2x-small"
|
|
962
|
-
direction="horizontal"
|
|
963
|
-
align-items=${this.acceptsType(v.Image) ? "flex-start" : "center"}
|
|
964
|
-
>
|
|
965
|
-
${this.renderAssetPreview()}
|
|
905
|
+
return l`<cx-space part="base" class="asset-picker" spacing="2x-small" direction="horizontal" align-items=${this.acceptsType(v.Image) ? "flex-start" : "center"}>${this.renderAssetPreview()}
|
|
966
906
|
${N(
|
|
967
907
|
!this.disabled,
|
|
968
|
-
() => l
|
|
969
|
-
<div class="asset-picker__button-container">
|
|
970
|
-
<cx-input
|
|
971
|
-
class="asset-picker__input"
|
|
972
|
-
aria-label=${this.localize.term("choose")}
|
|
973
|
-
name=${this.name}
|
|
974
|
-
value=${this.value}
|
|
975
|
-
?required=${this.required}
|
|
976
|
-
.form=${this.closest("form")}
|
|
977
|
-
></cx-input>
|
|
978
|
-
<cx-button
|
|
979
|
-
part="button"
|
|
980
|
-
class="asset-picker__button"
|
|
981
|
-
@click=${this.handleRequestAssetClick}
|
|
982
|
-
>
|
|
983
|
-
${this.localize.term("choose")}
|
|
984
|
-
</cx-button>
|
|
985
|
-
</div>
|
|
986
|
-
${N(
|
|
908
|
+
() => l`<div class="asset-picker__button-container"><cx-input class="asset-picker__input" aria-label=${this.localize.term("choose")} name=${this.name} value=${this.value} ?required=${this.required} .form=${this.closest("form")}></cx-input><cx-button part="button" class="asset-picker__button" @click=${this.handleRequestAssetClick}>${this.localize.term("choose")}</cx-button></div>${N(
|
|
987
909
|
this.value,
|
|
988
|
-
() => l`<cx-icon-button
|
|
989
|
-
label=${this.localize.term("delete")}
|
|
990
|
-
name="delete"
|
|
991
|
-
@click=${this.handleDeleteClick}
|
|
992
|
-
>
|
|
993
|
-
</cx-icon-button>`
|
|
910
|
+
() => l`<cx-icon-button label=${this.localize.term("delete")} name="delete" @click=${this.handleDeleteClick}></cx-icon-button>`
|
|
994
911
|
)}
|
|
995
912
|
`
|
|
996
|
-
)}
|
|
997
|
-
</cx-space>
|
|
998
|
-
`;
|
|
913
|
+
)}</cx-space>`;
|
|
999
914
|
}
|
|
1000
915
|
};
|
|
1001
916
|
p.styles = [D, ue];
|
|
@@ -1055,55 +970,7 @@ u([
|
|
|
1055
970
|
p = u([
|
|
1056
971
|
M("cx-asset-picker")
|
|
1057
972
|
], p);
|
|
1058
|
-
const ge = O
|
|
1059
|
-
:host {
|
|
1060
|
-
--overridden-min-height: var(--min-height, 160px);
|
|
1061
|
-
--overridden-max-height: var(--max-height, 260px);
|
|
1062
|
-
display: block;
|
|
1063
|
-
width: 100%;
|
|
1064
|
-
}
|
|
1065
|
-
|
|
1066
|
-
.list-editor {
|
|
1067
|
-
width: 100%;
|
|
1068
|
-
}
|
|
1069
|
-
|
|
1070
|
-
.list-editor__table {
|
|
1071
|
-
--cell-border-color: transparent;
|
|
1072
|
-
--cell-bottom-border-color: transparent;
|
|
1073
|
-
--header-font-size: var(--cx-font-size-small);
|
|
1074
|
-
--row-header-border-color: transparent;
|
|
1075
|
-
--cell-horizontal-padding: var(--cx-spacing-2x-small);
|
|
1076
|
-
--table-min-height: var(--overridden-min-height);
|
|
1077
|
-
--table-max-height: var(--overridden-max-height);
|
|
1078
|
-
}
|
|
1079
|
-
|
|
1080
|
-
.list-editor__table--no-header {
|
|
1081
|
-
--cell-hover-background-color: transparent;
|
|
1082
|
-
}
|
|
1083
|
-
|
|
1084
|
-
.list-editor__item::part(expand-button) {
|
|
1085
|
-
display: none;
|
|
1086
|
-
}
|
|
1087
|
-
|
|
1088
|
-
.list-editor__item__text {
|
|
1089
|
-
--line-height: 1;
|
|
1090
|
-
}
|
|
1091
|
-
|
|
1092
|
-
.list-editor__item__text__description {
|
|
1093
|
-
color: var(--cx-color-neutral-600);
|
|
1094
|
-
}
|
|
1095
|
-
|
|
1096
|
-
.list-editor__dialog {
|
|
1097
|
-
--body-spacing: 0;
|
|
1098
|
-
--header-spacing: var(--cx-spacing-small) var(--cx-spacing-large) 0;
|
|
1099
|
-
--width: 540px;
|
|
1100
|
-
}
|
|
1101
|
-
|
|
1102
|
-
.list-editor__tab-group {
|
|
1103
|
-
--padding: 0;
|
|
1104
|
-
--tab-group-nav-padding: 0 var(--cx-spacing-large);
|
|
1105
|
-
}
|
|
1106
|
-
`;
|
|
973
|
+
const ge = O`:host{--overridden-min-height:var(--min-height,160px);--overridden-max-height:var(--max-height,260px);width:100%;display:block}.list-editor{width:100%}.list-editor__table{--cell-border-color:transparent;--cell-bottom-border-color:transparent;--header-font-size:var(--cx-font-size-small);--row-header-border-color:transparent;--cell-horizontal-padding:var(--cx-spacing-2x-small);--table-min-height:var(--overridden-min-height);--table-max-height:var(--overridden-max-height)}.list-editor__table--no-header{--cell-hover-background-color:transparent}.list-editor__item::part(expand-button){display:none}.list-editor__item__text{--line-height:1}.list-editor__item__text__description{color:var(--cx-color-neutral-600)}.list-editor__dialog{--body-spacing:0;--header-spacing:var(--cx-spacing-small) var(--cx-spacing-large) 0;--width:540px}.list-editor__tab-group{--padding:0;--tab-group-nav-padding:0 var(--cx-spacing-large)}`;
|
|
1107
974
|
var Ne = Object.defineProperty, be = Object.getOwnPropertyDescriptor, r = (e, a, t, i) => {
|
|
1108
975
|
for (var s = i > 1 ? void 0 : i ? be(a, t) : a, d = e.length - 1, c; d >= 0; d--)
|
|
1109
976
|
(c = e[d]) && (s = (i ? c(a, t, s) : c(s)) || s);
|
|
@@ -1262,21 +1129,7 @@ let n = class extends T {
|
|
|
1262
1129
|
${b(
|
|
1263
1130
|
this.translatableControls,
|
|
1264
1131
|
(t) => t.field,
|
|
1265
|
-
(t) => l
|
|
1266
|
-
<cx-grid
|
|
1267
|
-
columns="4"
|
|
1268
|
-
spacing="var(--cx-spacing-small)"
|
|
1269
|
-
column-spacing="0"
|
|
1270
|
-
use-flex-gap
|
|
1271
|
-
row-spacing="0"
|
|
1272
|
-
wrap="wrap"
|
|
1273
|
-
>
|
|
1274
|
-
<cx-grid-item xs="4" sm="1">
|
|
1275
|
-
<cx-typography variant="body2">${t.title}</cx-typography>
|
|
1276
|
-
</cx-grid-item>
|
|
1277
|
-
<cx-grid-item xs="4" sm="3">
|
|
1278
|
-
<cx-space direction="vertical" spacing="x-small" wrap="nowrap">
|
|
1279
|
-
${Q(this.supportedLanguages, (i) => {
|
|
1132
|
+
(t) => l`<cx-grid columns="4" spacing="var(--cx-spacing-small)" column-spacing="0" use-flex-gap row-spacing="0" wrap="wrap"><cx-grid-item xs="4" sm="1"><cx-typography variant="body2">${t.title}</cx-typography></cx-grid-item><cx-grid-item xs="4" sm="3"><cx-space direction="vertical" spacing="x-small" wrap="nowrap">${Q(this.supportedLanguages, (i) => {
|
|
1280
1133
|
const s = this.localize.languageName(i) || ce.getName(i) || i, d = (c) => {
|
|
1281
1134
|
const m = c.target.value;
|
|
1282
1135
|
this.editedItem = {
|
|
@@ -1284,244 +1137,77 @@ let n = class extends T {
|
|
|
1284
1137
|
[`${t.field}-${i}`]: m
|
|
1285
1138
|
};
|
|
1286
1139
|
};
|
|
1287
|
-
return l`
|
|
1288
|
-
|
|
1289
|
-
?disabled=${i.toLowerCase() === this.defaultLanguage?.toLowerCase()}
|
|
1290
|
-
label=${s}
|
|
1291
|
-
value=${this.editedItem?.[`${t.field}-${i}`] ?? this.editedItem?.[`${t.field}`] ?? ""}
|
|
1292
|
-
@cx-change=${d}
|
|
1293
|
-
></cx-input>
|
|
1294
|
-
`;
|
|
1295
|
-
})}
|
|
1296
|
-
</cx-space>
|
|
1297
|
-
</cx-grid-item>
|
|
1298
|
-
</cx-grid>`
|
|
1140
|
+
return l`<cx-input ?disabled=${i.toLowerCase() === this.defaultLanguage?.toLowerCase()} label=${s} value=${this.editedItem?.[`${t.field}-${i}`] ?? this.editedItem?.[`${t.field}`] ?? ""} @cx-change=${d}></cx-input>`;
|
|
1141
|
+
})}</cx-space></cx-grid-item></cx-grid>`
|
|
1299
1142
|
)}
|
|
1300
1143
|
`;
|
|
1301
1144
|
return l`<cx-space direction="vertical" wrap="nowrap">${a}</cx-space>`;
|
|
1302
1145
|
}
|
|
1303
|
-
return l
|
|
1304
|
-
<cx-grid columns="3" spacing="var(--cx-spacing-small)" wrap="wrap">
|
|
1305
|
-
${b(
|
|
1146
|
+
return l`<cx-grid columns="3" spacing="var(--cx-spacing-small)" wrap="wrap">${b(
|
|
1306
1147
|
this.sortedEntries,
|
|
1307
1148
|
([a]) => a,
|
|
1308
|
-
([a, t]) => l`<cx-grid-item xs="3" sm="1"
|
|
1309
|
-
<cx-typography variant="body2">
|
|
1310
|
-
${this.columnsMap[a].title}
|
|
1311
|
-
</cx-typography>
|
|
1312
|
-
</cx-grid-item>
|
|
1313
|
-
<cx-grid-item xs="3" sm="2">
|
|
1314
|
-
${Y(
|
|
1149
|
+
([a, t]) => l`<cx-grid-item xs="3" sm="1"><cx-typography variant="body2">${this.columnsMap[a].title}</cx-typography></cx-grid-item><cx-grid-item xs="3" sm="2">${Y(
|
|
1315
1150
|
this.columnsMap[a].controlType,
|
|
1316
1151
|
[
|
|
1317
1152
|
[
|
|
1318
1153
|
"image-picker",
|
|
1319
|
-
() => l`<cx-asset-picker
|
|
1320
|
-
value=${t}
|
|
1321
|
-
type="image"
|
|
1322
|
-
id=${a}
|
|
1323
|
-
@cx-content-builder-asset-select=${async (d) => {
|
|
1154
|
+
() => l`<cx-asset-picker value=${t} type="image" id=${a} @cx-content-builder-asset-select=${async (d) => {
|
|
1324
1155
|
if (Array.isArray(d.detail))
|
|
1325
1156
|
return;
|
|
1326
|
-
const {
|
|
1157
|
+
const { id: c, src: m } = d.detail;
|
|
1327
1158
|
this.editedItem = {
|
|
1328
1159
|
...this.editedItem,
|
|
1329
|
-
[a]:
|
|
1160
|
+
[a]: m,
|
|
1161
|
+
recordId: c
|
|
1330
1162
|
};
|
|
1331
|
-
}}
|
|
1332
|
-
@cx-content-builder-asset-delete=${async () => {
|
|
1163
|
+
}} @cx-content-builder-asset-delete=${async () => {
|
|
1333
1164
|
this.editedItem = {
|
|
1334
1165
|
...this.editedItem,
|
|
1335
|
-
[a]: ""
|
|
1166
|
+
[a]: "",
|
|
1167
|
+
recordId: ""
|
|
1336
1168
|
};
|
|
1337
|
-
}}
|
|
1338
|
-
@cx-asset-request-status=${this.handleAssetRequestStatus}
|
|
1339
|
-
.onRequestAsset=${this.onRequestAsset}
|
|
1340
|
-
>
|
|
1341
|
-
</cx-asset-picker>`
|
|
1169
|
+
}} @cx-asset-request-status=${this.handleAssetRequestStatus} .onRequestAsset=${this.onRequestAsset}></cx-asset-picker>`
|
|
1342
1170
|
],
|
|
1343
1171
|
[
|
|
1344
1172
|
"radio-group",
|
|
1345
|
-
() => l
|
|
1346
|
-
<cx-radio-group
|
|
1347
|
-
data-id=${a}
|
|
1348
|
-
data-testid="radio-group-control"
|
|
1349
|
-
horizontal
|
|
1350
|
-
value=${(t || this.columnsMap[a].defaultValue) ?? ""}
|
|
1351
|
-
size="medium"
|
|
1352
|
-
@cx-change=${this.handleChange}
|
|
1353
|
-
>
|
|
1354
|
-
${b(
|
|
1173
|
+
() => l`<cx-radio-group data-id=${a} data-testid="radio-group-control" horizontal value=${(t || this.columnsMap[a].defaultValue) ?? ""} size="medium" @cx-change=${this.handleChange}>${b(
|
|
1355
1174
|
this.columnsMap[a].options ?? [],
|
|
1356
1175
|
(i) => i.value,
|
|
1357
|
-
(i) => l`<cx-radio value=${i.value}
|
|
1358
|
-
|
|
1359
|
-
</cx-radio>`
|
|
1360
|
-
)}
|
|
1361
|
-
</cx-radio-group>
|
|
1362
|
-
`
|
|
1176
|
+
(i) => l`<cx-radio value=${i.value}>${i.name}</cx-radio>`
|
|
1177
|
+
)}</cx-radio-group>`
|
|
1363
1178
|
],
|
|
1364
1179
|
[
|
|
1365
1180
|
"select",
|
|
1366
|
-
() => this.columnsMap[a].api ? l`<cx-dynamic-select
|
|
1367
|
-
data-id=${a}
|
|
1368
|
-
hoist
|
|
1369
|
-
value=${t}
|
|
1370
|
-
@cx-change=${this.handleChange}
|
|
1371
|
-
.api=${this.columnsMap[a].api}
|
|
1372
|
-
></cx-dynamic-select>` : l`<cx-select
|
|
1373
|
-
data-id=${a}
|
|
1374
|
-
hoist
|
|
1375
|
-
value=${t}
|
|
1376
|
-
@cx-change=${this.handleChange}
|
|
1377
|
-
>
|
|
1378
|
-
${b(
|
|
1181
|
+
() => this.columnsMap[a].api ? l`<cx-dynamic-select data-id=${a} hoist value=${t} @cx-change=${this.handleChange} .api=${this.columnsMap[a].api}></cx-dynamic-select>` : l`<cx-select data-id=${a} hoist value=${t} @cx-change=${this.handleChange}>${b(
|
|
1379
1182
|
this.columnsMap[a].options ?? [],
|
|
1380
1183
|
(i) => i.value,
|
|
1381
1184
|
(i) => l`<cx-option value=${i.value}>${i.name}</cx-option>`
|
|
1382
|
-
)}
|
|
1383
|
-
</cx-select>`
|
|
1185
|
+
)}</cx-select>`
|
|
1384
1186
|
]
|
|
1385
1187
|
],
|
|
1386
|
-
() => l
|
|
1387
|
-
|
|
1388
|
-
|
|
1389
|
-
value=${t}
|
|
1390
|
-
@cx-change=${this.handleChange}
|
|
1391
|
-
></cx-input>
|
|
1392
|
-
`
|
|
1393
|
-
)}
|
|
1394
|
-
</cx-grid-item>`
|
|
1395
|
-
)}
|
|
1396
|
-
</cx-grid>
|
|
1397
|
-
`;
|
|
1188
|
+
() => l`<cx-input data-id=${a} value=${t} @cx-change=${this.handleChange}></cx-input>`
|
|
1189
|
+
)}</cx-grid-item>`
|
|
1190
|
+
)}</cx-grid>`;
|
|
1398
1191
|
}
|
|
1399
1192
|
render() {
|
|
1400
|
-
return l
|
|
1401
|
-
<cx-space direction="vertical" align-items="flex-start">
|
|
1402
|
-
<div class="list-editor">
|
|
1403
|
-
<cx-table
|
|
1404
|
-
part="table"
|
|
1405
|
-
class=${Z({
|
|
1193
|
+
return l`<cx-space direction="vertical" align-items="flex-start"><div class="list-editor"><cx-table part="table" class=${Z({
|
|
1406
1194
|
"list-editor__table": !0,
|
|
1407
1195
|
"list-editor__table--no-header": this.noHeader
|
|
1408
|
-
})}
|
|
1409
|
-
?movable-rows=${this.sortable}
|
|
1410
|
-
?no-header=${this.noHeader}
|
|
1411
|
-
layout="fitColumns"
|
|
1412
|
-
row-height=${this.rowHeight}
|
|
1413
|
-
.columns=${this.columns}
|
|
1414
|
-
.columnDefaults=${xe}
|
|
1415
|
-
.hoverMenu=${this.hoverMenu}
|
|
1416
|
-
.data=${this.data ?? []}
|
|
1417
|
-
no-selectable
|
|
1418
|
-
@cx-table.rowMoved=${this.handleTableRowMoved}
|
|
1419
|
-
@cx-table-row-action-click=${this.handleTableActions}
|
|
1420
|
-
></cx-table>
|
|
1421
|
-
<cx-dialog
|
|
1422
|
-
part="dialog"
|
|
1423
|
-
class="list-editor__dialog"
|
|
1424
|
-
divider-position=${G.Footer}
|
|
1425
|
-
use-overlay-scrollbar
|
|
1426
|
-
strategy="fixed"
|
|
1427
|
-
?open=${!!this.editedItem}
|
|
1428
|
-
.boundary=${this.boundary}
|
|
1429
|
-
@cx-request-close=${this.handleRequestClose}
|
|
1430
|
-
>
|
|
1431
|
-
<cx-space slot="label" direction="vertical" spacing="2x-small">
|
|
1432
|
-
<cx-typography variant="h4">
|
|
1433
|
-
${this.isAdding ? this.addDialogLabel : this.editDialogLabel}
|
|
1434
|
-
</cx-typography>
|
|
1435
|
-
${N(
|
|
1196
|
+
})} ?movable-rows=${this.sortable} ?no-header=${this.noHeader} layout="fitColumns" row-height=${this.rowHeight} .columns=${this.columns} .columnDefaults=${xe} .hoverMenu=${this.hoverMenu} .data=${this.data ?? []} no-selectable @cx-table.rowMoved=${this.handleTableRowMoved} @cx-table-row-action-click=${this.handleTableActions}></cx-table><cx-dialog part="dialog" class="list-editor__dialog" divider-position=${G.Footer} use-overlay-scrollbar strategy="fixed" ?open=${!!this.editedItem} .boundary=${this.boundary} @cx-request-close=${this.handleRequestClose}><cx-space slot="label" direction="vertical" spacing="2x-small"><cx-typography variant="h4">${this.isAdding ? this.addDialogLabel : this.editDialogLabel}</cx-typography>${N(
|
|
1436
1197
|
!this.isAdding && this.editedItem?.[this.displayField],
|
|
1437
|
-
() => l`<cx-typography variant="body3"
|
|
1438
|
-
|
|
1439
|
-
${this.editedItem?.[this.displayField]}
|
|
1440
|
-
</cx-line-clamp>
|
|
1441
|
-
</cx-typography>`
|
|
1442
|
-
)}
|
|
1443
|
-
</cx-space>
|
|
1444
|
-
${N(
|
|
1198
|
+
() => l`<cx-typography variant="body3"><cx-line-clamp lines="1">${this.editedItem?.[this.displayField]}</cx-line-clamp></cx-typography>`
|
|
1199
|
+
)}</cx-space>${N(
|
|
1445
1200
|
this.tabs.length >= 1,
|
|
1446
|
-
() => l
|
|
1447
|
-
<cx-tab-group
|
|
1448
|
-
class="list-editor__tab-group"
|
|
1449
|
-
placement="top"
|
|
1450
|
-
>
|
|
1451
|
-
${b(
|
|
1201
|
+
() => l`<cx-tab-group class="list-editor__tab-group" placement="top">${b(
|
|
1452
1202
|
this.tabs,
|
|
1453
1203
|
(e) => e,
|
|
1454
|
-
(e) => l
|
|
1455
|
-
|
|
1456
|
-
|
|
1457
|
-
|
|
1458
|
-
>
|
|
1459
|
-
${this.localize.term(e)}
|
|
1460
|
-
</cx-tab>
|
|
1461
|
-
<cx-tab-panel
|
|
1462
|
-
name=${e}
|
|
1463
|
-
>
|
|
1464
|
-
<cx-space
|
|
1465
|
-
direction="vertical"
|
|
1466
|
-
spacing="x-small"
|
|
1467
|
-
wrap="nowrap"
|
|
1468
|
-
>
|
|
1469
|
-
${this.renderControls(e)}
|
|
1470
|
-
</cx-space>
|
|
1471
|
-
</cx-tab-panel>
|
|
1472
|
-
`
|
|
1473
|
-
)}
|
|
1474
|
-
</cx-tab-group>`,
|
|
1475
|
-
() => l`
|
|
1476
|
-
<cx-space
|
|
1477
|
-
direction="vertical"
|
|
1478
|
-
spacing="x-small"
|
|
1479
|
-
wrap="nowrap"
|
|
1480
|
-
>
|
|
1481
|
-
${this.renderControls(this.tabs[0])}
|
|
1482
|
-
</cx-space>
|
|
1483
|
-
`
|
|
1484
|
-
)}
|
|
1485
|
-
<cx-space
|
|
1486
|
-
slot="footer"
|
|
1487
|
-
spacing="x-small"
|
|
1488
|
-
wrap="nowrap"
|
|
1489
|
-
justify-content="end"
|
|
1490
|
-
>
|
|
1491
|
-
<cx-button
|
|
1492
|
-
data-testid="cancel-button"
|
|
1493
|
-
variant="default"
|
|
1494
|
-
size="medium"
|
|
1495
|
-
@click=${this.handleCancelClick}
|
|
1496
|
-
>
|
|
1497
|
-
${this.localize.term("cancel")}
|
|
1498
|
-
</cx-button>
|
|
1499
|
-
<cx-button
|
|
1500
|
-
data-testid="save-button"
|
|
1501
|
-
variant="primary"
|
|
1502
|
-
size="medium"
|
|
1503
|
-
@click=${this.handleSaveClick}
|
|
1504
|
-
>
|
|
1505
|
-
${this.localize.term("save")}
|
|
1506
|
-
</cx-button>
|
|
1507
|
-
</cx-space>
|
|
1508
|
-
</cx-dialog>
|
|
1509
|
-
</div>
|
|
1510
|
-
${N(
|
|
1204
|
+
(e) => l`<cx-tab slot="nav" panel=${e}>${this.localize.term(e)}</cx-tab><cx-tab-panel name=${e}><cx-space direction="vertical" spacing="x-small" wrap="nowrap">${this.renderControls(e)}</cx-space></cx-tab-panel>`
|
|
1205
|
+
)}</cx-tab-group>`,
|
|
1206
|
+
() => l`<cx-space direction="vertical" spacing="x-small" wrap="nowrap">${this.renderControls(this.tabs[0])}</cx-space>`
|
|
1207
|
+
)}<cx-space slot="footer" spacing="x-small" wrap="nowrap" justify-content="end"><cx-button data-testid="cancel-button" variant="default" size="medium" @click=${this.handleCancelClick}>${this.localize.term("cancel")}</cx-button><cx-button data-testid="save-button" variant="primary" size="medium" @click=${this.handleSaveClick}>${this.localize.term("save")}</cx-button></cx-space></cx-dialog></div>${N(
|
|
1511
1208
|
this.canAdd,
|
|
1512
|
-
() => l
|
|
1513
|
-
|
|
1514
|
-
data-testid="add-button"
|
|
1515
|
-
variant="default"
|
|
1516
|
-
size="medium"
|
|
1517
|
-
@click=${this.handleAddClick}
|
|
1518
|
-
>
|
|
1519
|
-
${this.addItemText || this.localize.term("add")}
|
|
1520
|
-
</cx-button>
|
|
1521
|
-
`
|
|
1522
|
-
)}
|
|
1523
|
-
</cx-space>
|
|
1524
|
-
`;
|
|
1209
|
+
() => l`<cx-button data-testid="add-button" variant="default" size="medium" @click=${this.handleAddClick}>${this.addItemText || this.localize.term("add")}</cx-button>`
|
|
1210
|
+
)}</cx-space>`;
|
|
1525
1211
|
}
|
|
1526
1212
|
};
|
|
1527
1213
|
n.styles = [D, ge];
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { J as Wi, e as N, a4 as fi, b4 as En, bc as Nn, ap as ri, G as we, P as Rn, a as gt, L as Ji, T as Vi, D as In, F as pi, I as gi, am as Se, aF as Hi, k as zn, bd as Bn, aZ as Ft, be as kn, m as jn, w as Yn, f as Xn, ax as di, y as mi, z as Ee, t as yi, bf as $n, aj as Gn, K as Zn, bg as xe, a2 as An, C as _i, az as On, b as Fn, bh as bn } from "./am-chart.
|
|
1
|
+
import { J as Wi, e as N, a4 as fi, b4 as En, bc as Nn, ap as ri, G as we, P as Rn, a as gt, L as Ji, T as Vi, D as In, F as pi, I as gi, am as Se, aF as Hi, k as zn, bd as Bn, aZ as Ft, be as kn, m as jn, w as Yn, f as Xn, ax as di, y as mi, z as Ee, t as yi, bf as $n, aj as Gn, K as Zn, bg as xe, a2 as An, C as _i, az as On, b as Fn, bh as bn } from "./am-chart.H2jnOzFc.js";
|
|
2
2
|
import { g as Wn, a as Jn } from "./_commonjsHelpers.DQNKXVTB.js";
|
|
3
3
|
import { i as Vn } from "./index.DU0XUO4k.js";
|
|
4
|
-
import { a as qi } from "./ZoomTools.
|
|
4
|
+
import { a as qi } from "./ZoomTools.D5JPehoL.js";
|
|
5
5
|
class b {
|
|
6
6
|
constructor() {
|
|
7
7
|
this._partials = new Float64Array(32), this._n = 0;
|