@orangelogic/design-system 2.0.0-29DUO2-beta-1
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/apps/cortex/src/types.d.ts +7 -0
- package/library/assets/content-builder.css +1 -0
- package/library/assets/design-system.css +1 -0
- package/library/assets/outlined.css +1 -0
- package/library/assets/rounded.css +1 -0
- package/library/assets/sharp.css +1 -0
- package/library/atoms.d.ts +1 -0
- package/library/chunks/AxisLabelRadial.CgPb7ghO.js +11 -0
- package/library/chunks/BaseColumnSeries.B6rG-Ylz.js +304 -0
- package/library/chunks/CandlestickSeries.C-YfO-57.js +362 -0
- package/library/chunks/Circle.DhoXSsjo.js +17 -0
- package/library/chunks/ColumnSeries.CZi2LBZ2.js +54 -0
- package/library/chunks/DeviceOrientationControls.CCdbZgfJ.js +29 -0
- package/library/chunks/EditableAxisLabel.CykTMTsG.js +445 -0
- package/library/chunks/EditableLabel.BlQ7B4D0.js +119 -0
- package/library/chunks/Gradient.BQ0JzFEe.js +40 -0
- package/library/chunks/LinearGradient.DuVS2EHe.js +37 -0
- package/library/chunks/MonotoneXTension.CJMEHHj3.js +139 -0
- package/library/chunks/OrbitControls.CLHBWz99.js +270 -0
- package/library/chunks/Picture.DRO0jnR6.js +49 -0
- package/library/chunks/Polygon.DEO3f_qs.js +70 -0
- package/library/chunks/ProgressPie.Bryx2w1J.js +234 -0
- package/library/chunks/RadialLabel.TyXECvYG.js +88 -0
- package/library/chunks/Scrollbar.DK48nKk4.js +118 -0
- package/library/chunks/Slice.DbXRplXx.js +120 -0
- package/library/chunks/Slider.B27osQYu.js +19 -0
- package/library/chunks/SpriteResizer.C4wFzD_x.js +446 -0
- package/library/chunks/Triangle.BEmFiHyd.js +21 -0
- package/library/chunks/VRControls.js_g1t8t.js +25 -0
- package/library/chunks/VREffect.DBiEtV6k.js +113 -0
- package/library/chunks/ZoomTools.CBqjLDqb.js +199 -0
- package/library/chunks/___vite-browser-external_commonjs-proxy.C2tf3HsQ.js +8 -0
- package/library/chunks/_baseRest.ClTMQtN1.js +67 -0
- package/library/chunks/_baseUniq.Df-fLIBx.js +199 -0
- package/library/chunks/_commonjsHelpers.DQNKXVTB.js +33 -0
- package/library/chunks/accessors.BHk36ecy.js +11 -0
- package/library/chunks/am-chart.B_OdX4Q-.js +18435 -0
- package/library/chunks/amazon_s3.BEMtqafk.js +36 -0
- package/library/chunks/animate.El-MpOws.js +37 -0
- package/library/chunks/animation-registry.HmpwNuGH.js +34 -0
- package/library/chunks/animation.DfUHRQry.js +1001 -0
- package/library/chunks/asset-link-format.BSRDqHg7.js +6 -0
- package/library/chunks/asset.DRyD94KY.js +288 -0
- package/library/chunks/base.D76d76ww.js +9 -0
- package/library/chunks/browser.BHOCIF_A.js +84 -0
- package/library/chunks/button.Dy5bRiPQ.js +313 -0
- package/library/chunks/button.styles.Dl5IQLHU.js +718 -0
- package/library/chunks/capitalize.WSkCXkNE.js +41 -0
- package/library/chunks/cardinal.BCA_LB0u.js +64 -0
- package/library/chunks/chatbot.BmpIu59L.js +34 -0
- package/library/chunks/choose.BTbF6BAn.js +12 -0
- package/library/chunks/class-map.BiVq-cVR.js +32 -0
- package/library/chunks/color-swatch-group.nog-pq8b.js +532 -0
- package/library/chunks/color-swatch.CLHdvqso.js +407 -0
- package/library/chunks/color.vLD2sNTs.js +164 -0
- package/library/chunks/colorPicker.CJwbdhtn.js +527 -0
- package/library/chunks/component.styles.DMSLciL5.js +71 -0
- package/library/chunks/confirm-popover.B6BAaXeR.js +288 -0
- package/library/chunks/content-builder.ViUhoc1l.js +127 -0
- package/library/chunks/converters.DkDtLstb.js +11 -0
- package/library/chunks/cropper.tSDgXKqJ.js +28640 -0
- package/library/chunks/custom-element.L4WJXn1j.js +14 -0
- package/library/chunks/debounce.DaHuiSGU.js +15 -0
- package/library/chunks/default-value.COZopaet.js +15 -0
- package/library/chunks/dialog.DZGlXo8d.js +570 -0
- package/library/chunks/directive-helpers.Dm4rc594.js +37 -0
- package/library/chunks/directive.oAbCiebi.js +27 -0
- package/library/chunks/dom.BQVKDNd8.js +92 -0
- package/library/chunks/dot-pagination.Cp57TPpZ.js +325 -0
- package/library/chunks/drag.DXEXVXPv.js +18 -0
- package/library/chunks/endpoints.CkJu-Ory.js +2381 -0
- package/library/chunks/event-options.CYHYGOd8.js +14 -0
- package/library/chunks/event.mFzZi4sr.js +11 -0
- package/library/chunks/exporting.DCqJtW6l.js +1407 -0
- package/library/chunks/file-on-demand.DCn6zLyM.js +3740 -0
- package/library/chunks/flow.Ch1rU01m.js +1594 -0
- package/library/chunks/flow.gcpXucZv.js +508 -0
- package/library/chunks/folder-select.DTmBImnZ.js +844 -0
- package/library/chunks/form-control.styles.CUGhvlfT.js +67 -0
- package/library/chunks/form.DgwYWi0O.js +193 -0
- package/library/chunks/gantt.rWdF_jmG.js +2459 -0
- package/library/chunks/guard.D4axKaMo.js +24 -0
- package/library/chunks/header.D_90t23Q.js +777 -0
- package/library/chunks/hierarchy.HoRJAu6S.js +3561 -0
- package/library/chunks/hub-connection.CfARlehM.js +1922 -0
- package/library/chunks/i18n.Bge6Wbrz.js +910 -0
- package/library/chunks/identity.ByMq8VxU.js +6 -0
- package/library/chunks/if-defined.BRoBj_Rp.js +10 -0
- package/library/chunks/iframe.B0Z8DiDR.js +160 -0
- package/library/chunks/image.CBjclAIZ.js +1284 -0
- package/library/chunks/image.mbpyiQpQ.js +82 -0
- package/library/chunks/index.C1chwzNp.js +710 -0
- package/library/chunks/index.CZJTjkLp.js +142 -0
- package/library/chunks/index.Compqu8J.js +378 -0
- package/library/chunks/index.Cpamj0jB.js +10 -0
- package/library/chunks/index.D2JPKXqq.js +533 -0
- package/library/chunks/index.DU0XUO4k.js +176 -0
- package/library/chunks/index.DcjJFMlq.js +1520 -0
- package/library/chunks/isObjectLike.D3cpZO39.js +81 -0
- package/library/chunks/isSymbol.huJ_Cvxt.js +8 -0
- package/library/chunks/json.DHNMAC-m.js +119 -0
- package/library/chunks/lib-cortex-element.CVMmyPMC.js +146 -0
- package/library/chunks/list-editor.Dl366-77.js +1667 -0
- package/library/chunks/lit-element.jLBm65_O.js +534 -0
- package/library/chunks/live.SCz6M8Gs.js +30 -0
- package/library/chunks/mailchimp.Bs6uJVsf.js +18 -0
- package/library/chunks/map.BHmZ4Crx.js +3037 -0
- package/library/chunks/map.D8heArFD.js +14 -0
- package/library/chunks/markerjs2.esm.B_9kjmye.js +1912 -0
- package/library/chunks/math.DqTA6ya4.js +7 -0
- package/library/chunks/modal.U1QltQKe.js +87 -0
- package/library/chunks/number.CjNxU7Xs.js +93 -0
- package/library/chunks/option.CiBFEqo6.js +296 -0
- package/library/chunks/orangelogic.TdFfoPUN.js +22 -0
- package/library/chunks/overlayscrollbars.XhGWx9Zk.js +2151 -0
- package/library/chunks/pagination.CTKL1LBP.js +341 -0
- package/library/chunks/parse.Cu5nBDTb.js +28 -0
- package/library/chunks/pdfmake.Bs7cMDH0.js +41224 -0
- package/library/chunks/percent.CM9cr1H3.js +902 -0
- package/library/chunks/purify.es.BIuh5IAZ.js +553 -0
- package/library/chunks/query-all.i3PyvTUQ.js +15 -0
- package/library/chunks/query-async.CTgXGyQ5.js +14 -0
- package/library/chunks/query.BBf1UFkC.js +31 -0
- package/library/chunks/radar.CQUnnhGk.js +789 -0
- package/library/chunks/ref.bzeTdX0K.js +99 -0
- package/library/chunks/repeat.DbF2p5ae.js +61 -0
- package/library/chunks/responsive.CEZXXas3.js +17 -0
- package/library/chunks/scroll.xtO5yojm.js +55 -0
- package/library/chunks/sliceGrouper.iv1p8MAK.js +93 -0
- package/library/chunks/slot.j5oheLJC.js +58 -0
- package/library/chunks/sortable.esm.oSzf6C5Q.js +1260 -0
- package/library/chunks/state.CSDxrqLd.js +12 -0
- package/library/chunks/static.UA3G1Deq.js +31 -0
- package/library/chunks/stock.CU0y6a5P.js +12684 -0
- package/library/chunks/string.B_rEG27K.js +160 -0
- package/library/chunks/style-map.llVFPd__.js +35 -0
- package/library/chunks/tab-group.3eI4V3C7.js +3602 -0
- package/library/chunks/tabbable.CcMz3mIL.js +63 -0
- package/library/chunks/table.ZGeb7I52.js +19750 -0
- package/library/chunks/template.CsJd8Pb_.js +20 -0
- package/library/chunks/time.D_uFZqqe.js +118 -0
- package/library/chunks/timeline.yzdwtGKM.js +837 -0
- package/library/chunks/timer.B39XOBYL.js +123 -0
- package/library/chunks/toString.CRT5zqEU.js +26 -0
- package/library/chunks/toast.BXNbwZV8.js +25 -0
- package/library/chunks/transform.BuqENXeT.js +50 -0
- package/library/chunks/tree.dSjb5nEi.js +1221 -0
- package/library/chunks/typography.oDzoLbZS.js +149 -0
- package/library/chunks/unsafe-html.Dff7-rCx.js +26 -0
- package/library/chunks/url.LjsR2sB5.js +15 -0
- package/library/chunks/user-agent.D9aPuOyL.js +4 -0
- package/library/chunks/venn.BOEi13la.js +966 -0
- package/library/chunks/vfs_fonts.VJpdcrR6.js +9 -0
- package/library/chunks/watch.q1sEjPWL.js +501 -0
- package/library/chunks/wc.V-lq02JF.js +255 -0
- package/library/chunks/when.Dr1es41R.js +11 -0
- package/library/chunks/xlsx.v-qkA-dg.js +25118 -0
- package/library/chunks/xy.Df1hy9ac.js +333 -0
- package/library/components/alert.d.ts +3 -0
- package/library/components/alert.js +352 -0
- package/library/components/am-chart.d.ts +3 -0
- package/library/components/am-chart.js +11 -0
- package/library/components/animated-image.d.ts +3 -0
- package/library/components/animated-image.js +158 -0
- package/library/components/animation.d.ts +3 -0
- package/library/components/animation.js +10 -0
- package/library/components/array-line-clamp.d.ts +3 -0
- package/library/components/array-line-clamp.js +195 -0
- package/library/components/asset-link-format.d.ts +3 -0
- package/library/components/asset-link-format.js +2616 -0
- package/library/components/atoms.js +180 -0
- package/library/components/avatar.d.ts +3 -0
- package/library/components/avatar.js +155 -0
- package/library/components/badge.d.ts +3 -0
- package/library/components/badge.js +179 -0
- package/library/components/bicolor-picker.d.ts +3 -0
- package/library/components/bicolor-picker.js +91 -0
- package/library/components/border-input-group.d.ts +3 -0
- package/library/components/border-input-group.js +92 -0
- package/library/components/breadcrumb-item.d.ts +3 -0
- package/library/components/breadcrumb-item.js +208 -0
- package/library/components/breadcrumb.d.ts +3 -0
- package/library/components/breadcrumb.js +76 -0
- package/library/components/button-group.d.ts +3 -0
- package/library/components/button-group.js +98 -0
- package/library/components/button.d.ts +3 -0
- package/library/components/button.js +20 -0
- package/library/components/card.d.ts +3 -0
- package/library/components/card.js +171 -0
- package/library/components/checkbox.d.ts +3 -0
- package/library/components/checkbox.js +438 -0
- package/library/components/color-picker.d.ts +3 -0
- package/library/components/color-picker.js +1413 -0
- package/library/components/color-swatch-group.d.ts +3 -0
- package/library/components/color-swatch-group.js +26 -0
- package/library/components/color-swatch.d.ts +3 -0
- package/library/components/color-swatch.js +24 -0
- package/library/components/confirm-popover.d.ts +3 -0
- package/library/components/confirm-popover.js +15 -0
- package/library/components/copy-button.d.ts +3 -0
- package/library/components/copy-button.js +450 -0
- package/library/components/corner-position-input-group.d.ts +3 -0
- package/library/components/corner-position-input-group.js +146 -0
- package/library/components/cortex-element.d.ts +3 -0
- package/library/components/cortex-element.js +5 -0
- package/library/components/cropper.d.ts +3 -0
- package/library/components/cropper.js +12 -0
- package/library/components/details.d.ts +3 -0
- package/library/components/details.js +285 -0
- package/library/components/dialog.d.ts +3 -0
- package/library/components/dialog.js +26 -0
- package/library/components/divider.d.ts +3 -0
- package/library/components/divider.js +114 -0
- package/library/components/dot-pagination.d.ts +3 -0
- package/library/components/dot-pagination.js +19 -0
- package/library/components/dot-status.d.ts +3 -0
- package/library/components/dot-status.js +119 -0
- package/library/components/drawer.d.ts +3 -0
- package/library/components/drawer.js +530 -0
- package/library/components/dropdown.d.ts +3 -0
- package/library/components/dropdown.js +368 -0
- package/library/components/dynamic-select.d.ts +3 -0
- package/library/components/dynamic-select.js +337 -0
- package/library/components/e-chart.d.ts +3 -0
- package/library/components/e-chart.js +47874 -0
- package/library/components/element-clamp.d.ts +3 -0
- package/library/components/element-clamp.js +266 -0
- package/library/components/file-on-demand.d.ts +3 -0
- package/library/components/file-on-demand.js +38 -0
- package/library/components/folder-select.d.ts +3 -0
- package/library/components/folder-select.js +18 -0
- package/library/components/fonts.js +8 -0
- package/library/components/format-bytes.d.ts +3 -0
- package/library/components/format-bytes.js +43 -0
- package/library/components/format-date.d.ts +3 -0
- package/library/components/format-date.js +77 -0
- package/library/components/format-number.d.ts +3 -0
- package/library/components/format-number.js +62 -0
- package/library/components/format-time.d.ts +3 -0
- package/library/components/format-time.js +120 -0
- package/library/components/grid-item.d.ts +3 -0
- package/library/components/grid-item.js +249 -0
- package/library/components/grid.d.ts +3 -0
- package/library/components/grid.js +120 -0
- package/library/components/header.d.ts +3 -0
- package/library/components/header.js +15 -0
- package/library/components/hub-connection.d.ts +3 -0
- package/library/components/hub-connection.js +8 -0
- package/library/components/icon-button.d.ts +3 -0
- package/library/components/icon-button.js +681 -0
- package/library/components/icon.d.ts +3 -0
- package/library/components/icon.js +2551 -0
- package/library/components/iframe.d.ts +3 -0
- package/library/components/iframe.js +14 -0
- package/library/components/image-comparer.d.ts +3 -0
- package/library/components/image-comparer.js +199 -0
- package/library/components/image.d.ts +3 -0
- package/library/components/image.js +23 -0
- package/library/components/include.d.ts +3 -0
- package/library/components/include.js +78 -0
- package/library/components/input-group.d.ts +3 -0
- package/library/components/input-group.js +93 -0
- package/library/components/input.d.ts +3 -0
- package/library/components/input.js +3462 -0
- package/library/components/line-clamp.d.ts +3 -0
- package/library/components/line-clamp.js +228 -0
- package/library/components/list-editor.d.ts +3 -0
- package/library/components/list-editor.js +33 -0
- package/library/components/markdown.d.ts +3 -0
- package/library/components/markdown.js +2708 -0
- package/library/components/masonry.d.ts +3 -0
- package/library/components/masonry.js +403 -0
- package/library/components/menu-item.d.ts +3 -0
- package/library/components/menu-item.js +697 -0
- package/library/components/menu-label.d.ts +3 -0
- package/library/components/menu-label.js +39 -0
- package/library/components/menu-section.d.ts +3 -0
- package/library/components/menu-section.js +66 -0
- package/library/components/menu.d.ts +3 -0
- package/library/components/menu.js +429 -0
- package/library/components/molecules.js +38 -0
- package/library/components/mutation-observer.d.ts +3 -0
- package/library/components/mutation-observer.js +102 -0
- package/library/components/option.d.ts +3 -0
- package/library/components/option.js +16 -0
- package/library/components/organisms.js +8 -0
- package/library/components/padding-input-group.d.ts +3 -0
- package/library/components/padding-input-group.js +81 -0
- package/library/components/pagination.d.ts +3 -0
- package/library/components/pagination.js +20 -0
- package/library/components/popup.d.ts +3 -0
- package/library/components/popup.js +3298 -0
- package/library/components/position-picker.d.ts +3 -0
- package/library/components/position-picker.js +134 -0
- package/library/components/progress-bar.d.ts +3 -0
- package/library/components/progress-bar.js +162 -0
- package/library/components/progress-ring.d.ts +3 -0
- package/library/components/progress-ring.js +139 -0
- package/library/components/qr-code.d.ts +3 -0
- package/library/components/qr-code.js +612 -0
- package/library/components/radio-button.d.ts +3 -0
- package/library/components/radio-button.js +153 -0
- package/library/components/radio-card.d.ts +3 -0
- package/library/components/radio-card.js +264 -0
- package/library/components/radio-group.d.ts +3 -0
- package/library/components/radio-group.js +341 -0
- package/library/components/radio.d.ts +3 -0
- package/library/components/radio.js +250 -0
- package/library/components/range.d.ts +3 -0
- package/library/components/range.js +1474 -0
- package/library/components/rating.d.ts +3 -0
- package/library/components/rating.js +363 -0
- package/library/components/relative-time.d.ts +3 -0
- package/library/components/relative-time.js +102 -0
- package/library/components/resize-observer.d.ts +3 -0
- package/library/components/resize-observer.js +66 -0
- package/library/components/select.d.ts +3 -0
- package/library/components/select.js +1444 -0
- package/library/components/shadow-input-group.d.ts +3 -0
- package/library/components/shadow-input-group.js +119 -0
- package/library/components/share-option-list.d.ts +3 -0
- package/library/components/share-option-list.js +767 -0
- package/library/components/sidebar.d.ts +3 -0
- package/library/components/sidebar.js +324 -0
- package/library/components/size-input-group.d.ts +3 -0
- package/library/components/size-input-group.js +231 -0
- package/library/components/skeleton.d.ts +3 -0
- package/library/components/skeleton.js +106 -0
- package/library/components/space.d.ts +3 -0
- package/library/components/space.js +180 -0
- package/library/components/spinner.d.ts +3 -0
- package/library/components/spinner.js +95 -0
- package/library/components/split-panel.d.ts +3 -0
- package/library/components/split-panel.js +264 -0
- package/library/components/step.d.ts +3 -0
- package/library/components/step.js +362 -0
- package/library/components/stepper-wizard.d.ts +3 -0
- package/library/components/stepper-wizard.js +111 -0
- package/library/components/stepper.d.ts +3 -0
- package/library/components/stepper.js +73 -0
- package/library/components/switch.d.ts +3 -0
- package/library/components/switch.js +435 -0
- package/library/components/tab-group.d.ts +3 -0
- package/library/components/tab-group.js +29 -0
- package/library/components/tab-panel.d.ts +3 -0
- package/library/components/tab-panel.js +72 -0
- package/library/components/tab.d.ts +3 -0
- package/library/components/tab.js +382 -0
- package/library/components/table.d.ts +3 -0
- package/library/components/table.js +78 -0
- package/library/components/tag.d.ts +3 -0
- package/library/components/tag.js +214 -0
- package/library/components/textarea.d.ts +3 -0
- package/library/components/textarea.js +620 -0
- package/library/components/timecode.d.ts +3 -0
- package/library/components/timecode.js +100 -0
- package/library/components/tooltip.d.ts +3 -0
- package/library/components/tooltip.js +274 -0
- package/library/components/tree-item.d.ts +3 -0
- package/library/components/tree-item.js +21 -0
- package/library/components/tree.d.ts +3 -0
- package/library/components/tree.js +16 -0
- package/library/components/typeface.d.ts +3 -0
- package/library/components/typeface.js +205 -0
- package/library/components/types.js +155591 -0
- package/library/components/typography.d.ts +3 -0
- package/library/components/typography.js +8 -0
- package/library/components/video.d.ts +3 -0
- package/library/components/video.js +49645 -0
- package/library/components/visually-hidden.d.ts +3 -0
- package/library/components/visually-hidden.js +34 -0
- package/library/css/ol-base.css +215 -0
- package/library/css/ol-dark.css +152 -0
- package/library/css/ol-light.css +153 -0
- package/library/events.d.ts +1 -0
- package/library/events.js +1 -0
- package/library/fonts.d.ts +1 -0
- package/library/molecules.d.ts +1 -0
- package/library/organisms.d.ts +1 -0
- package/library/package.json +49 -0
- package/library/packages/atoms/src/animations/attention_seekers/bounce.d.ts +16 -0
- package/library/packages/atoms/src/animations/attention_seekers/flash.d.ts +4 -0
- package/library/packages/atoms/src/animations/attention_seekers/headShake.d.ts +4 -0
- package/library/packages/atoms/src/animations/attention_seekers/heartBeat.d.ts +4 -0
- package/library/packages/atoms/src/animations/attention_seekers/jello.d.ts +4 -0
- package/library/packages/atoms/src/animations/attention_seekers/pulse.d.ts +4 -0
- package/library/packages/atoms/src/animations/attention_seekers/rubberBand.d.ts +4 -0
- package/library/packages/atoms/src/animations/attention_seekers/shake.d.ts +4 -0
- package/library/packages/atoms/src/animations/attention_seekers/shakeX.d.ts +4 -0
- package/library/packages/atoms/src/animations/attention_seekers/shakeY.d.ts +4 -0
- package/library/packages/atoms/src/animations/attention_seekers/swing.d.ts +4 -0
- package/library/packages/atoms/src/animations/attention_seekers/tada.d.ts +4 -0
- package/library/packages/atoms/src/animations/attention_seekers/wobble.d.ts +4 -0
- package/library/packages/atoms/src/animations/back_entrances/backInDown.d.ts +5 -0
- package/library/packages/atoms/src/animations/back_entrances/backInLeft.d.ts +5 -0
- package/library/packages/atoms/src/animations/back_entrances/backInRight.d.ts +5 -0
- package/library/packages/atoms/src/animations/back_entrances/backInUp.d.ts +5 -0
- package/library/packages/atoms/src/animations/back_exits/backOutDown.d.ts +5 -0
- package/library/packages/atoms/src/animations/back_exits/backOutLeft.d.ts +5 -0
- package/library/packages/atoms/src/animations/back_exits/backOutRight.d.ts +5 -0
- package/library/packages/atoms/src/animations/back_exits/backOutUp.d.ts +5 -0
- package/library/packages/atoms/src/animations/bouncing_entrances/bounceIn.d.ts +16 -0
- package/library/packages/atoms/src/animations/bouncing_entrances/bounceInDown.d.ts +16 -0
- package/library/packages/atoms/src/animations/bouncing_entrances/bounceInLeft.d.ts +16 -0
- package/library/packages/atoms/src/animations/bouncing_entrances/bounceInRight.d.ts +16 -0
- package/library/packages/atoms/src/animations/bouncing_entrances/bounceInUp.d.ts +16 -0
- package/library/packages/atoms/src/animations/bouncing_exits/bounceOut.d.ts +9 -0
- package/library/packages/atoms/src/animations/bouncing_exits/bounceOutDown.d.ts +9 -0
- package/library/packages/atoms/src/animations/bouncing_exits/bounceOutLeft.d.ts +5 -0
- package/library/packages/atoms/src/animations/bouncing_exits/bounceOutRight.d.ts +5 -0
- package/library/packages/atoms/src/animations/bouncing_exits/bounceOutUp.d.ts +9 -0
- package/library/packages/atoms/src/animations/easings/easings.d.ts +31 -0
- package/library/packages/atoms/src/animations/fading_entrances/fadeIn.d.ts +4 -0
- package/library/packages/atoms/src/animations/fading_entrances/fadeInBottomLeft.d.ts +5 -0
- package/library/packages/atoms/src/animations/fading_entrances/fadeInBottomRight.d.ts +5 -0
- package/library/packages/atoms/src/animations/fading_entrances/fadeInDown.d.ts +5 -0
- package/library/packages/atoms/src/animations/fading_entrances/fadeInDownBig.d.ts +5 -0
- package/library/packages/atoms/src/animations/fading_entrances/fadeInLeft.d.ts +5 -0
- package/library/packages/atoms/src/animations/fading_entrances/fadeInLeftBig.d.ts +5 -0
- package/library/packages/atoms/src/animations/fading_entrances/fadeInRight.d.ts +5 -0
- package/library/packages/atoms/src/animations/fading_entrances/fadeInRightBig.d.ts +5 -0
- package/library/packages/atoms/src/animations/fading_entrances/fadeInTopLeft.d.ts +5 -0
- package/library/packages/atoms/src/animations/fading_entrances/fadeInTopRight.d.ts +5 -0
- package/library/packages/atoms/src/animations/fading_entrances/fadeInUp.d.ts +5 -0
- package/library/packages/atoms/src/animations/fading_entrances/fadeInUpBig.d.ts +5 -0
- package/library/packages/atoms/src/animations/fading_exits/fadeOut.d.ts +4 -0
- package/library/packages/atoms/src/animations/fading_exits/fadeOutBottomLeft.d.ts +5 -0
- package/library/packages/atoms/src/animations/fading_exits/fadeOutBottomRight.d.ts +5 -0
- package/library/packages/atoms/src/animations/fading_exits/fadeOutDown.d.ts +9 -0
- package/library/packages/atoms/src/animations/fading_exits/fadeOutDownBig.d.ts +9 -0
- package/library/packages/atoms/src/animations/fading_exits/fadeOutLeft.d.ts +9 -0
- package/library/packages/atoms/src/animations/fading_exits/fadeOutLeftBig.d.ts +9 -0
- package/library/packages/atoms/src/animations/fading_exits/fadeOutRight.d.ts +9 -0
- package/library/packages/atoms/src/animations/fading_exits/fadeOutRightBig.d.ts +9 -0
- package/library/packages/atoms/src/animations/fading_exits/fadeOutTopLeft.d.ts +5 -0
- package/library/packages/atoms/src/animations/fading_exits/fadeOutTopRight.d.ts +5 -0
- package/library/packages/atoms/src/animations/fading_exits/fadeOutUp.d.ts +9 -0
- package/library/packages/atoms/src/animations/fading_exits/fadeOutUpBig.d.ts +9 -0
- package/library/packages/atoms/src/animations/flippers/flip.d.ts +5 -0
- package/library/packages/atoms/src/animations/flippers/flipInX.d.ts +21 -0
- package/library/packages/atoms/src/animations/flippers/flipInY.d.ts +21 -0
- package/library/packages/atoms/src/animations/flippers/flipOutX.d.ts +9 -0
- package/library/packages/atoms/src/animations/flippers/flipOutY.d.ts +9 -0
- package/library/packages/atoms/src/animations/index.d.ts +99 -0
- package/library/packages/atoms/src/animations/lightspeed/lightSpeedInLeft.d.ts +9 -0
- package/library/packages/atoms/src/animations/lightspeed/lightSpeedInRight.d.ts +9 -0
- package/library/packages/atoms/src/animations/lightspeed/lightSpeedOutLeft.d.ts +9 -0
- package/library/packages/atoms/src/animations/lightspeed/lightSpeedOutRight.d.ts +9 -0
- package/library/packages/atoms/src/animations/rotating_entrances/rotateIn.d.ts +5 -0
- package/library/packages/atoms/src/animations/rotating_entrances/rotateInDownLeft.d.ts +5 -0
- package/library/packages/atoms/src/animations/rotating_entrances/rotateInDownRight.d.ts +5 -0
- package/library/packages/atoms/src/animations/rotating_entrances/rotateInUpLeft.d.ts +5 -0
- package/library/packages/atoms/src/animations/rotating_entrances/rotateInUpRight.d.ts +5 -0
- package/library/packages/atoms/src/animations/rotating_exits/rotateOut.d.ts +9 -0
- package/library/packages/atoms/src/animations/rotating_exits/rotateOutDownLeft.d.ts +9 -0
- package/library/packages/atoms/src/animations/rotating_exits/rotateOutDownRight.d.ts +9 -0
- package/library/packages/atoms/src/animations/rotating_exits/rotateOutUpLeft.d.ts +9 -0
- package/library/packages/atoms/src/animations/rotating_exits/rotateOutUpRight.d.ts +9 -0
- package/library/packages/atoms/src/animations/sliding_entrances/slideInDown.d.ts +9 -0
- package/library/packages/atoms/src/animations/sliding_entrances/slideInLeft.d.ts +9 -0
- package/library/packages/atoms/src/animations/sliding_entrances/slideInRight.d.ts +9 -0
- package/library/packages/atoms/src/animations/sliding_entrances/slideInUp.d.ts +9 -0
- package/library/packages/atoms/src/animations/sliding_exits/slideOutDown.d.ts +9 -0
- package/library/packages/atoms/src/animations/sliding_exits/slideOutLeft.d.ts +9 -0
- package/library/packages/atoms/src/animations/sliding_exits/slideOutRight.d.ts +9 -0
- package/library/packages/atoms/src/animations/sliding_exits/slideOutUp.d.ts +9 -0
- package/library/packages/atoms/src/animations/specials/hinge.d.ts +21 -0
- package/library/packages/atoms/src/animations/specials/jackInTheBox.d.ts +16 -0
- package/library/packages/atoms/src/animations/specials/rollIn.d.ts +5 -0
- package/library/packages/atoms/src/animations/specials/rollOut.d.ts +9 -0
- package/library/packages/atoms/src/animations/zooming_entrances/zoomIn.d.ts +9 -0
- package/library/packages/atoms/src/animations/zooming_entrances/zoomInDown.d.ts +6 -0
- package/library/packages/atoms/src/animations/zooming_entrances/zoomInLeft.d.ts +6 -0
- package/library/packages/atoms/src/animations/zooming_entrances/zoomInRight.d.ts +6 -0
- package/library/packages/atoms/src/animations/zooming_entrances/zoomInUp.d.ts +6 -0
- package/library/packages/atoms/src/animations/zooming_exits/zoomOut.d.ts +9 -0
- package/library/packages/atoms/src/animations/zooming_exits/zoomOutDown.d.ts +6 -0
- package/library/packages/atoms/src/animations/zooming_exits/zoomOutLeft.d.ts +5 -0
- package/library/packages/atoms/src/animations/zooming_exits/zoomOutRight.d.ts +5 -0
- package/library/packages/atoms/src/animations/zooming_exits/zoomOutUp.d.ts +6 -0
- package/library/packages/atoms/src/components/alert/alert.d.ts +85 -0
- package/library/packages/atoms/src/components/alert/alert.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/am-chart/am-chart.d.ts +45 -0
- package/library/packages/atoms/src/components/am-chart/am-chart.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/am-chart/am-chart.utils.d.ts +23 -0
- package/library/packages/atoms/src/components/animated-image/animated-image.d.ts +44 -0
- package/library/packages/atoms/src/components/animated-image/animated-image.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/animation/animation.d.ts +95 -0
- package/library/packages/atoms/src/components/animation/animation.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/animation/animations.d.ts +6 -0
- package/library/packages/atoms/src/components/array-line-clamp/array-line-clamp.d.ts +45 -0
- package/library/packages/atoms/src/components/array-line-clamp/array-line-clamp.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/avatar/avatar.d.ts +47 -0
- package/library/packages/atoms/src/components/avatar/avatar.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/badge/badge.d.ts +27 -0
- package/library/packages/atoms/src/components/badge/badge.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/breadcrumb/breadcrumb.d.ts +38 -0
- package/library/packages/atoms/src/components/breadcrumb/breadcrumb.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/breadcrumb-item/breadcrumb-item.d.ts +42 -0
- package/library/packages/atoms/src/components/breadcrumb-item/breadcrumb-item.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/button/button.d.ts +165 -0
- package/library/packages/atoms/src/components/button/button.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/button-group/button-group.d.ts +31 -0
- package/library/packages/atoms/src/components/button-group/button-group.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/card/card.d.ts +42 -0
- package/library/packages/atoms/src/components/card/card.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/checkbox/checkbox.d.ts +106 -0
- package/library/packages/atoms/src/components/checkbox/checkbox.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/color-picker/color-picker.d.ts +247 -0
- package/library/packages/atoms/src/components/color-picker/color-picker.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/copy-button/copy-button.d.ts +110 -0
- package/library/packages/atoms/src/components/copy-button/copy-button.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/details/details.d.ts +66 -0
- package/library/packages/atoms/src/components/details/details.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/dialog/dialog.d.ts +157 -0
- package/library/packages/atoms/src/components/dialog/dialog.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/divider/divider.d.ts +38 -0
- package/library/packages/atoms/src/components/divider/divider.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/dot-pagination/dot-pagination.d.ts +94 -0
- package/library/packages/atoms/src/components/dot-pagination/dot-pagination.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/dot-status/dot-status.d.ts +36 -0
- package/library/packages/atoms/src/components/dot-status/dot-status.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/drawer/drawer.d.ts +127 -0
- package/library/packages/atoms/src/components/drawer/drawer.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/dropdown/dropdown.d.ts +126 -0
- package/library/packages/atoms/src/components/dropdown/dropdown.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/e-chart/e-chart-controller.d.ts +30 -0
- package/library/packages/atoms/src/components/e-chart/e-chart.d.ts +33 -0
- package/library/packages/atoms/src/components/e-chart/e-chart.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/element-clamp/element-clamp.d.ts +88 -0
- package/library/packages/atoms/src/components/element-clamp/element-clamp.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/format-bytes/format-bytes.d.ts +20 -0
- package/library/packages/atoms/src/components/format-date/format-date.d.ts +46 -0
- package/library/packages/atoms/src/components/format-number/format-number.d.ts +38 -0
- package/library/packages/atoms/src/components/format-time/format-time.d.ts +40 -0
- package/library/packages/atoms/src/components/format-time/format-time.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/grid/grid.d.ts +40 -0
- package/library/packages/atoms/src/components/grid/grid.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/grid-item/grid-item.d.ts +49 -0
- package/library/packages/atoms/src/components/grid-item/grid-item.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/header/header.d.ts +77 -0
- package/library/packages/atoms/src/components/header/header.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/hub-connection/hub-connection.d.ts +72 -0
- package/library/packages/atoms/src/components/icon/custom-icons/amazon_s3.d.ts +4 -0
- package/library/packages/atoms/src/components/icon/custom-icons/chatbot.d.ts +4 -0
- package/library/packages/atoms/src/components/icon/custom-icons/mailchimp.d.ts +4 -0
- package/library/packages/atoms/src/components/icon/custom-icons/orangelogic.d.ts +4 -0
- package/library/packages/atoms/src/components/icon/custom-icons-import-map.d.ts +10 -0
- package/library/packages/atoms/src/components/icon/font-awesome.style.d.ts +2 -0
- package/library/packages/atoms/src/components/icon/icon.d.ts +45 -0
- package/library/packages/atoms/src/components/icon/icon.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/icon-button/icon-button.d.ts +104 -0
- package/library/packages/atoms/src/components/icon-button/icon-button.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/iframe/iframe.d.ts +60 -0
- package/library/packages/atoms/src/components/iframe/iframe.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/image/image.d.ts +172 -0
- package/library/packages/atoms/src/components/image/image.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/image-comparer/image-comparer.d.ts +49 -0
- package/library/packages/atoms/src/components/image-comparer/image-comparer.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/include/include.d.ts +36 -0
- package/library/packages/atoms/src/components/include/include.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/include/request.d.ts +8 -0
- package/library/packages/atoms/src/components/input/input.d.ts +248 -0
- package/library/packages/atoms/src/components/input/input.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/input-group/input-group.d.ts +30 -0
- package/library/packages/atoms/src/components/input-group/input-group.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/line-clamp/line-clamp.d.ts +90 -0
- package/library/packages/atoms/src/components/line-clamp/line-clamp.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/markdown/markdown.d.ts +51 -0
- package/library/packages/atoms/src/components/markdown/parser.d.ts +14 -0
- package/library/packages/atoms/src/components/menu/menu.d.ts +77 -0
- package/library/packages/atoms/src/components/menu/menu.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/menu-item/menu-item.d.ts +107 -0
- package/library/packages/atoms/src/components/menu-item/menu-item.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/menu-item/submenu-controller.d.ts +43 -0
- package/library/packages/atoms/src/components/menu-label/menu-label.d.ts +19 -0
- package/library/packages/atoms/src/components/menu-label/menu-label.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/menu-section/menu-section.d.ts +33 -0
- package/library/packages/atoms/src/components/menu-section/menu-section.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/mutation-observer/mutation-observer.d.ts +48 -0
- package/library/packages/atoms/src/components/mutation-observer/mutation-observer.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/option/option.d.ts +69 -0
- package/library/packages/atoms/src/components/option/option.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/pagination/pagination.d.ts +94 -0
- package/library/packages/atoms/src/components/pagination/pagination.style.d.ts +2 -0
- package/library/packages/atoms/src/components/popup/overlay/AbstractOverlay.d.ts +73 -0
- package/library/packages/atoms/src/components/popup/overlay/ClickController.d.ts +15 -0
- package/library/packages/atoms/src/components/popup/overlay/HoverController.d.ts +21 -0
- package/library/packages/atoms/src/components/popup/overlay/InteractionController.d.ts +39 -0
- package/library/packages/atoms/src/components/popup/overlay/LongpressController.d.ts +22 -0
- package/library/packages/atoms/src/components/popup/overlay/Overlay.d.ts +137 -0
- package/library/packages/atoms/src/components/popup/overlay/OverlayDialog.d.ts +5 -0
- package/library/packages/atoms/src/components/popup/overlay/OverlayNoPopover.d.ts +5 -0
- package/library/packages/atoms/src/components/popup/overlay/OverlayPopover.d.ts +5 -0
- package/library/packages/atoms/src/components/popup/overlay/OverlayStack.d.ts +45 -0
- package/library/packages/atoms/src/components/popup/overlay/PlacementController.d.ts +41 -0
- package/library/packages/atoms/src/components/popup/overlay/VirtualTrigger.d.ts +7 -0
- package/library/packages/atoms/src/components/popup/overlay/events.d.ts +24 -0
- package/library/packages/atoms/src/components/popup/overlay/lib/base.d.ts +23 -0
- package/library/packages/atoms/src/components/popup/overlay/lib/reactive-controllers.d.ts +24 -0
- package/library/packages/atoms/src/components/popup/overlay/lib/shared.d.ts +15 -0
- package/library/packages/atoms/src/components/popup/overlay/overlay-timer.d.ts +22 -0
- package/library/packages/atoms/src/components/popup/overlay/overlay.component.d.ts +7 -0
- package/library/packages/atoms/src/components/popup/overlay/overlay.style.d.ts +2 -0
- package/library/packages/atoms/src/components/popup/overlay/slottable-request-event.d.ts +12 -0
- package/library/packages/atoms/src/components/popup/overlay/strategies.d.ts +9 -0
- package/library/packages/atoms/src/components/popup/popup.d.ts +183 -0
- package/library/packages/atoms/src/components/popup/popup.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/progress-bar/progress-bar.d.ts +35 -0
- package/library/packages/atoms/src/components/progress-bar/progress-bar.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/progress-ring/progress-ring.d.ts +35 -0
- package/library/packages/atoms/src/components/progress-ring/progress-ring.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/qr-code/qr-code.d.ts +38 -0
- package/library/packages/atoms/src/components/qr-code/qr-code.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/radio/radio.d.ts +56 -0
- package/library/packages/atoms/src/components/radio/radio.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/radio/radio.svg.d.ts +1 -0
- package/library/packages/atoms/src/components/radio-button/radio-button.d.ts +69 -0
- package/library/packages/atoms/src/components/radio-button/radio-button.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/radio-card/radio-card.d.ts +68 -0
- package/library/packages/atoms/src/components/radio-card/radio-card.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/radio-group/radio-group.d.ts +95 -0
- package/library/packages/atoms/src/components/radio-group/radio-group.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/range/mark-controller.d.ts +34 -0
- package/library/packages/atoms/src/components/range/range.d.ts +285 -0
- package/library/packages/atoms/src/components/range/range.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/range/range.utils.d.ts +105 -0
- package/library/packages/atoms/src/components/rating/rating.d.ts +78 -0
- package/library/packages/atoms/src/components/rating/rating.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/relative-time/relative-time.d.ts +49 -0
- package/library/packages/atoms/src/components/relative-time/relative-time.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/resize-observer/resize-observer.d.ts +33 -0
- package/library/packages/atoms/src/components/resize-observer/resize-observer.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/select/select.d.ts +372 -0
- package/library/packages/atoms/src/components/select/select.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/skeleton/skeleton.d.ts +27 -0
- package/library/packages/atoms/src/components/skeleton/skeleton.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/space/space.d.ts +50 -0
- package/library/packages/atoms/src/components/space/space.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/spinner/spinner.d.ts +23 -0
- package/library/packages/atoms/src/components/spinner/spinner.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/split-panel/split-panel.d.ts +79 -0
- package/library/packages/atoms/src/components/split-panel/split-panel.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/step/step.d.ts +88 -0
- package/library/packages/atoms/src/components/step/step.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/stepper/stepper.d.ts +35 -0
- package/library/packages/atoms/src/components/stepper/stepper.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/switch/switch.d.ts +92 -0
- package/library/packages/atoms/src/components/switch/switch.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/tab/tab.d.ts +60 -0
- package/library/packages/atoms/src/components/tab/tab.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/tab-group/tab-group.d.ts +207 -0
- package/library/packages/atoms/src/components/tab-group/tab-group.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/tab-panel/tab-panel.d.ts +29 -0
- package/library/packages/atoms/src/components/tab-panel/tab-panel.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/table/components/index.d.ts +2 -0
- package/library/packages/atoms/src/components/table/components/table-row-actions/table-row-actions-dropdown.d.ts +40 -0
- package/library/packages/atoms/src/components/table/components/table-row-actions/table-row-actions.d.ts +45 -0
- package/library/packages/atoms/src/components/table/components/table-row-actions/table-row-actions.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/table/components/table-toolbar/table-dropdown-filter.d.ts +36 -0
- package/library/packages/atoms/src/components/table/components/table-toolbar/table-saved-search-dropdown.d.ts +60 -0
- package/library/packages/atoms/src/components/table/components/table-toolbar/table-toolbar.d.ts +125 -0
- package/library/packages/atoms/src/components/table/components/table-toolbar/table-toolbar.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/table/filter-controller.d.ts +84 -0
- package/library/packages/atoms/src/components/table/modules/HoverMenu.d.ts +21 -0
- package/library/packages/atoms/src/components/table/styles/table-alert.styles.d.ts +5 -0
- package/library/packages/atoms/src/components/table/styles/table-base.styles.d.ts +6 -0
- package/library/packages/atoms/src/components/table/styles/table-calcs.styles.d.ts +6 -0
- package/library/packages/atoms/src/components/table/styles/table-data-tree.styles.d.ts +5 -0
- package/library/packages/atoms/src/components/table/styles/table-edit.styles.d.ts +5 -0
- package/library/packages/atoms/src/components/table/styles/table-footer.styles.d.ts +5 -0
- package/library/packages/atoms/src/components/table/styles/table-format.styles.d.ts +5 -0
- package/library/packages/atoms/src/components/table/styles/table-group-rows.styles.d.ts +5 -0
- package/library/packages/atoms/src/components/table/styles/table-header.styles.d.ts +7 -0
- package/library/packages/atoms/src/components/table/styles/table-hover-menu.styles.d.ts +5 -0
- package/library/packages/atoms/src/components/table/styles/table-move-rows.styles.d.ts +5 -0
- package/library/packages/atoms/src/components/table/styles/table-page.styles.d.ts +5 -0
- package/library/packages/atoms/src/components/table/styles/table-placeholder.styles.d.ts +5 -0
- package/library/packages/atoms/src/components/table/styles/table-popup.styles.d.ts +6 -0
- package/library/packages/atoms/src/components/table/styles/table-print.styles.d.ts +5 -0
- package/library/packages/atoms/src/components/table/styles/table-resize.styles.d.ts +5 -0
- package/library/packages/atoms/src/components/table/styles/table-responsive-layout.styles.d.ts +5 -0
- package/library/packages/atoms/src/components/table/styles/table-rows.styles.d.ts +7 -0
- package/library/packages/atoms/src/components/table/styles/table-rtl.styles.d.ts +5 -0
- package/library/packages/atoms/src/components/table/styles/table-select-range.styles.d.ts +7 -0
- package/library/packages/atoms/src/components/table/styles/table-spreadsheet.styles.d.ts +5 -0
- package/library/packages/atoms/src/components/table/table.d.ts +700 -0
- package/library/packages/atoms/src/components/table/table.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/table/table.utils.d.ts +15 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/core/ColumnManager.d.ts +71 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/core/CoreFeature.d.ts +59 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/core/FooterManager.d.ts +22 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/core/Module.d.ts +46 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/core/RowManager.d.ts +163 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/core/Tabulator.d.ts +123 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/core/TabulatorFull.d.ts +53 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/core/cell/Cell.d.ts +63 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/core/cell/CellComponent.d.ts +23 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/core/column/Column.d.ts +128 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/core/column/ColumnComponent.d.ts +28 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/core/column/defaults/options.d.ts +19 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/core/defaults/options.d.ts +4 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/core/modules/core.d.ts +3 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/core/modules/optional.d.ts +38 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/core/rendering/Renderer.d.ts +42 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/core/rendering/renderers/BasicHorizontal.d.ts +8 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/core/rendering/renderers/BasicVertical.d.ts +14 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/core/rendering/renderers/VirtualDomHorizontal.d.ts +57 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/core/rendering/renderers/VirtualDomVertical.d.ts +43 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/core/row/PseudoRow.d.ts +19 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/core/row/Row.d.ts +70 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/core/row/RowComponent.d.ts +25 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/core/tools/Alert.d.ts +14 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/core/tools/ComponentFunctionBinder.d.ts +9 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/core/tools/DataLoader.d.ts +34 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/core/tools/DependencyRegistry.d.ts +13 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/core/tools/DeprecationAdvisor.d.ts +10 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/core/tools/ExternalEventBus.d.ts +18 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/core/tools/Helpers.d.ts +9 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/core/tools/InteractionMonitor.d.ts +26 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/core/tools/InternalEventBus.d.ts +22 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/core/tools/ModuleBinder.d.ts +45 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/core/tools/OptionsList.d.ts +10 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/core/tools/Popup.d.ts +49 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/core/tools/TableRegistry.d.ts +12 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/core/types.d.ts +14 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/index.d.ts +15 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Accessibility/Accessibility.d.ts +7 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Accessor/Accessor.d.ts +18 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Accessor/defaults/accessors.d.ts +4 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Ajax/Ajax.d.ts +38 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Ajax/defaults/config.d.ts +4 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Ajax/defaults/contentTypeFormatters.d.ts +4 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Ajax/defaults/urlGenerator.d.ts +3 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Clipboard/Clipboard.d.ts +36 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Clipboard/defaults/pasteActions.d.ts +5 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Clipboard/defaults/pasteParsers.d.ts +4 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Clipboard/extensions/extensions.d.ts +7 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Clipboard/extensions/keybindings/actions.d.ts +5 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Clipboard/extensions/keybindings/bindings.d.ts +3 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/ColumnCalcs/CalcComponent.d.ts +13 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/ColumnCalcs/ColumnCalcs.d.ts +67 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/ColumnCalcs/defaults/calculations.d.ts +5 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Comms/Comms.d.ts +12 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/DataTree/DataTree.d.ts +59 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Download/Download.d.ts +19 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Download/defaults/downloaders/csv.d.ts +6 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Download/defaults/downloaders/html.d.ts +6 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Download/defaults/downloaders/json.d.ts +6 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Download/defaults/downloaders/jsonLines.d.ts +6 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Download/defaults/downloaders/pdf.d.ts +6 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Download/defaults/downloaders/xlsx.d.ts +6 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Download/defaults/downloaders.d.ts +6 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Edit/Edit.d.ts +57 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Edit/List.d.ts +107 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Edit/defaults/editors/adaptable.d.ts +7 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Edit/defaults/editors/date.d.ts +7 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Edit/defaults/editors/datetime.d.ts +7 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Edit/defaults/editors/input.d.ts +7 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Edit/defaults/editors/list.d.ts +8 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Edit/defaults/editors/number.d.ts +7 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Edit/defaults/editors/progress.d.ts +7 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Edit/defaults/editors/range.d.ts +7 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Edit/defaults/editors/star.d.ts +7 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Edit/defaults/editors/textarea.d.ts +7 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Edit/defaults/editors/tickCross.d.ts +7 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Edit/defaults/editors/time.d.ts +7 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Edit/defaults/editors.d.ts +7 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Edit/inputMask.d.ts +9 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Export/Export.d.ts +61 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Export/ExportColumn.d.ts +10 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Export/ExportRow.d.ts +12 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Export/defaults/columnLookups.d.ts +6 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Export/defaults/rowLookups.d.ts +6 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Filter/Filter.d.ts +93 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Filter/defaults/filters.d.ts +5 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Format/Format.d.ts +39 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Format/defaults/formatters/adaptable.d.ts +1 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Format/defaults/formatters/array.d.ts +1 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Format/defaults/formatters/buttonCross.d.ts +1 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Format/defaults/formatters/buttonTick.d.ts +1 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Format/defaults/formatters/color.d.ts +1 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Format/defaults/formatters/composite.d.ts +5 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Format/defaults/formatters/datetime.d.ts +1 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Format/defaults/formatters/datetimediff.d.ts +1 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Format/defaults/formatters/handle.d.ts +1 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Format/defaults/formatters/html.d.ts +1 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Format/defaults/formatters/icon.d.ts +13 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Format/defaults/formatters/image.d.ts +4 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Format/defaults/formatters/json.d.ts +1 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Format/defaults/formatters/link.d.ts +1 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Format/defaults/formatters/lookup.d.ts +1 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Format/defaults/formatters/money.d.ts +1 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Format/defaults/formatters/number.d.ts +13 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Format/defaults/formatters/plaintext.d.ts +6 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Format/defaults/formatters/progress.d.ts +10 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Format/defaults/formatters/rownum.d.ts +1 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Format/defaults/formatters/star.d.ts +1 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Format/defaults/formatters/tag.d.ts +17 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Format/defaults/formatters/textarea.d.ts +4 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Format/defaults/formatters/tickCross.d.ts +1 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Format/defaults/formatters/time.d.ts +9 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Format/defaults/formatters/toggle.d.ts +1 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Format/defaults/formatters/traffic.d.ts +5 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Format/defaults/formatters/typography.d.ts +13 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Format/defaults/formatters.d.ts +60 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Format/formatter-lookup.d.ts +17 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/FrozenColumns/FrozenColumns.d.ts +34 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/FrozenRows/FrozenRows.d.ts +22 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/GroupRows/Group.d.ts +83 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/GroupRows/GroupComponent.d.ts +21 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/GroupRows/GroupRows.d.ts +69 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/History/History.d.ts +50 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/History/defaults/redoers.d.ts +22 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/History/defaults/undoers.d.ts +22 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/History/extensions/extensions.d.ts +7 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/History/extensions/keybindings/actions.d.ts +5 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/History/extensions/keybindings/bindings.d.ts +2 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/HtmlTableImport/HtmlTableImport.d.ts +17 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Import/Import.d.ts +29 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Import/defaults/importers/array.d.ts +1 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Import/defaults/importers/csv.d.ts +1 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Import/defaults/importers/json.d.ts +1 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Import/defaults/importers/xlsx.d.ts +5 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Import/defaults/importers.d.ts +11 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Interaction/Interaction.d.ts +37 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Keybindings/Keybindings.d.ts +38 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Keybindings/defaults/actions.d.ts +5 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Keybindings/defaults/bindings.d.ts +13 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Layout/Layout.d.ts +17 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Layout/defaults/modes/fitColumns.d.ts +4 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Layout/defaults/modes/fitData.d.ts +4 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Layout/defaults/modes/fitDataGeneral.d.ts +4 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Layout/defaults/modes/fitDataStretch.d.ts +4 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Layout/defaults/modes.d.ts +13 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Localize/Localize.d.ts +26 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Localize/defaults/langs.d.ts +37 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Menu/Menu.d.ts +23 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/MoveColumns/MoveColumns.d.ts +31 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/MoveRows/MoveRows.d.ts +62 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/MoveRows/defaults/receivers.d.ts +7 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/MoveRows/defaults/senders.d.ts +7 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Mutator/Mutator.d.ts +24 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Mutator/defaults/mutators.d.ts +2 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Page/Page.d.ts +69 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Persistence/Persistence.d.ts +43 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Persistence/defaults/readers.d.ts +5 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Persistence/defaults/writers.d.ts +5 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/PlaceholderRow/PlaceholderRow.d.ts +29 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Popup/Popup.d.ts +19 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Print/Print.d.ts +16 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/ReactiveData/ReactiveData.d.ts +22 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/ResizeColumns/ResizeColumns.d.ts +33 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/ResizeRows/ResizeRows.d.ts +18 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/ResizeTable/ResizeTable.d.ts +24 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/ResponsiveLayout/ResponsiveLayout.d.ts +37 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/ResponsiveLayout/extensions/extensions.d.ts +10 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/ResponsiveLayout/extensions/formatters/responsiveCollapse.d.ts +3 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/SelectRange/Range.d.ts +60 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/SelectRange/RangeComponent.d.ts +27 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/SelectRange/SelectRange.d.ts +127 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/SelectRange/extensions/clipboard/pasteActions.d.ts +4 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/SelectRange/extensions/clipboard/pasteParsers.d.ts +4 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/SelectRange/extensions/export/columnLookups.d.ts +6 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/SelectRange/extensions/export/rowLookups.d.ts +4 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/SelectRange/extensions/extensions.d.ts +36 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/SelectRange/extensions/keybindings/actions.d.ts +5 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/SelectRange/extensions/keybindings/bindings.d.ts +15 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/SelectRow/SelectRow.d.ts +41 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/SelectRow/extensions/extensions.d.ts +10 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/SelectRow/extensions/formatters/rowSelection.d.ts +5 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Sort/Sort.d.ts +39 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Sort/defaults/sorters/alphanum.d.ts +1 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Sort/defaults/sorters/array.d.ts +1 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Sort/defaults/sorters/boolean.d.ts +1 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Sort/defaults/sorters/date.d.ts +1 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Sort/defaults/sorters/datetime.d.ts +1 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Sort/defaults/sorters/exists.d.ts +1 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Sort/defaults/sorters/number.d.ts +1 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Sort/defaults/sorters/string.d.ts +1 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Sort/defaults/sorters/time.d.ts +1 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Sort/defaults/sorters.d.ts +22 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Spreadsheet/GridCalculator.d.ts +13 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Spreadsheet/Sheet.d.ts +50 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Spreadsheet/SheetComponent.d.ts +18 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Spreadsheet/Spreadsheet.d.ts +44 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Tooltip/Tooltip.d.ts +18 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Validate/Validate.d.ts +36 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Validate/defaults/validators.d.ts +18 -0
- package/library/packages/atoms/src/components/tag/tag.d.ts +40 -0
- package/library/packages/atoms/src/components/tag/tag.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/textarea/textarea.d.ts +138 -0
- package/library/packages/atoms/src/components/textarea/textarea.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/timecode/timecode.d.ts +43 -0
- package/library/packages/atoms/src/components/timecode/timecode.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/tooltip/tooltip.d.ts +112 -0
- package/library/packages/atoms/src/components/tooltip/tooltip.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/tree/tree.d.ts +146 -0
- package/library/packages/atoms/src/components/tree/tree.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/tree-item/tree-item.d.ts +197 -0
- package/library/packages/atoms/src/components/tree-item/tree-item.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/tree-item/tree-item.utils.d.ts +29 -0
- package/library/packages/atoms/src/components/typography/typography.d.ts +23 -0
- package/library/packages/atoms/src/components/typography/typography.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/video/video.constants.d.ts +2 -0
- package/library/packages/atoms/src/components/video/video.d.ts +155 -0
- package/library/packages/atoms/src/components/video/video.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/video/videojs/videojs-vr-172.d.ts +11 -0
- package/library/packages/atoms/src/components/visually-hidden/visually-hidden.d.ts +24 -0
- package/library/packages/atoms/src/components/visually-hidden/visually-hidden.styles.d.ts +2 -0
- package/library/packages/atoms/src/index.d.ts +85 -0
- package/library/packages/atoms/src/utilities/animation-registry.d.ts +24 -0
- package/library/packages/atoms/src/utilities/animation.d.ts +1 -0
- package/library/packages/atoms/src/utilities/styles.d.ts +2 -0
- package/library/packages/atoms/src/utilities/type-check.d.ts +6 -0
- package/library/packages/base/src/cortex-element.d.ts +61 -0
- package/library/packages/base/src/cortex-light-element.d.ts +12 -0
- package/library/packages/base/src/highlightable-element.d.ts +76 -0
- package/library/packages/base/src/resizable-element.d.ts +38 -0
- package/library/packages/data/src/icons.json.d.ts +161323 -0
- package/library/packages/events/src/cx-3d-viewer-config-switch-toggle.d.ts +8 -0
- package/library/packages/events/src/cx-3d-viewer-control-animation-seek.d.ts +8 -0
- package/library/packages/events/src/cx-3d-viewer-control-fullscreen-request.d.ts +8 -0
- package/library/packages/events/src/cx-3d-viewer-control-play-button-toggle.d.ts +6 -0
- package/library/packages/events/src/cx-3d-viewer-control-replay-click.d.ts +6 -0
- package/library/packages/events/src/cx-3d-viewer-control-reset-position-click.d.ts +6 -0
- package/library/packages/events/src/cx-3d-viewer-select.d.ts +9 -0
- package/library/packages/events/src/cx-add.d.ts +6 -0
- package/library/packages/events/src/cx-after-collapse.d.ts +6 -0
- package/library/packages/events/src/cx-after-expand.d.ts +6 -0
- package/library/packages/events/src/cx-after-hide.d.ts +6 -0
- package/library/packages/events/src/cx-after-show.d.ts +6 -0
- package/library/packages/events/src/cx-asset-data-display-slot-change.d.ts +6 -0
- package/library/packages/events/src/cx-asset-picker-delete.d.ts +6 -0
- package/library/packages/events/src/cx-asset-picker-select.d.ts +8 -0
- package/library/packages/events/src/cx-asset-request-status.d.ts +9 -0
- package/library/packages/events/src/cx-bento-resize.d.ts +8 -0
- package/library/packages/events/src/cx-bicolor-picker-change.d.ts +8 -0
- package/library/packages/events/src/cx-blur.d.ts +6 -0
- package/library/packages/events/src/cx-border-input-group-change.d.ts +8 -0
- package/library/packages/events/src/cx-cancel-connection.d.ts +8 -0
- package/library/packages/events/src/cx-cancel-upload.d.ts +8 -0
- package/library/packages/events/src/cx-cancel.d.ts +6 -0
- package/library/packages/events/src/cx-change.d.ts +6 -0
- package/library/packages/events/src/cx-chart-plan-change.d.ts +10 -0
- package/library/packages/events/src/cx-clear-cache.d.ts +6 -0
- package/library/packages/events/src/cx-clear-upload.d.ts +6 -0
- package/library/packages/events/src/cx-clear.d.ts +6 -0
- package/library/packages/events/src/cx-close.d.ts +6 -0
- package/library/packages/events/src/cx-collapse.d.ts +6 -0
- package/library/packages/events/src/cx-color-swatch-picker-add.d.ts +8 -0
- package/library/packages/events/src/cx-color-swatch-picker-edit.d.ts +8 -0
- package/library/packages/events/src/cx-column-group-scroll.d.ts +6 -0
- package/library/packages/events/src/cx-column-resizable-change.d.ts +6 -0
- package/library/packages/events/src/cx-column-scroll.d.ts +6 -0
- package/library/packages/events/src/cx-columns-display-change.d.ts +8 -0
- package/library/packages/events/src/cx-comment-mention-select.d.ts +12 -0
- package/library/packages/events/src/cx-connect.d.ts +8 -0
- package/library/packages/events/src/cx-connected.d.ts +6 -0
- package/library/packages/events/src/cx-content-builder-gallery-change.d.ts +10 -0
- package/library/packages/events/src/cx-content-builder-page-change.d.ts +9 -0
- package/library/packages/events/src/cx-content-builder-page-delete.d.ts +6 -0
- package/library/packages/events/src/cx-content-builder-translatable-value-change.d.ts +13 -0
- package/library/packages/events/src/cx-copy.d.ts +8 -0
- package/library/packages/events/src/cx-corner-position-input-group-change.d.ts +12 -0
- package/library/packages/events/src/cx-dashboard-filter-change.d.ts +6 -0
- package/library/packages/events/src/cx-dashboard-table-load-more.d.ts +9 -0
- package/library/packages/events/src/cx-disconnect.d.ts +8 -0
- package/library/packages/events/src/cx-dot-pagination-change.d.ts +8 -0
- package/library/packages/events/src/cx-dot-pagination-focus.d.ts +6 -0
- package/library/packages/events/src/cx-dot-status-click.d.ts +11 -0
- package/library/packages/events/src/cx-download-format-picker-delete.d.ts +6 -0
- package/library/packages/events/src/cx-download-format-picker-select.d.ts +6 -0
- package/library/packages/events/src/cx-download-format-request-status.d.ts +9 -0
- package/library/packages/events/src/cx-drag-end.d.ts +6 -0
- package/library/packages/events/src/cx-drag-start.d.ts +6 -0
- package/library/packages/events/src/cx-enter.d.ts +9 -0
- package/library/packages/events/src/cx-error.d.ts +8 -0
- package/library/packages/events/src/cx-expand.d.ts +6 -0
- package/library/packages/events/src/cx-export-settings.d.ts +6 -0
- package/library/packages/events/src/cx-file-on-demand-load-more.d.ts +8 -0
- package/library/packages/events/src/cx-file-on-demand-pin.d.ts +8 -0
- package/library/packages/events/src/cx-file-on-demand-unpin.d.ts +8 -0
- package/library/packages/events/src/cx-finish.d.ts +6 -0
- package/library/packages/events/src/cx-focus.d.ts +6 -0
- package/library/packages/events/src/cx-folder-select-search-term-change.d.ts +8 -0
- package/library/packages/events/src/cx-gallery-chunk-request.d.ts +8 -0
- package/library/packages/events/src/cx-gallery-config-save.d.ts +9 -0
- package/library/packages/events/src/cx-gallery-item-click.d.ts +8 -0
- package/library/packages/events/src/cx-gallery-item-config.d.ts +11 -0
- package/library/packages/events/src/cx-gallery-item-delete.d.ts +9 -0
- package/library/packages/events/src/cx-gallery-item-move-left.d.ts +9 -0
- package/library/packages/events/src/cx-gallery-item-move-right.d.ts +9 -0
- package/library/packages/events/src/cx-gallery-item-open-config.d.ts +8 -0
- package/library/packages/events/src/cx-gallery-item-select.d.ts +11 -0
- package/library/packages/events/src/cx-hide.d.ts +6 -0
- package/library/packages/events/src/cx-hover.d.ts +9 -0
- package/library/packages/events/src/cx-hub-connection-disconnected.d.ts +8 -0
- package/library/packages/events/src/cx-hub-connection-reconnected.d.ts +8 -0
- package/library/packages/events/src/cx-hub-connection-reconnecting.d.ts +8 -0
- package/library/packages/events/src/cx-image-click.d.ts +15 -0
- package/library/packages/events/src/cx-import-settings.d.ts +6 -0
- package/library/packages/events/src/cx-initial-focus.d.ts +6 -0
- package/library/packages/events/src/cx-input.d.ts +6 -0
- package/library/packages/events/src/cx-invalid.d.ts +6 -0
- package/library/packages/events/src/cx-invoked.d.ts +6 -0
- package/library/packages/events/src/cx-keydown.d.ts +6 -0
- package/library/packages/events/src/cx-lazy-change.d.ts +6 -0
- package/library/packages/events/src/cx-lazy-load.d.ts +6 -0
- package/library/packages/events/src/cx-list-editor-change.d.ts +8 -0
- package/library/packages/events/src/cx-load.d.ts +6 -0
- package/library/packages/events/src/cx-mark-favorite.d.ts +8 -0
- package/library/packages/events/src/cx-masonry-select.d.ts +11 -0
- package/library/packages/events/src/cx-mount-request-asset.d.ts +6 -0
- package/library/packages/events/src/cx-mutation.d.ts +8 -0
- package/library/packages/events/src/cx-open-cache-location.d.ts +6 -0
- package/library/packages/events/src/cx-open-drive.d.ts +24 -0
- package/library/packages/events/src/cx-open-search.d.ts +6 -0
- package/library/packages/events/src/cx-padding-input-group-change.d.ts +8 -0
- package/library/packages/events/src/cx-page-change.d.ts +8 -0
- package/library/packages/events/src/cx-page-outline-headings-count.d.ts +8 -0
- package/library/packages/events/src/cx-page-outline-item-click.d.ts +8 -0
- package/library/packages/events/src/cx-page-size-change.d.ts +8 -0
- package/library/packages/events/src/cx-pause-upload.d.ts +8 -0
- package/library/packages/events/src/cx-ready.d.ts +6 -0
- package/library/packages/events/src/cx-refresh.d.ts +6 -0
- package/library/packages/events/src/cx-register-tag.d.ts +8 -0
- package/library/packages/events/src/cx-remove.d.ts +6 -0
- package/library/packages/events/src/cx-renew-token.d.ts +6 -0
- package/library/packages/events/src/cx-reorder.d.ts +15 -0
- package/library/packages/events/src/cx-reposition.d.ts +6 -0
- package/library/packages/events/src/cx-request-close.d.ts +9 -0
- package/library/packages/events/src/cx-resize.d.ts +8 -0
- package/library/packages/events/src/cx-resume-upload.d.ts +8 -0
- package/library/packages/events/src/cx-retry-upload.d.ts +8 -0
- package/library/packages/events/src/cx-save-settings.d.ts +10 -0
- package/library/packages/events/src/cx-save.d.ts +6 -0
- package/library/packages/events/src/cx-sb-button-click.d.ts +14 -0
- package/library/packages/events/src/cx-search.d.ts +8 -0
- package/library/packages/events/src/cx-select.d.ts +8 -0
- package/library/packages/events/src/cx-selected-change.d.ts +8 -0
- package/library/packages/events/src/cx-selection-change.d.ts +8 -0
- package/library/packages/events/src/cx-shadow-input-group-change.d.ts +8 -0
- package/library/packages/events/src/cx-share-option-list-item-selected.d.ts +8 -0
- package/library/packages/events/src/cx-show.d.ts +6 -0
- package/library/packages/events/src/cx-slide-change.d.ts +9 -0
- package/library/packages/events/src/cx-start.d.ts +6 -0
- package/library/packages/events/src/cx-swatch-add.d.ts +6 -0
- package/library/packages/events/src/cx-tab-hide.d.ts +8 -0
- package/library/packages/events/src/cx-tab-show.d.ts +8 -0
- package/library/packages/events/src/cx-table-advanced-search-click.d.ts +6 -0
- package/library/packages/events/src/cx-table-dropdown-filter-change.d.ts +13 -0
- package/library/packages/events/src/cx-table-export.d.ts +10 -0
- package/library/packages/events/src/cx-table-row-action-click.d.ts +15 -0
- package/library/packages/events/src/cx-table-save-search-select.d.ts +8 -0
- package/library/packages/events/src/cx-time-based-change.d.ts +8 -0
- package/library/packages/events/src/cx-time-update.d.ts +8 -0
- package/library/packages/events/src/cx-typeface-change.d.ts +6 -0
- package/library/packages/events/src/cx-typeface-download.d.ts +6 -0
- package/library/packages/events/src/cx-unmark-favorite.d.ts +8 -0
- package/library/packages/events/src/cx-video-click.d.ts +15 -0
- package/library/packages/events/src/cx-video-editor-track-canvas-ready.d.ts +8 -0
- package/library/packages/events/src/cx-video-editor-track-click.d.ts +11 -0
- package/library/packages/events/src/cx-video-editor-transition-click.d.ts +11 -0
- package/library/packages/events/src/cx-view-logs.d.ts +8 -0
- package/library/packages/events/src/events.d.ts +145 -0
- package/library/packages/molecules/src/3d-viewer/3d-viewer.constants.d.ts +28 -0
- package/library/packages/molecules/src/3d-viewer/3d-viewer.d.ts +202 -0
- package/library/packages/molecules/src/3d-viewer/3d-viewer.styles.d.ts +2 -0
- package/library/packages/molecules/src/3d-viewer/components/3d-viewer-config/3d-viewer-config.d.ts +76 -0
- package/library/packages/molecules/src/3d-viewer/components/3d-viewer-config/3d-viewer-config.styles.d.ts +2 -0
- package/library/packages/molecules/src/3d-viewer/components/3d-viewer-control/3d-viewer-control.d.ts +80 -0
- package/library/packages/molecules/src/3d-viewer/components/3d-viewer-control/3d-viewer-control.styles.d.ts +2 -0
- package/library/packages/molecules/src/3d-viewer/controllers/animation-controller.d.ts +90 -0
- package/library/packages/molecules/src/3d-viewer/controllers/camera-controller.d.ts +75 -0
- package/library/packages/molecules/src/3d-viewer/controllers/environment-controller.d.ts +65 -0
- package/library/packages/molecules/src/3d-viewer/controllers/lighting-controller.d.ts +39 -0
- package/library/packages/molecules/src/3d-viewer/controllers/model-controller.d.ts +75 -0
- package/library/packages/molecules/src/3d-viewer/controllers/scene-controller.d.ts +94 -0
- package/library/packages/molecules/src/3d-viewer/controllers/scene-effects.d.ts +92 -0
- package/library/packages/molecules/src/asset-data-display/asset-data-display.d.ts +56 -0
- package/library/packages/molecules/src/asset-data-display/asset-data-display.styles.d.ts +2 -0
- package/library/packages/molecules/src/asset-picker/asset-picker.d.ts +72 -0
- package/library/packages/molecules/src/asset-picker/asset-picker.styles.d.ts +2 -0
- package/library/packages/molecules/src/bicolor-picker/bicolor-picker.d.ts +22 -0
- package/library/packages/molecules/src/bicolor-picker/bicolor-picker.styles.d.ts +2 -0
- package/library/packages/molecules/src/border-input-group/border-input-group.d.ts +24 -0
- package/library/packages/molecules/src/border-input-group/border-input-group.styles.d.ts +2 -0
- package/library/packages/molecules/src/color-swatch/color-swatch.d.ts +136 -0
- package/library/packages/molecules/src/color-swatch/color-swatch.styles.d.ts +2 -0
- package/library/packages/molecules/src/confirm-popover/confirm-popover.d.ts +81 -0
- package/library/packages/molecules/src/confirm-popover/confirm-popover.style.d.ts +2 -0
- package/library/packages/molecules/src/corner-position-input-group/corner-position-input-group.d.ts +39 -0
- package/library/packages/molecules/src/corner-position-input-group/corner-position-input-group.styles.d.ts +2 -0
- package/library/packages/molecules/src/cropper/cropper.d.ts +60 -0
- package/library/packages/molecules/src/cropper/cropper.styles.d.ts +2 -0
- package/library/packages/molecules/src/cropper/react/Cropper.d.ts +38 -0
- package/library/packages/molecules/src/cropper/react/ReactCrop/ReactCrop.d.ts +140 -0
- package/library/packages/molecules/src/cropper/react/ReactCrop/index.d.ts +4 -0
- package/library/packages/molecules/src/cropper/react/ReactCrop/types.d.ts +17 -0
- package/library/packages/molecules/src/cropper/react/ReactCrop/utils.d.ts +26 -0
- package/library/packages/molecules/src/dashboard-iframe/dashboard-iframe.d.ts +61 -0
- package/library/packages/molecules/src/dashboard-iframe/dashboard-iframe.styles.d.ts +2 -0
- package/library/packages/molecules/src/data-tab-group/data-tab-group.d.ts +36 -0
- package/library/packages/molecules/src/data-tab-group/data-tab-group.styles.d.ts +2 -0
- package/library/packages/molecules/src/details-group/details-group.d.ts +27 -0
- package/library/packages/molecules/src/details-group/details-group.styles.d.ts +2 -0
- package/library/packages/molecules/src/docs-example/docs-example.d.ts +76 -0
- package/library/packages/molecules/src/docs-example/docs-example.style.d.ts +2 -0
- package/library/packages/molecules/src/download-format-picker/download-format-picker.d.ts +73 -0
- package/library/packages/molecules/src/download-format-picker/download-format-picker.styles.d.ts +2 -0
- package/library/packages/molecules/src/dynamic-select/dynamic-select.d.ts +209 -0
- package/library/packages/molecules/src/estimated-reading-time/estimated-reading-time.d.ts +49 -0
- package/library/packages/molecules/src/estimated-reading-time/estimated-reading-time.styles.d.ts +2 -0
- package/library/packages/molecules/src/folder-select/components/folder-select-tree/folder-select-tree.d.ts +50 -0
- package/library/packages/molecules/src/folder-select/components/folder-select-tree-item/folder-select-tree-item.d.ts +56 -0
- package/library/packages/molecules/src/folder-select/folder-select.d.ts +59 -0
- package/library/packages/molecules/src/folder-select/folder-select.styles.d.ts +2 -0
- package/library/packages/molecules/src/gallery-item/gallery-item.d.ts +157 -0
- package/library/packages/molecules/src/gallery-item/gallery-item.styles.d.ts +2 -0
- package/library/packages/molecules/src/graph-view/graph-view.d.ts +99 -0
- package/library/packages/molecules/src/graph-view/graph-view.styles.d.ts +2 -0
- package/library/packages/molecules/src/graph-view/react/GraphView.d.ts +17 -0
- package/library/packages/molecules/src/graph-view/react/components/ArrayClamp.d.ts +9 -0
- package/library/packages/molecules/src/graph-view/react/components/CustomControls.d.ts +5 -0
- package/library/packages/molecules/src/graph-view/react/components/CustomEdge.d.ts +4 -0
- package/library/packages/molecules/src/graph-view/react/components/CustomNode.d.ts +12 -0
- package/library/packages/molecules/src/graph-view/react/components/EdgeMenu.d.ts +7 -0
- package/library/packages/molecules/src/graph-view/react/components/GhostNode.d.ts +7 -0
- package/library/packages/molecules/src/graph-view/react/components/Loader.d.ts +5 -0
- package/library/packages/molecules/src/graph-view/react/components/SelfDecorEdge.d.ts +4 -0
- package/library/packages/molecules/src/graph-view/react/components/TemporaryEdge.d.ts +4 -0
- package/library/packages/molecules/src/graph-view/react/components/index.d.ts +7 -0
- package/library/packages/molecules/src/graph-view/react/constant.d.ts +51 -0
- package/library/packages/molecules/src/graph-view/react/context.d.ts +20 -0
- package/library/packages/molecules/src/graph-view/react/getSmoothstepEdge.d.ts +44 -0
- package/library/packages/molecules/src/graph-view/react/helpers/countRectanglesCrossed.d.ts +14 -0
- package/library/packages/molecules/src/graph-view/react/helpers/edgeLabelPosition.d.ts +41 -0
- package/library/packages/molecules/src/graph-view/react/helpers/edgeLayout.d.ts +42 -0
- package/library/packages/molecules/src/graph-view/react/helpers/generateSelfDecorEdge.d.ts +3 -0
- package/library/packages/molecules/src/graph-view/react/helpers/placeAlongThePath.d.ts +20 -0
- package/library/packages/molecules/src/graph-view/react/hooks/index.d.ts +1 -0
- package/library/packages/molecules/src/graph-view/react/hooks/useEdge.d.ts +29 -0
- package/library/packages/molecules/src/graph-view/react/index.d.ts +4 -0
- package/library/packages/molecules/src/graph-view/react/utils.d.ts +58 -0
- package/library/packages/molecules/src/icon-picker/icon-picker.d.ts +80 -0
- package/library/packages/molecules/src/icon-picker/icon-picker.styles.d.ts +2 -0
- package/library/packages/molecules/src/index.d.ts +36 -0
- package/library/packages/molecules/src/library-index.d.ts +18 -0
- package/library/packages/molecules/src/list-editor/list-editor.d.ts +114 -0
- package/library/packages/molecules/src/list-editor/list-editor.styles.d.ts +2 -0
- package/library/packages/molecules/src/masonry/masonry.d.ts +91 -0
- package/library/packages/molecules/src/masonry/masonry.styles.d.ts +2 -0
- package/library/packages/molecules/src/padding-input-group/padding-input-group.d.ts +20 -0
- package/library/packages/molecules/src/padding-input-group/padding-input-group.styles.d.ts +2 -0
- package/library/packages/molecules/src/page-outline/page-outline.d.ts +104 -0
- package/library/packages/molecules/src/page-outline/page-outline.styles.d.ts +2 -0
- package/library/packages/molecules/src/position-picker/position-picker.d.ts +30 -0
- package/library/packages/molecules/src/position-picker/position-picker.styles.d.ts +2 -0
- package/library/packages/molecules/src/search-box/search-box.d.ts +108 -0
- package/library/packages/molecules/src/search-box/search-box.styles.d.ts +2 -0
- package/library/packages/molecules/src/shadow-input-group/shadow-input-group.d.ts +25 -0
- package/library/packages/molecules/src/shadow-input-group/shadow-input-group.styles.d.ts +2 -0
- package/library/packages/molecules/src/share-option-list/components/share-option-list-item.d.ts +30 -0
- package/library/packages/molecules/src/share-option-list/components/share-option-list-item.styles.d.ts +2 -0
- package/library/packages/molecules/src/share-option-list/share-option-list.d.ts +122 -0
- package/library/packages/molecules/src/share-option-list/share-option-list.styles.d.ts +2 -0
- package/library/packages/molecules/src/sidebar/sidebar.d.ts +87 -0
- package/library/packages/molecules/src/sidebar/sidebar.styles.d.ts +2 -0
- package/library/packages/molecules/src/size-input-group/size-input-group.d.ts +54 -0
- package/library/packages/molecules/src/size-input-group/size-input-group.styles.d.ts +2 -0
- package/library/packages/molecules/src/stat-card/stat-card.d.ts +81 -0
- package/library/packages/molecules/src/stat-card/stat-card.styles.d.ts +2 -0
- package/library/packages/molecules/src/stepper-wizard/stepper-wizard.d.ts +32 -0
- package/library/packages/molecules/src/stepper-wizard/stepper-wizard.styles.d.ts +2 -0
- package/library/packages/molecules/src/storybook/storybook.d.ts +60 -0
- package/library/packages/molecules/src/storybook/storybook.styles.d.ts +2 -0
- package/library/packages/molecules/src/timeline/timeline.d.ts +53 -0
- package/library/packages/molecules/src/timeline/timeline.styles.d.ts +2 -0
- package/library/packages/molecules/src/typeface/typeface.d.ts +72 -0
- package/library/packages/molecules/src/typeface/typeface.styles.d.ts +2 -0
- package/library/packages/molecules/src/view-and-sort/view-and-sort.d.ts +65 -0
- package/library/packages/molecules/src/view-and-sort/view-and-sort.styles.d.ts +2 -0
- package/library/packages/organisms/src/asset-link-format/asset-link-format.d.ts +289 -0
- package/library/packages/organisms/src/asset-link-format/asset-link-format.styles.d.ts +2 -0
- package/library/packages/organisms/src/asset-link-format/asset-link-format.utils.d.ts +10 -0
- package/library/packages/organisms/src/asset-link-format/components/asset-link-format-crop/asset-link-format-crop.d.ts +205 -0
- package/library/packages/organisms/src/asset-link-format/components/asset-link-format-crop/asset-link-format-crop.styles.d.ts +2 -0
- package/library/packages/organisms/src/asset-link-format/components/asset-link-format-extension/asset-link-format-extension.d.ts +49 -0
- package/library/packages/organisms/src/asset-link-format/components/asset-link-format-extension/asset-link-format-extension.styles.d.ts +2 -0
- package/library/packages/organisms/src/asset-link-format/components/asset-link-format-proxy/asset-link-format-proxy.d.ts +96 -0
- package/library/packages/organisms/src/asset-link-format/components/asset-link-format-proxy/asset-link-format-proxy.styles.d.ts +2 -0
- package/library/packages/organisms/src/asset-link-format/components/asset-link-format-quality/asset-link-format-quality.d.ts +87 -0
- package/library/packages/organisms/src/asset-link-format/components/asset-link-format-quality/asset-link-format-quality.styles.d.ts +2 -0
- package/library/packages/organisms/src/asset-link-format/components/asset-link-format-resize/asset-link-format-resize.d.ts +164 -0
- package/library/packages/organisms/src/asset-link-format/components/asset-link-format-resize/asset-link-format-resize.styles.d.ts +2 -0
- package/library/packages/organisms/src/asset-link-format/components/asset-link-format-rotation/asset-link-format-rotation.d.ts +80 -0
- package/library/packages/organisms/src/asset-link-format/components/asset-link-format-rotation/asset-link-format-rotation.styles.d.ts +2 -0
- package/library/packages/organisms/src/asset-link-format/components/asset-link-metadata/asset-link-format-metadata.d.ts +69 -0
- package/library/packages/organisms/src/asset-link-format/components/asset-link-metadata/asset-link-format-metadata.styles.d.ts +2 -0
- package/library/packages/organisms/src/bento-grid/bento-grid.d.ts +241 -0
- package/library/packages/organisms/src/bento-grid/bento-grid.styles.d.ts +2 -0
- package/library/packages/organisms/src/carousel/autoplay-controller.d.ts +21 -0
- package/library/packages/organisms/src/carousel/carousel.d.ts +372 -0
- package/library/packages/organisms/src/carousel/carousel.styles.d.ts +2 -0
- package/library/packages/organisms/src/chatbot/chatbot.constants.d.ts +8 -0
- package/library/packages/organisms/src/chatbot/chatbot.d.ts +129 -0
- package/library/packages/organisms/src/chatbot/chatbot.style.d.ts +2 -0
- package/library/packages/organisms/src/chatbot/chatbot.utils.d.ts +26 -0
- package/library/packages/organisms/src/chatbot/components/chatbot-footer/chatbot-footer.d.ts +34 -0
- package/library/packages/organisms/src/chatbot/components/chatbot-footer/chatbot-footer.style.d.ts +2 -0
- package/library/packages/organisms/src/chatbot/components/chatbot-popup/chatbot-popup.d.ts +29 -0
- package/library/packages/organisms/src/chatbot/components/chatbot-popup/chatbot-popup.style.d.ts +2 -0
- package/library/packages/organisms/src/cluster-management/cluster-management.d.ts +105 -0
- package/library/packages/organisms/src/cluster-management/cluster-management.style.d.ts +2 -0
- package/library/packages/organisms/src/cluster-management/components/cluster-management-service.d.ts +44 -0
- package/library/packages/organisms/src/cluster-management/components/cluster-management-service.style.d.ts +2 -0
- package/library/packages/organisms/src/color-swatch-group/color-swatch-group.constants.d.ts +116 -0
- package/library/packages/organisms/src/color-swatch-group/color-swatch-group.d.ts +116 -0
- package/library/packages/organisms/src/color-swatch-group/color-swatch-group.styles.d.ts +2 -0
- package/library/packages/organisms/src/comment/comment.d.ts +134 -0
- package/library/packages/organisms/src/comment/comment.extensions.d.ts +9 -0
- package/library/packages/organisms/src/comment/comment.styles.d.ts +2 -0
- package/library/packages/organisms/src/comment/components/comment-mention/comment-mention.d.ts +44 -0
- package/library/packages/organisms/src/comment/components/comment-mention/comment-mention.styles.d.ts +2 -0
- package/library/packages/organisms/src/comment/components/comment-menu/comment-menu.d.ts +102 -0
- package/library/packages/organisms/src/comment/components/comment-menu/comment-menu.styles.d.ts +2 -0
- package/library/packages/organisms/src/comment/extensions/bullet-list.d.ts +2 -0
- package/library/packages/organisms/src/comment/extensions/google.d.ts +7 -0
- package/library/packages/organisms/src/comment/extensions/index.d.ts +2 -0
- package/library/packages/organisms/src/comment/extensions/link.d.ts +2 -0
- package/library/packages/organisms/src/comment/extensions/mention.d.ts +82 -0
- package/library/packages/organisms/src/comment/extensions/ordered-list.d.ts +2 -0
- package/library/packages/organisms/src/comment/extensions/time.d.ts +63 -0
- package/library/packages/organisms/src/content-builder/components/block-picker/block-picker.d.ts +129 -0
- package/library/packages/organisms/src/content-builder/components/block-picker/block-picker.styles.d.ts +2 -0
- package/library/packages/organisms/src/content-builder/components/block-picker/index.d.ts +1 -0
- package/library/packages/organisms/src/content-builder/components/chart-plan.builder/chart-plan-builder.d.ts +88 -0
- package/library/packages/organisms/src/content-builder/components/chart-plan.builder/chart-plan-builder.styles.d.ts +2 -0
- package/library/packages/organisms/src/content-builder/components/chart-plan.builder/chart-plan-schema.d.ts +100 -0
- package/library/packages/organisms/src/content-builder/components/color-swatch-picker/color-swatch-picker.constants.d.ts +57 -0
- package/library/packages/organisms/src/content-builder/components/color-swatch-picker/color-swatch-picker.d.ts +168 -0
- package/library/packages/organisms/src/content-builder/components/color-swatch-picker/color-swatch-picker.styles.d.ts +2 -0
- package/library/packages/organisms/src/content-builder/components/color-swatch-picker/index.d.ts +1 -0
- package/library/packages/organisms/src/content-builder/components/config-form/config-form-controller.d.ts +19 -0
- package/library/packages/organisms/src/content-builder/components/config-form/config-form.d.ts +335 -0
- package/library/packages/organisms/src/content-builder/components/config-form/config-form.styles.d.ts +2 -0
- package/library/packages/organisms/src/content-builder/components/config-form/index.d.ts +1 -0
- package/library/packages/organisms/src/content-builder/components/config-manager/config-manager.d.ts +209 -0
- package/library/packages/organisms/src/content-builder/components/config-manager/config-manager.styles.d.ts +2 -0
- package/library/packages/organisms/src/content-builder/components/config-manager/config-manager.utils.d.ts +12 -0
- package/library/packages/organisms/src/content-builder/components/config-manager/index.d.ts +1 -0
- package/library/packages/organisms/src/content-builder/components/folder-picker/folder-picker.d.ts +69 -0
- package/library/packages/organisms/src/content-builder/components/folder-picker/folder-picker.styles.d.ts +2 -0
- package/library/packages/organisms/src/content-builder/components/folder-picker/index.d.ts +1 -0
- package/library/packages/organisms/src/content-builder/components/gallery-config/gallery-config.d.ts +110 -0
- package/library/packages/organisms/src/content-builder/components/gallery-config/gallery-config.styles.d.ts +2 -0
- package/library/packages/organisms/src/content-builder/components/gallery-picker/gallery-picker.d.ts +135 -0
- package/library/packages/organisms/src/content-builder/components/gallery-picker/gallery-picker.styles.d.ts +2 -0
- package/library/packages/organisms/src/content-builder/components/page-picker/page-picker.d.ts +65 -0
- package/library/packages/organisms/src/content-builder/components/page-picker/page-picker.styles.d.ts +2 -0
- package/library/packages/organisms/src/content-builder/configs/accordion.d.ts +15 -0
- package/library/packages/organisms/src/content-builder/configs/analytics.d.ts +14 -0
- package/library/packages/organisms/src/content-builder/configs/button.d.ts +36 -0
- package/library/packages/organisms/src/content-builder/configs/carousel.d.ts +46 -0
- package/library/packages/organisms/src/content-builder/configs/color-swatches.d.ts +18 -0
- package/library/packages/organisms/src/content-builder/configs/column-group.d.ts +14 -0
- package/library/packages/organisms/src/content-builder/configs/column.d.ts +16 -0
- package/library/packages/organisms/src/content-builder/configs/dashboard-chart.d.ts +13 -0
- package/library/packages/organisms/src/content-builder/configs/dashboard-filter.d.ts +17 -0
- package/library/packages/organisms/src/content-builder/configs/dashboard-table.d.ts +12 -0
- package/library/packages/organisms/src/content-builder/configs/dashboard.d.ts +10 -0
- package/library/packages/organisms/src/content-builder/configs/divider.d.ts +12 -0
- package/library/packages/organisms/src/content-builder/configs/font-kit.d.ts +26 -0
- package/library/packages/organisms/src/content-builder/configs/gallery.d.ts +51 -0
- package/library/packages/organisms/src/content-builder/configs/header.d.ts +19 -0
- package/library/packages/organisms/src/content-builder/configs/image.d.ts +53 -0
- package/library/packages/organisms/src/content-builder/configs/index.d.ts +23 -0
- package/library/packages/organisms/src/content-builder/configs/rich-text.d.ts +8 -0
- package/library/packages/organisms/src/content-builder/configs/search-box.d.ts +17 -0
- package/library/packages/organisms/src/content-builder/configs/stat-card.d.ts +18 -0
- package/library/packages/organisms/src/content-builder/configs/tab-group.d.ts +19 -0
- package/library/packages/organisms/src/content-builder/configs/text.d.ts +12 -0
- package/library/packages/organisms/src/content-builder/configs/timeline.d.ts +17 -0
- package/library/packages/organisms/src/content-builder/configs/video.d.ts +48 -0
- package/library/packages/organisms/src/content-builder/configs-controller.d.ts +461 -0
- package/library/packages/organisms/src/content-builder/content-builder-config.d.ts +77 -0
- package/library/packages/organisms/src/content-builder/content-builder-constants.d.ts +34 -0
- package/library/packages/organisms/src/content-builder/content-builder.d.ts +312 -0
- package/library/packages/organisms/src/content-builder/content-builder.styles.d.ts +2 -0
- package/library/packages/organisms/src/content-builder/content-builder.utils.d.ts +5 -0
- package/library/packages/organisms/src/content-builder/plugins/accordion.d.ts +5 -0
- package/library/packages/organisms/src/content-builder/plugins/analytics.d.ts +7 -0
- package/library/packages/organisms/src/content-builder/plugins/button.d.ts +5 -0
- package/library/packages/organisms/src/content-builder/plugins/carousel.d.ts +5 -0
- package/library/packages/organisms/src/content-builder/plugins/color-swatches.d.ts +5 -0
- package/library/packages/organisms/src/content-builder/plugins/column-group.d.ts +5 -0
- package/library/packages/organisms/src/content-builder/plugins/column.d.ts +5 -0
- package/library/packages/organisms/src/content-builder/plugins/core.d.ts +4 -0
- package/library/packages/organisms/src/content-builder/plugins/custom-frame.d.ts +2 -0
- package/library/packages/organisms/src/content-builder/plugins/dashboard-chart.d.ts +5 -0
- package/library/packages/organisms/src/content-builder/plugins/dashboard-filter.d.ts +5 -0
- package/library/packages/organisms/src/content-builder/plugins/dashboard-table.d.ts +5 -0
- package/library/packages/organisms/src/content-builder/plugins/dashboard.d.ts +5 -0
- package/library/packages/organisms/src/content-builder/plugins/divider.d.ts +5 -0
- package/library/packages/organisms/src/content-builder/plugins/font-kit.d.ts +5 -0
- package/library/packages/organisms/src/content-builder/plugins/gallery.d.ts +5 -0
- package/library/packages/organisms/src/content-builder/plugins/header.d.ts +5 -0
- package/library/packages/organisms/src/content-builder/plugins/image.d.ts +5 -0
- package/library/packages/organisms/src/content-builder/plugins/index.d.ts +27 -0
- package/library/packages/organisms/src/content-builder/plugins/plugin-factory.d.ts +21 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/bubble-menu.d.ts +70 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/components/index.d.ts +4 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/components/rte-bubble-menu/anchor-dialog.d.ts +35 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/components/rte-bubble-menu/image-dialog.d.ts +97 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/components/rte-bubble-menu/image-dialog.styles.d.ts +2 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/components/rte-bubble-menu/index.d.ts +3 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/components/rte-bubble-menu/rte-bubble-menu.d.ts +232 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/components/rte-bubble-menu/rte-bubble-menu.styles.d.ts +2 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/components/rte-bubble-menu/select-with-tooltip.d.ts +6 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/components/rte-bubble-menu/special-char-dialog.d.ts +45 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/components/rte-bubble-menu/special-char-dialog.styles.d.ts +2 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/components/rte-bubble-menu/table-dialog.d.ts +58 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/components/rte-bubble-menu/table-dialog.styles.d.ts +2 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/components/rte-code-block-toolbar/index.d.ts +1 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/components/rte-code-block-toolbar/rte-code-block-toolbar.d.ts +28 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/components/rte-code-block-toolbar/rte-code-block-toolbar.styles.d.ts +2 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/components/rte-image-viewer/index.d.ts +1 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/components/rte-image-viewer/rte-image-viewer.d.ts +68 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/components/rte-image-viewer/rte-image-viewer.styles.d.ts +2 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/components/rte-table-generator/index.d.ts +1 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/components/rte-table-generator/rte-table-generator.d.ts +23 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/components/rte-table-generator/rte-table-generator.styles.d.ts +2 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/constant.d.ts +48 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/extensions/anchor/index.d.ts +4 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/extensions/aside-block/index.d.ts +4 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/extensions/blockquote/index.d.ts +2 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/extensions/bullet-list/index.d.ts +7 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/extensions/code-block/CodeBlock.d.ts +44 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/extensions/code-block/CodeBlockPrism.d.ts +6 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/extensions/code-block/PrismPlugin.d.ts +6 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/extensions/code-block/index.d.ts +2 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/extensions/div/index.d.ts +4 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/extensions/document/commands.d.ts +15 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/extensions/document/index.d.ts +2 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/extensions/font-size/index.d.ts +11 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/extensions/heading/index.d.ts +2 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/extensions/highlight/index.d.ts +4 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/extensions/image/convertSrcToBlob.d.ts +6 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/extensions/image/index.d.ts +4 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/extensions/index.d.ts +28 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/extensions/inline-class/index.d.ts +7 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/extensions/line-height/index.d.ts +9 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/extensions/link/helpers/autolink.d.ts +9 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/extensions/link/helpers/clickHandler.d.ts +8 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/extensions/link/helpers/isValidUrl.d.ts +2 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/extensions/link/helpers/pasteHandler.d.ts +11 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/extensions/link/index.d.ts +2 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/extensions/list-item/commands.d.ts +3 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/extensions/list-item/index.d.ts +2 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/extensions/ordered-list/index.d.ts +8 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/extensions/other-elements/index.d.ts +4 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/extensions/other-styles/index.d.ts +7 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/extensions/paragraph/index.d.ts +2 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/extensions/placeholder/index.d.ts +61 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/extensions/table/cellselection.d.ts +23 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/extensions/table/columnResizing.d.ts +13 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/extensions/table/commands.d.ts +19 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/extensions/table/copyPaste.d.ts +11 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/extensions/table/createCell.d.ts +3 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/extensions/table/createTable.d.ts +3 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/extensions/table/fixTables.d.ts +3 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/extensions/table/getTableNodeTypes.d.ts +5 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/extensions/table/index.d.ts +4 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/extensions/table/input.d.ts +14 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/extensions/table/rowResizing.d.ts +27 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/extensions/table/tableEditing.d.ts +32 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/extensions/table/utils.d.ts +24 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/extensions/text-align/index.d.ts +2 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/extensions/text-style/index.d.ts +17 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/index.d.ts +17 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/toolbar.d.ts +10 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/utils/convertColorToHex.d.ts +2 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/utils/extendClassStyle.d.ts +6 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/utils/getImageNaturalWidthHeight.d.ts +1 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/utils/getSelectedCells.d.ts +4 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/utils/getStyles.d.ts +21 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/utils/isAbsolute.d.ts +2 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/utils/isValidAnchorId.d.ts +2 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/utils/isValidImageUrl.d.ts +3 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/utils/link.d.ts +2 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/utils/parseBooleanString.d.ts +2 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/utils/parseBorderProperty.d.ts +6 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/utils/processAnchorLink.d.ts +2 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/utils/textblockTypeInputRuleNoDelete.d.ts +3 -0
- package/library/packages/organisms/src/content-builder/plugins/search-box.d.ts +5 -0
- package/library/packages/organisms/src/content-builder/plugins/stat-card.d.ts +5 -0
- package/library/packages/organisms/src/content-builder/plugins/tab-group.d.ts +5 -0
- package/library/packages/organisms/src/content-builder/plugins/text.d.ts +5 -0
- package/library/packages/organisms/src/content-builder/plugins/timeline.d.ts +5 -0
- package/library/packages/organisms/src/content-builder/plugins/toolbar.d.ts +10 -0
- package/library/packages/organisms/src/content-builder/plugins/utils/details.d.ts +7 -0
- package/library/packages/organisms/src/content-builder/plugins/video.d.ts +5 -0
- package/library/packages/organisms/src/content-builder/plugins/wrapper-container.d.ts +4 -0
- package/library/packages/organisms/src/content-builder/styleController.d.ts +129 -0
- package/library/packages/organisms/src/downloader/data/core/WorkerProxy.d.ts +50 -0
- package/library/packages/organisms/src/downloader/data/core/worker/PortManager.d.ts +13 -0
- package/library/packages/organisms/src/downloader/data/core/worker/Requests.d.ts +66 -0
- package/library/packages/organisms/src/downloader/data/core/worker/Responses.d.ts +49 -0
- package/library/packages/organisms/src/downloader/data/core/worker/app/DownloadManager.d.ts +130 -0
- package/library/packages/organisms/src/downloader/data/core/worker/app/api/DownloadApiClient.d.ts +18 -0
- package/library/packages/organisms/src/downloader/data/core/worker/app/api/index.d.ts +3 -0
- package/library/packages/organisms/src/downloader/data/core/worker/app/db/ConcurrencyError.d.ts +3 -0
- package/library/packages/organisms/src/downloader/data/core/worker/app/db/DownloadChunksRepository.d.ts +42 -0
- package/library/packages/organisms/src/downloader/data/core/worker/app/db/DownloadDatabase.d.ts +45 -0
- package/library/packages/organisms/src/downloader/data/core/worker/app/db/DownloadFilesRepository.d.ts +119 -0
- package/library/packages/organisms/src/downloader/data/core/worker/app/db/DownloadTransactionsRepository.d.ts +38 -0
- package/library/packages/organisms/src/downloader/data/core/worker/app/db/index.d.ts +6 -0
- package/library/packages/organisms/src/downloader/data/core/worker/app/event/EventHub.d.ts +8 -0
- package/library/packages/organisms/src/downloader/data/core/worker/app/event/index.d.ts +3 -0
- package/library/packages/organisms/src/downloader/data/core/worker/app/storage/DiskStorage.d.ts +43 -0
- package/library/packages/organisms/src/downloader/data/core/worker/app/storage/IndexedDBStorage.d.ts +33 -0
- package/library/packages/organisms/src/downloader/data/core/worker/app/storage/index.d.ts +4 -0
- package/library/packages/organisms/src/downloader/data/core/worker/app/utilities/DatabaseLocker.d.ts +14 -0
- package/library/packages/organisms/src/downloader/data/core/worker/app/utilities/Logger.d.ts +9 -0
- package/library/packages/organisms/src/downloader/data/core/worker/app/utilities/Retrier.d.ts +8 -0
- package/library/packages/organisms/src/downloader/data/core/worker/app/utilities/UserPromptService.d.ts +5 -0
- package/library/packages/organisms/src/downloader/data/core/worker/app/utilities/WebLocker.d.ts +12 -0
- package/library/packages/organisms/src/downloader/data/core/worker/app/utilities/index.d.ts +6 -0
- package/library/packages/organisms/src/downloader/data/core/worker/background/BackgroundJob.d.ts +19 -0
- package/library/packages/organisms/src/downloader/data/core/worker/background/ChunkDownloader.d.ts +53 -0
- package/library/packages/organisms/src/downloader/data/core/worker/background/DownloadObserver.d.ts +18 -0
- package/library/packages/organisms/src/downloader/data/core/worker/background/DownloadSpeedMonitor.d.ts +25 -0
- package/library/packages/organisms/src/downloader/data/core/worker/background/FileChunkAssembler.d.ts +29 -0
- package/library/packages/organisms/src/downloader/data/core/worker/background/FileChunkSplitter.d.ts +23 -0
- package/library/packages/organisms/src/downloader/data/core/worker/background/LockBreaker.d.ts +15 -0
- package/library/packages/organisms/src/downloader/data/core/worker/background/ServerProcessingFileWatcher.d.ts +29 -0
- package/library/packages/organisms/src/downloader/data/core/worker/background/TransactionFilesFetcher.d.ts +33 -0
- package/library/packages/organisms/src/downloader/data/core/worker/background/index.d.ts +11 -0
- package/library/packages/organisms/src/downloader/data/core/worker/events/Event.d.ts +5 -0
- package/library/packages/organisms/src/downloader/data/core/worker/events/EventHandler.d.ts +16 -0
- package/library/packages/organisms/src/downloader/data/core/worker/events/index.d.ts +6 -0
- package/library/packages/organisms/src/downloader/data/core/worker/external/IDownloadApiClient.d.ts +60 -0
- package/library/packages/organisms/src/downloader/data/core/worker/external/index.d.ts +4 -0
- package/library/packages/organisms/src/downloader/data/core/worker/models/BaseModel.d.ts +11 -0
- package/library/packages/organisms/src/downloader/data/core/worker/models/DownloadChunk.d.ts +42 -0
- package/library/packages/organisms/src/downloader/data/core/worker/models/DownloadFile.d.ts +170 -0
- package/library/packages/organisms/src/downloader/data/core/worker/models/DownloadTransaction.d.ts +28 -0
- package/library/packages/organisms/src/downloader/data/core/worker/models/index.d.ts +5 -0
- package/library/packages/organisms/src/downloader/data/core/worker/storage/index.d.ts +34 -0
- package/library/packages/organisms/src/downloader/data/core/worker/utilities/FilePathFixer.d.ts +17 -0
- package/library/packages/organisms/src/downloader/data/core/worker/utilities/IUserPromptService.d.ts +27 -0
- package/library/packages/organisms/src/downloader/data/core/worker/utilities/index.d.ts +18 -0
- package/library/packages/organisms/src/downloader/downloader.constants.d.ts +34 -0
- package/library/packages/organisms/src/downloader/downloader.d.ts +212 -0
- package/library/packages/organisms/src/downloader/downloader.style.d.ts +2 -0
- package/library/packages/organisms/src/downloader/downloader.utils.d.ts +7 -0
- package/library/packages/organisms/src/file-on-demand/components/file-on-demand-asset/file-on-demand-asset.d.ts +95 -0
- package/library/packages/organisms/src/file-on-demand/components/file-on-demand-asset/file-on-demand-asset.styles.d.ts +2 -0
- package/library/packages/organisms/src/file-on-demand/components/file-on-demand-pinned-status.ts/file-on-demand-pinned-status.d.ts +44 -0
- package/library/packages/organisms/src/file-on-demand/components/folder-item/folder-item.d.ts +53 -0
- package/library/packages/organisms/src/file-on-demand/components/folder-tree/folder-tree.d.ts +39 -0
- package/library/packages/organisms/src/file-on-demand/components/folder-tree/folder-tree.style.d.ts +2 -0
- package/library/packages/organisms/src/file-on-demand/components/index.d.ts +2 -0
- package/library/packages/organisms/src/file-on-demand/file-on-demand.constants.d.ts +35 -0
- package/library/packages/organisms/src/file-on-demand/file-on-demand.d.ts +261 -0
- package/library/packages/organisms/src/file-on-demand/file-on-demand.style.d.ts +2 -0
- package/library/packages/organisms/src/file-on-demand/file-on-demand.utils.d.ts +58 -0
- package/library/packages/organisms/src/index.d.ts +16 -0
- package/library/packages/organisms/src/library-index.d.ts +3 -0
- package/library/packages/organisms/src/multi-select/components/board/board.d.ts +116 -0
- package/library/packages/organisms/src/multi-select/components/board/board.styles.d.ts +2 -0
- package/library/packages/organisms/src/multi-select/components/board/board.utils.d.ts +2 -0
- package/library/packages/organisms/src/multi-select/components/board-list-item/board-list-item.d.ts +49 -0
- package/library/packages/organisms/src/multi-select/components/board-list-item/board-list-item.styles.d.ts +2 -0
- package/library/packages/organisms/src/multi-select/multi-select.d.ts +85 -0
- package/library/packages/organisms/src/multi-select/multi-select.styles.d.ts +2 -0
- package/library/packages/organisms/src/multi-select/multi-select.utils.d.ts +3 -0
- package/library/packages/organisms/src/template-switcher/template-switcher-example.data.d.ts +5 -0
- package/library/packages/organisms/src/template-switcher/template-switcher.d.ts +50 -0
- package/library/packages/organisms/src/template-switcher/template-switcher.icons.d.ts +7 -0
- package/library/packages/organisms/src/text-to-speech/extensions/Break/break.d.ts +4 -0
- package/library/packages/organisms/src/text-to-speech/extensions/Break/index.d.ts +4 -0
- package/library/packages/organisms/src/text-to-speech/extensions/BubbleMenu/bubble-menu.d.ts +68 -0
- package/library/packages/organisms/src/text-to-speech/extensions/BubbleMenu/index.d.ts +4 -0
- package/library/packages/organisms/src/text-to-speech/extensions/CleanPaste/cleanPaste.d.ts +3 -0
- package/library/packages/organisms/src/text-to-speech/extensions/CleanPaste/index.d.ts +4 -0
- package/library/packages/organisms/src/text-to-speech/extensions/Selection/index.d.ts +4 -0
- package/library/packages/organisms/src/text-to-speech/extensions/Selection/selection.d.ts +3 -0
- package/library/packages/organisms/src/text-to-speech/extensions/Tune/index.d.ts +1 -0
- package/library/packages/organisms/src/text-to-speech/extensions/Tune/tune.d.ts +7 -0
- package/library/packages/organisms/src/text-to-speech/text-to-speech.api.d.ts +16 -0
- package/library/packages/organisms/src/text-to-speech/text-to-speech.constants.d.ts +232 -0
- package/library/packages/organisms/src/text-to-speech/text-to-speech.d.ts +173 -0
- package/library/packages/organisms/src/text-to-speech/text-to-speech.data.d.ts +3 -0
- package/library/packages/organisms/src/text-to-speech/text-to-speech.extensions.d.ts +16 -0
- package/library/packages/organisms/src/text-to-speech/text-to-speech.styles.d.ts +2 -0
- package/library/packages/organisms/src/text-to-speech/text-to-speech.utils.d.ts +52 -0
- package/library/packages/organisms/src/video-chapters-manager/video-chapters-manager.d.ts +71 -0
- package/library/packages/organisms/src/video-chapters-manager/video-chapters-manager.styles.d.ts +2 -0
- package/library/packages/organisms/src/video-chapters-manager/video-chapters-manager.utils.d.ts +25 -0
- package/library/packages/organisms/src/video-editor/components/video-editor-timeline/video-editor-timeline.d.ts +66 -0
- package/library/packages/organisms/src/video-editor/components/video-editor-timeline/video-editor-timeline.styles.d.ts +2 -0
- package/library/packages/organisms/src/video-editor/components/video-editor-toolbar/video-editor-toolbar.d.ts +84 -0
- package/library/packages/organisms/src/video-editor/components/video-editor-toolbar/video-editor-toolbar.styles.d.ts +2 -0
- package/library/packages/organisms/src/video-editor/components/video-editor-track/video-editor-track.d.ts +59 -0
- package/library/packages/organisms/src/video-editor/components/video-editor-track/video-editor-track.styles.d.ts +2 -0
- package/library/packages/organisms/src/video-editor/components/video-editor-tracks/video-editor-tracks.d.ts +82 -0
- package/library/packages/organisms/src/video-editor/components/video-editor-tracks/video-editor-tracks.styles.d.ts +2 -0
- package/library/packages/organisms/src/video-editor/components/video-editor-transition/video-editor-transition.d.ts +24 -0
- package/library/packages/organisms/src/video-editor/components/video-editor-transition/video-editor-transition.styles.d.ts +2 -0
- package/library/packages/organisms/src/video-editor/video-editor.d.ts +102 -0
- package/library/packages/organisms/src/video-editor/video-editor.styles.d.ts +2 -0
- package/library/packages/services/src/api/api.d.ts +2 -0
- package/library/packages/services/src/api/asset/asset.d.ts +60 -0
- package/library/packages/services/src/api/asset/asset.types.d.ts +163 -0
- package/library/packages/services/src/api/asset/index.d.ts +1 -0
- package/library/packages/services/src/api/autocomplete/autocomplete.d.ts +8 -0
- package/library/packages/services/src/api/autocomplete/index.d.ts +1 -0
- package/library/packages/services/src/api/chapter/chapter.d.ts +7 -0
- package/library/packages/services/src/api/cms5/cms5.d.ts +29 -0
- package/library/packages/services/src/api/cms5/index.d.ts +1 -0
- package/library/packages/services/src/api/dashboard/dashboard.d.ts +14 -0
- package/library/packages/services/src/api/dashboard/index.d.ts +1 -0
- package/library/packages/services/src/api/endpoints.d.ts +61 -0
- package/library/packages/services/src/api/folder/folder.d.ts +22 -0
- package/library/packages/services/src/api/folder/folder.types.d.ts +17 -0
- package/library/packages/services/src/api/folder/index.d.ts +1 -0
- package/library/packages/services/src/api/metadata/index.d.ts +1 -0
- package/library/packages/services/src/api/metadata/metadata.d.ts +3 -0
- package/library/packages/services/src/api/teamspace/index.d.ts +1 -0
- package/library/packages/services/src/api/teamspace/teamspace.d.ts +23 -0
- package/library/packages/services/src/global-styles/global-styles.d.ts +2 -0
- package/library/packages/styles/src/component.styles.d.ts +2 -0
- package/library/packages/styles/src/form-control.styles.d.ts +2 -0
- package/library/packages/styles/src/overlay-scrollbar.styles.d.ts +2 -0
- package/library/packages/styles/src/prosemirror.styles.d.ts +2 -0
- package/library/packages/styles/src/resizable-component.styles.d.ts +2 -0
- package/library/packages/tools/src/fetch-asset/fetch-asset.d.ts +13 -0
- package/library/packages/tools/src/fetch-image/fetch-image.d.ts +54 -0
- package/library/packages/types/src/3d-viewer.d.ts +32 -0
- package/library/packages/types/src/am-chart.d.ts +22 -0
- package/library/packages/types/src/asset-click-action.d.ts +23 -0
- package/library/packages/types/src/asset-data-display.d.ts +5 -0
- package/library/packages/types/src/asset-link-format.d.ts +85 -0
- package/library/packages/types/src/bento-grid.d.ts +18 -0
- package/library/packages/types/src/button.d.ts +16 -0
- package/library/packages/types/src/chatbot.d.ts +30 -0
- package/library/packages/types/src/checkbox.d.ts +11 -0
- package/library/packages/types/src/color-picker.d.ts +49 -0
- package/library/packages/types/src/color-swatch-group.d.ts +11 -0
- package/library/packages/types/src/color-swatch.d.ts +16 -0
- package/library/packages/types/src/column.d.ts +10 -0
- package/library/packages/types/src/confirm-popover.d.ts +11 -0
- package/library/packages/types/src/content-builder.d.ts +281 -0
- package/library/packages/types/src/dialog.d.ts +6 -0
- package/library/packages/types/src/dot-status.d.ts +11 -0
- package/library/packages/types/src/downloader.d.ts +44 -0
- package/library/packages/types/src/file-on-demand.d.ts +71 -0
- package/library/packages/types/src/folder-select.d.ts +35 -0
- package/library/packages/types/src/font-kit.d.ts +22 -0
- package/library/packages/types/src/gallery-item.d.ts +38 -0
- package/library/packages/types/src/gallery.d.ts +40 -0
- package/library/packages/types/src/header.d.ts +14 -0
- package/library/packages/types/src/highlightable-element.d.ts +29 -0
- package/library/packages/types/src/iframe.d.ts +4 -0
- package/library/packages/types/src/image.d.ts +4 -0
- package/library/packages/types/src/index.d.ts +58 -0
- package/library/packages/types/src/masonry.d.ts +21 -0
- package/library/packages/types/src/option.d.ts +4 -0
- package/library/packages/types/src/page-outline.d.ts +9 -0
- package/library/packages/types/src/pagination.d.ts +5 -0
- package/library/packages/types/src/position-picker.d.ts +11 -0
- package/library/packages/types/src/resizable-element.d.ts +4 -0
- package/library/packages/types/src/sb-button.d.ts +6 -0
- package/library/packages/types/src/search-box.d.ts +10 -0
- package/library/packages/types/src/size-input-group.d.ts +4 -0
- package/library/packages/types/src/state-card.d.ts +19 -0
- package/library/packages/types/src/tab-group.d.ts +29 -0
- package/library/packages/types/src/table.d.ts +3142 -0
- package/library/packages/types/src/text-to-speech.d.ts +48 -0
- package/library/packages/types/src/time.d.ts +44 -0
- package/library/packages/types/src/typography.d.ts +12 -0
- package/library/packages/types/src/video-editor.d.ts +79 -0
- package/library/packages/utils/src/actions/asset-click.d.ts +9 -0
- package/library/packages/utils/src/array/array.d.ts +92 -0
- package/library/packages/utils/src/array/index.d.ts +1 -0
- package/library/packages/utils/src/browser/browser.d.ts +13 -0
- package/library/packages/utils/src/browser/index.d.ts +1 -0
- package/library/packages/utils/src/color/color.d.ts +77 -0
- package/library/packages/utils/src/color/index.d.ts +1 -0
- package/library/packages/utils/src/custom-element/active-elements.d.ts +15 -0
- package/library/packages/utils/src/custom-element/animate.d.ts +22 -0
- package/library/packages/utils/src/custom-element/converters.d.ts +5 -0
- package/library/packages/utils/src/custom-element/custom-element.d.ts +39 -0
- package/library/packages/utils/src/custom-element/debounce.d.ts +1 -0
- package/library/packages/utils/src/custom-element/default-value.d.ts +3 -0
- package/library/packages/utils/src/custom-element/drag.d.ts +15 -0
- package/library/packages/utils/src/custom-element/event.d.ts +2 -0
- package/library/packages/utils/src/custom-element/form.d.ts +79 -0
- package/library/packages/utils/src/custom-element/i18n-utils.d.ts +72 -0
- package/library/packages/utils/src/custom-element/i18n.d.ts +783 -0
- package/library/packages/utils/src/custom-element/math.d.ts +2 -0
- package/library/packages/utils/src/custom-element/modal.d.ts +25 -0
- package/library/packages/utils/src/custom-element/offset.d.ts +11 -0
- package/library/packages/utils/src/custom-element/popup.d.ts +10 -0
- package/library/packages/utils/src/custom-element/scroll.d.ts +11 -0
- package/library/packages/utils/src/custom-element/scrollend-polyfill.d.ts +1 -0
- package/library/packages/utils/src/custom-element/shadow-root-autoloader-controller.d.ts +15 -0
- package/library/packages/utils/src/custom-element/slot.d.ts +24 -0
- package/library/packages/utils/src/custom-element/tabbable.d.ts +9 -0
- package/library/packages/utils/src/custom-element/user-agent.d.ts +1 -0
- package/library/packages/utils/src/custom-element/watch.d.ts +28 -0
- package/library/packages/utils/src/dom/dom.d.ts +32 -0
- package/library/packages/utils/src/dom/index.d.ts +1 -0
- package/library/packages/utils/src/drag-scroll/drag-scroll.d.ts +22 -0
- package/library/packages/utils/src/drag-scroll/index.d.ts +1 -0
- package/library/packages/utils/src/event/event.d.ts +1 -0
- package/library/packages/utils/src/event/index.d.ts +1 -0
- package/library/packages/utils/src/fetch/fetchCortex.d.ts +3 -0
- package/library/packages/utils/src/fetch/index.d.ts +1 -0
- package/library/packages/utils/src/font/font.d.ts +26 -0
- package/library/packages/utils/src/font/index.d.ts +1 -0
- package/library/packages/utils/src/form/form.d.ts +12 -0
- package/library/packages/utils/src/form/index.d.ts +1 -0
- package/library/packages/utils/src/function/function.d.ts +1 -0
- package/library/packages/utils/src/function/index.d.ts +1 -0
- package/library/packages/utils/src/gsap/gsap.d.ts +1 -0
- package/library/packages/utils/src/history-manager/history-manager.d.ts +13 -0
- package/library/packages/utils/src/history-manager/index.d.ts +1 -0
- package/library/packages/utils/src/image/image.d.ts +28 -0
- package/library/packages/utils/src/image/index.d.ts +1 -0
- package/library/packages/utils/src/index.d.ts +45 -0
- package/library/packages/utils/src/number/index.d.ts +1 -0
- package/library/packages/utils/src/number/number.d.ts +33 -0
- package/library/packages/utils/src/object/index.d.ts +1 -0
- package/library/packages/utils/src/object/object.d.ts +5 -0
- package/library/packages/utils/src/parse/index.d.ts +1 -0
- package/library/packages/utils/src/parse/parse.d.ts +4 -0
- package/library/packages/utils/src/responsive/index.d.ts +1 -0
- package/library/packages/utils/src/responsive/responsive.d.ts +11 -0
- package/library/packages/utils/src/storage/index.d.ts +1 -0
- package/library/packages/utils/src/storage/storage.d.ts +2 -0
- package/library/packages/utils/src/string/index.d.ts +1 -0
- package/library/packages/utils/src/string/string.d.ts +121 -0
- package/library/packages/utils/src/template/index.d.ts +1 -0
- package/library/packages/utils/src/template/template.d.ts +3 -0
- package/library/packages/utils/src/time/index.d.ts +1 -0
- package/library/packages/utils/src/time/time.d.ts +11 -0
- package/library/packages/utils/src/toast/index.d.ts +1 -0
- package/library/packages/utils/src/toast/toast.d.ts +5 -0
- package/library/packages/utils/src/translations/en.d.ts +4 -0
- package/library/packages/utils/src/url/index.d.ts +1 -0
- package/library/packages/utils/src/url/url.d.ts +6 -0
- package/library/packages/utils/src/video/index.d.ts +1 -0
- package/library/packages/utils/src/video/video.d.ts +26 -0
- package/library/react-web-component.d.ts +8482 -0
- package/library/react-web-component.js +1 -0
- package/library/types.d.ts +4 -0
- package/library/utils.d.ts +1 -0
- package/library/utils.js +181 -0
- package/package.json +49 -0
|
@@ -0,0 +1,2616 @@
|
|
|
1
|
+
import "../chunks/cropper.tSDgXKqJ.js";
|
|
2
|
+
import { C as q } from "../chunks/button.Dy5bRiPQ.js";
|
|
3
|
+
import H from "./space.js";
|
|
4
|
+
import { C as W } from "../chunks/typography.oDzoLbZS.js";
|
|
5
|
+
import { n as l, C as F } from "../chunks/lib-cortex-element.CVMmyPMC.js";
|
|
6
|
+
import { b as rt, c as ht } from "../chunks/asset.DRyD94KY.js";
|
|
7
|
+
import { c as E } from "../chunks/component.styles.DMSLciL5.js";
|
|
8
|
+
import { T as c, U as o } from "../chunks/asset-link-format.BSRDqHg7.js";
|
|
9
|
+
import { c as N } from "../chunks/custom-element.L4WJXn1j.js";
|
|
10
|
+
import { L as O } from "../chunks/i18n.Bge6Wbrz.js";
|
|
11
|
+
import { w as k } from "../chunks/watch.q1sEjPWL.js";
|
|
12
|
+
import { s as it, c as st } from "../chunks/number.CjNxU7Xs.js";
|
|
13
|
+
import { i as D, x as b, E as lt } from "../chunks/lit-element.jLBm65_O.js";
|
|
14
|
+
import { r as z } from "../chunks/state.CSDxrqLd.js";
|
|
15
|
+
import { n as G } from "../chunks/when.Dr1es41R.js";
|
|
16
|
+
import L from "./details.js";
|
|
17
|
+
import nt from "./divider.js";
|
|
18
|
+
import j from "./icon.js";
|
|
19
|
+
import K from "./icon-button.js";
|
|
20
|
+
import tt from "./input.js";
|
|
21
|
+
import { C as X } from "../chunks/option.CiBFEqo6.js";
|
|
22
|
+
import Y from "./select.js";
|
|
23
|
+
import { c as ct } from "../chunks/image.mbpyiQpQ.js";
|
|
24
|
+
import { e as T } from "../chunks/query.BBf1UFkC.js";
|
|
25
|
+
import { c as Q } from "../chunks/repeat.DbF2p5ae.js";
|
|
26
|
+
import { o as M } from "../chunks/style-map.llVFPd__.js";
|
|
27
|
+
import at from "./tooltip.js";
|
|
28
|
+
import pt from "./button-group.js";
|
|
29
|
+
import dt from "./checkbox.js";
|
|
30
|
+
const ut = D`
|
|
31
|
+
.asset-link-format__details {
|
|
32
|
+
--header-padding: var(--cx-spacing-small) var(--cx-spacing-medium);
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.asset-link-format__details::part(icon) {
|
|
36
|
+
width: var(--cx-font-size-3x-large);
|
|
37
|
+
height: var(--cx-font-size-3x-large);
|
|
38
|
+
display: flex;
|
|
39
|
+
align-items: center;
|
|
40
|
+
justify-content: center;
|
|
41
|
+
background-color: var(--cx-color-neutral-100);
|
|
42
|
+
border-radius: var(--cx-border-radius-large);
|
|
43
|
+
color: var(--cx-color-neutral-600);
|
|
44
|
+
font-size: var(--cx-font-size-large);
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.asset-link-format__details::part(input-label) {
|
|
48
|
+
color: var(--cx-color-neutral-400);
|
|
49
|
+
margin-inline-start: var(--cx-spacing-small);
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.asset-link-format__header {
|
|
53
|
+
padding: var(--cx-spacing-medium);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.asset-link-format__section-header {
|
|
57
|
+
padding: 0 var(--cx-spacing-medium);
|
|
58
|
+
border-top: solid 1px var(--cx-color-neutral-200);
|
|
59
|
+
background-color: var(--cx-color-neutral-50);
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.asset-link-format__undo {
|
|
63
|
+
--color: var(--cx-color-primary);
|
|
64
|
+
--background-color: transparent;
|
|
65
|
+
}
|
|
66
|
+
`;
|
|
67
|
+
function J({
|
|
68
|
+
asset: t,
|
|
69
|
+
baseUrl: e,
|
|
70
|
+
extension: i,
|
|
71
|
+
parameters: s,
|
|
72
|
+
transformations: a,
|
|
73
|
+
useSession: h = ""
|
|
74
|
+
}) {
|
|
75
|
+
let r = e;
|
|
76
|
+
a && a.length > 0 && (r += "/t/");
|
|
77
|
+
const m = a?.findLast(
|
|
78
|
+
(v) => v.key === c.Quality
|
|
79
|
+
);
|
|
80
|
+
m && (a = [
|
|
81
|
+
...a?.filter(
|
|
82
|
+
(v) => v.key !== c.Quality
|
|
83
|
+
) || [],
|
|
84
|
+
m
|
|
85
|
+
]), a?.forEach(({ key: v, value: w }) => {
|
|
86
|
+
if (v === c.Resize) {
|
|
87
|
+
const x = [
|
|
88
|
+
...[
|
|
89
|
+
{
|
|
90
|
+
key: "re_w_",
|
|
91
|
+
value: Math.round(w.width ?? 0)
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
key: "re_h_",
|
|
95
|
+
value: Math.round(w.height ?? 0)
|
|
96
|
+
}
|
|
97
|
+
].filter((n) => n.value !== void 0).map((n) => ({
|
|
98
|
+
key: n.key,
|
|
99
|
+
value: Math.round(Number(n.value))
|
|
100
|
+
})),
|
|
101
|
+
{
|
|
102
|
+
key: "re_rm_",
|
|
103
|
+
value: "stretch"
|
|
104
|
+
}
|
|
105
|
+
];
|
|
106
|
+
x.forEach(({ key: n, value: $ }, B) => {
|
|
107
|
+
r += `${n}${$}${B < x.length - 1 ? "," : ""}`;
|
|
108
|
+
}), r += "/";
|
|
109
|
+
}
|
|
110
|
+
if (v === c.Crop) {
|
|
111
|
+
const x = [
|
|
112
|
+
...[
|
|
113
|
+
{
|
|
114
|
+
key: "c_",
|
|
115
|
+
value: w.mode
|
|
116
|
+
},
|
|
117
|
+
...w.disabledSize ? [] : [
|
|
118
|
+
{
|
|
119
|
+
key: "c_w_",
|
|
120
|
+
value: Math.round(w.width ?? 0)
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
key: "c_h_",
|
|
124
|
+
value: Math.round(w.height ?? 0)
|
|
125
|
+
},
|
|
126
|
+
{
|
|
127
|
+
key: "c_x_",
|
|
128
|
+
value: Math.round(w.x ?? 0)
|
|
129
|
+
},
|
|
130
|
+
{
|
|
131
|
+
key: "c_y_",
|
|
132
|
+
value: Math.round(w.y ?? 0)
|
|
133
|
+
}
|
|
134
|
+
]
|
|
135
|
+
].filter((n) => n.value !== void 0 && n.value !== null).map((n) => ({
|
|
136
|
+
key: n.key,
|
|
137
|
+
value: n.value
|
|
138
|
+
})),
|
|
139
|
+
{
|
|
140
|
+
key: "c_whu_",
|
|
141
|
+
value: "pixel"
|
|
142
|
+
}
|
|
143
|
+
];
|
|
144
|
+
x.forEach(({ key: n, value: $ }, B) => {
|
|
145
|
+
const ot = ["c_w_", "c_h_", "c_x_", "c_y_"].includes(n);
|
|
146
|
+
r += `${n}${ot ? Math.round(Number($)) : $}${B < x.length - 1 ? "," : ""}`;
|
|
147
|
+
}), r += "/";
|
|
148
|
+
}
|
|
149
|
+
if (v === c.Rotate && ([
|
|
150
|
+
{
|
|
151
|
+
key: "r_a_",
|
|
152
|
+
value: w.rotation
|
|
153
|
+
}
|
|
154
|
+
].filter((n) => n.value !== void 0).map((n) => ({
|
|
155
|
+
key: n.key,
|
|
156
|
+
value: Math.round(Number(n.value))
|
|
157
|
+
})).forEach(({ key: n, value: $ }) => {
|
|
158
|
+
r += `${n}${$}`;
|
|
159
|
+
}), r += "/"), v === c.Quality) {
|
|
160
|
+
const x = [
|
|
161
|
+
{
|
|
162
|
+
key: "q_level_",
|
|
163
|
+
value: w.quality
|
|
164
|
+
}
|
|
165
|
+
].filter((n) => n.value !== void 0).map((n) => ({
|
|
166
|
+
key: n.key,
|
|
167
|
+
value: Math.round(Number(n.value))
|
|
168
|
+
}));
|
|
169
|
+
x.forEach(({ key: n, value: $ }, B) => {
|
|
170
|
+
r += `${n}${$}${B < x.length - 1 ? "," : ""}`;
|
|
171
|
+
}), r += "/";
|
|
172
|
+
}
|
|
173
|
+
if (v === c.Metadata) {
|
|
174
|
+
const x = [
|
|
175
|
+
{
|
|
176
|
+
key: "fl_keep_metadata",
|
|
177
|
+
value: w.keepMetadata
|
|
178
|
+
}
|
|
179
|
+
].filter((n) => n.value !== void 0).map((n) => ({ key: n.key, value: n.value }));
|
|
180
|
+
x.forEach(({ key: n }, $) => {
|
|
181
|
+
r += `${n}${$ < x.length - 1 ? "," : ""}`;
|
|
182
|
+
}), r += "/";
|
|
183
|
+
}
|
|
184
|
+
}), i && (r += `${t?.identifier}${i}`);
|
|
185
|
+
const y = [];
|
|
186
|
+
return s && s.length > 0 && s.forEach(({ key: v, value: w }) => {
|
|
187
|
+
y.push(
|
|
188
|
+
`${encodeURIComponent(v.trim())}=${encodeURIComponent(w.trim())}`
|
|
189
|
+
);
|
|
190
|
+
}), y.length > 0 && (r += `?${y.join("&")}`), r.endsWith("/") && (r = r.slice(0, -1)), r;
|
|
191
|
+
}
|
|
192
|
+
const gt = D`
|
|
193
|
+
cx-details::part(base) {
|
|
194
|
+
border-bottom-width: 0;
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
cx-space {
|
|
198
|
+
width: 100%;
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
cx-space cx-input {
|
|
202
|
+
flex: 1;
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
.crop__unit-select {
|
|
206
|
+
width: 120px;
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
.crop__input-group {
|
|
210
|
+
display: flex;
|
|
211
|
+
flex: 1;
|
|
212
|
+
}
|
|
213
|
+
`;
|
|
214
|
+
var mt = Object.defineProperty, xt = Object.getOwnPropertyDescriptor, g = (t, e, i, s) => {
|
|
215
|
+
for (var a = s > 1 ? void 0 : s ? xt(e, i) : e, h = t.length - 1, r; h >= 0; h--)
|
|
216
|
+
(r = t[h]) && (a = (s ? r(e, i, a) : r(a)) || a);
|
|
217
|
+
return s && a && mt(e, i, a), a;
|
|
218
|
+
};
|
|
219
|
+
let d = class extends F {
|
|
220
|
+
constructor() {
|
|
221
|
+
super(...arguments), this.localize = new O(this), this.open = !1, this.width = 0, this.height = 0, this.maxWidth = 0, this.maxHeight = 0, this.ratioWidth = 1, this.ratioHeight = 1, this.percentageWidth = 0, this.percentageHeight = 0, this.unit = o.Pixel, this.disabledApply = !1, this.lastAppliedSetting = {
|
|
222
|
+
[o.Pixel]: {
|
|
223
|
+
height: 0,
|
|
224
|
+
percentageHeight: 100,
|
|
225
|
+
percentageWidth: 100,
|
|
226
|
+
unit: o.Pixel,
|
|
227
|
+
width: 0,
|
|
228
|
+
x: 0,
|
|
229
|
+
y: 0
|
|
230
|
+
},
|
|
231
|
+
[o.AspectRatio]: {
|
|
232
|
+
height: 1,
|
|
233
|
+
percentageHeight: 100,
|
|
234
|
+
percentageWidth: 100,
|
|
235
|
+
unit: o.AspectRatio,
|
|
236
|
+
width: 1,
|
|
237
|
+
x: 0,
|
|
238
|
+
y: 0
|
|
239
|
+
}
|
|
240
|
+
}, this.loading = !1, this.cropModes = [], this.focusModes = [], this.focusMode = "manual", this.cropMode = "free", this.keepAspectRatio = !1, this.invalidWidth = !1, this.invalidHeight = !1, this.aspectRatio = 0;
|
|
241
|
+
}
|
|
242
|
+
get selectedMode() {
|
|
243
|
+
return this.cropModes.find((t) => t.value === this.cropMode);
|
|
244
|
+
}
|
|
245
|
+
async handleCropModeChange() {
|
|
246
|
+
if (typeof this.cropMode == "string" && /^\d+:\d+$/.test(this.cropMode)) {
|
|
247
|
+
const [t, e] = this.cropMode.split(":").map(Number);
|
|
248
|
+
this.aspectRatio = t / e;
|
|
249
|
+
return;
|
|
250
|
+
}
|
|
251
|
+
if (this.keepAspectRatio) {
|
|
252
|
+
if (this.unit === o.Pixel && this.width && this.height) {
|
|
253
|
+
this.aspectRatio = this.width / this.height;
|
|
254
|
+
return;
|
|
255
|
+
} else if (this.unit === o.AspectRatio && this.ratioWidth && this.ratioHeight) {
|
|
256
|
+
this.aspectRatio = this.ratioWidth / this.ratioHeight;
|
|
257
|
+
return;
|
|
258
|
+
}
|
|
259
|
+
}
|
|
260
|
+
if (this.maxWidth && this.maxHeight) {
|
|
261
|
+
this.aspectRatio = this.maxWidth / this.maxHeight;
|
|
262
|
+
return;
|
|
263
|
+
}
|
|
264
|
+
this.aspectRatio = 1;
|
|
265
|
+
}
|
|
266
|
+
async handleOpenChange() {
|
|
267
|
+
this.cropMode = "free", await this.updateComplete, this.open || (this.width = this.lastAppliedSetting[o.Pixel].width, this.height = this.lastAppliedSetting[o.Pixel].height, this.unit = o.Pixel, this.emit("cx-asset-link-format-crop-change", {
|
|
268
|
+
detail: {
|
|
269
|
+
height: this.lastAppliedSetting[o.Pixel].height,
|
|
270
|
+
keepAspectRatio: this.keepAspectRatio,
|
|
271
|
+
unit: o.Pixel,
|
|
272
|
+
width: this.lastAppliedSetting[o.Pixel].width
|
|
273
|
+
}
|
|
274
|
+
}));
|
|
275
|
+
}
|
|
276
|
+
handleWidthChange(t) {
|
|
277
|
+
if (!t.target.value) {
|
|
278
|
+
this.invalidWidth = !0;
|
|
279
|
+
return;
|
|
280
|
+
}
|
|
281
|
+
this.invalidWidth = !1;
|
|
282
|
+
let e = Number(t.target.value);
|
|
283
|
+
this.unit === o.Pixel && (e = Math.max(Math.min(e, this.maxWidth), 1)), t.target.value = e.toString();
|
|
284
|
+
let i = this.unit === o.Pixel ? this.height : this.ratioHeight, s = !1;
|
|
285
|
+
this.keepAspectRatio && (i = Math.round(e / this.aspectRatio), this.unit === o.Pixel && i > this.maxHeight && (i = this.maxHeight, s = !0)), this.invalidHeight = !1, this.emit("cx-asset-link-format-crop-change", {
|
|
286
|
+
detail: {
|
|
287
|
+
breakAspectRatio: s,
|
|
288
|
+
height: i,
|
|
289
|
+
keepAspectRatio: this.keepAspectRatio,
|
|
290
|
+
unit: this.unit,
|
|
291
|
+
width: e
|
|
292
|
+
}
|
|
293
|
+
});
|
|
294
|
+
}
|
|
295
|
+
handleHeightChange(t) {
|
|
296
|
+
if (!t.target.value) {
|
|
297
|
+
this.invalidHeight = !0;
|
|
298
|
+
return;
|
|
299
|
+
}
|
|
300
|
+
this.invalidHeight = !1;
|
|
301
|
+
let e = Number(t.target.value);
|
|
302
|
+
this.unit === o.Pixel && (e = Math.max(Math.min(e, this.maxHeight), 1)), t.target.value = e.toString();
|
|
303
|
+
let i = this.unit === o.Pixel ? this.width : this.ratioWidth, s = !1;
|
|
304
|
+
this.keepAspectRatio && (i = Math.round(e * this.aspectRatio), this.unit === o.Pixel && i > this.maxWidth && (i = this.maxWidth, s = !0)), this.invalidWidth = !1, this.emit("cx-asset-link-format-crop-change", {
|
|
305
|
+
detail: {
|
|
306
|
+
breakAspectRatio: s,
|
|
307
|
+
height: e,
|
|
308
|
+
keepAspectRatio: this.keepAspectRatio,
|
|
309
|
+
unit: this.unit,
|
|
310
|
+
width: i
|
|
311
|
+
}
|
|
312
|
+
});
|
|
313
|
+
}
|
|
314
|
+
onCropModeChange(t) {
|
|
315
|
+
const e = t.target.value, i = this.cropModes.find((s) => s.value === e)?.auto;
|
|
316
|
+
if (e === "free")
|
|
317
|
+
this.selectedMode?.auto && this.emit("cx-asset-link-format-crop-change", {
|
|
318
|
+
detail: {
|
|
319
|
+
height: this.lastAppliedSetting[o.Pixel].height,
|
|
320
|
+
keepAspectRatio: !1,
|
|
321
|
+
silent: !0,
|
|
322
|
+
unit: o.Pixel,
|
|
323
|
+
width: this.lastAppliedSetting[o.Pixel].width
|
|
324
|
+
}
|
|
325
|
+
});
|
|
326
|
+
else if (!i) {
|
|
327
|
+
const [s, a] = e.split(":").map(Number);
|
|
328
|
+
if (this.unit === o.Pixel) {
|
|
329
|
+
const { height: h, width: r } = ct(
|
|
330
|
+
this.maxWidth,
|
|
331
|
+
this.maxHeight,
|
|
332
|
+
s,
|
|
333
|
+
a
|
|
334
|
+
);
|
|
335
|
+
this.emit("cx-asset-link-format-crop-change", {
|
|
336
|
+
detail: {
|
|
337
|
+
height: h,
|
|
338
|
+
keepAspectRatio: !0,
|
|
339
|
+
silent: !0,
|
|
340
|
+
unit: o.Pixel,
|
|
341
|
+
width: r
|
|
342
|
+
}
|
|
343
|
+
});
|
|
344
|
+
} else
|
|
345
|
+
this.emit("cx-asset-link-format-crop-change", {
|
|
346
|
+
detail: {
|
|
347
|
+
height: a,
|
|
348
|
+
keepAspectRatio: !0,
|
|
349
|
+
silent: !0,
|
|
350
|
+
unit: o.AspectRatio,
|
|
351
|
+
width: s
|
|
352
|
+
}
|
|
353
|
+
});
|
|
354
|
+
}
|
|
355
|
+
this.emit("cx-asset-link-format-crop-mode-change", {
|
|
356
|
+
detail: {
|
|
357
|
+
mode: e
|
|
358
|
+
}
|
|
359
|
+
});
|
|
360
|
+
}
|
|
361
|
+
onFocusModeChange(t) {
|
|
362
|
+
const e = t.target.value;
|
|
363
|
+
this.emit("cx-asset-link-format-crop-focus-mode-change", {
|
|
364
|
+
detail: {
|
|
365
|
+
mode: e
|
|
366
|
+
}
|
|
367
|
+
});
|
|
368
|
+
}
|
|
369
|
+
/**
|
|
370
|
+
* Handles the change of the unit of measurement for the crop settings.
|
|
371
|
+
* When the unit is changed to Aspect Ratio, it emits an event with the last applied settings for Aspect Ratio.
|
|
372
|
+
* When the unit is changed to Pixels, it emits an event with the last applied settings for Pixels.
|
|
373
|
+
* This allows the parent component to update the crop settings accordingly.
|
|
374
|
+
*/
|
|
375
|
+
onUnitChange(t) {
|
|
376
|
+
t.target.value === o.AspectRatio ? this.emit("cx-asset-link-format-crop-change", {
|
|
377
|
+
detail: {
|
|
378
|
+
height: this.lastAppliedSetting[o.AspectRatio].height,
|
|
379
|
+
keepAspectRatio: this.keepAspectRatio,
|
|
380
|
+
unit: o.AspectRatio,
|
|
381
|
+
width: this.lastAppliedSetting[o.AspectRatio].width
|
|
382
|
+
}
|
|
383
|
+
}) : this.emit("cx-asset-link-format-crop-change", {
|
|
384
|
+
detail: {
|
|
385
|
+
height: this.lastAppliedSetting[o.Pixel].height,
|
|
386
|
+
keepAspectRatio: this.keepAspectRatio,
|
|
387
|
+
unit: o.Pixel,
|
|
388
|
+
width: this.lastAppliedSetting[o.Pixel].width
|
|
389
|
+
}
|
|
390
|
+
}), this.emit("cx-asset-link-format-crop-mode-change", {
|
|
391
|
+
detail: {
|
|
392
|
+
mode: "free"
|
|
393
|
+
}
|
|
394
|
+
});
|
|
395
|
+
}
|
|
396
|
+
handleInputChange(t) {
|
|
397
|
+
t.stopPropagation(), this.emit("cx-asset-link-format-crop-changed");
|
|
398
|
+
}
|
|
399
|
+
handleApply() {
|
|
400
|
+
this.loading || this.emit("cx-asset-link-format-crop-apply", {
|
|
401
|
+
detail: {
|
|
402
|
+
height: this.height,
|
|
403
|
+
unit: this.unit,
|
|
404
|
+
width: this.width
|
|
405
|
+
}
|
|
406
|
+
});
|
|
407
|
+
}
|
|
408
|
+
/**
|
|
409
|
+
* Handles showing the details section.
|
|
410
|
+
* This method prevents the event from propagating if the target is not the base element, such as tooltips, select dropdowns, or other interactive elements inside the details.
|
|
411
|
+
* This ensures that the details section is only shown when the user interacts with the base element.
|
|
412
|
+
*/
|
|
413
|
+
onShowDetails(t) {
|
|
414
|
+
t.target !== this.base && t.stopPropagation();
|
|
415
|
+
}
|
|
416
|
+
/**
|
|
417
|
+
* Handles hiding the details section.
|
|
418
|
+
* This method prevents the event from propagating if the target is not the base element, such as tooltips, select dropdowns, or other interactive elements inside the details.
|
|
419
|
+
* This ensures that the details section is only hidden when the user interacts with the base element.
|
|
420
|
+
*/
|
|
421
|
+
onHideDetails(t) {
|
|
422
|
+
t.target !== this.base && t.stopPropagation();
|
|
423
|
+
}
|
|
424
|
+
handleAspectRatioClick() {
|
|
425
|
+
this.keepAspectRatio && this.cropMode !== "free" && this.emit("cx-asset-link-format-crop-mode-change", {
|
|
426
|
+
detail: {
|
|
427
|
+
mode: "free"
|
|
428
|
+
}
|
|
429
|
+
}), this.emit("cx-asset-link-format-crop-change", {
|
|
430
|
+
detail: {
|
|
431
|
+
height: this.unit === o.Pixel ? this.height : this.ratioHeight,
|
|
432
|
+
keepAspectRatio: !this.keepAspectRatio,
|
|
433
|
+
unit: this.unit,
|
|
434
|
+
width: this.unit === o.Pixel ? this.width : this.ratioWidth
|
|
435
|
+
}
|
|
436
|
+
});
|
|
437
|
+
}
|
|
438
|
+
render() {
|
|
439
|
+
const t = this.cropModes.filter((i) => !i.auto), e = this.cropModes.filter((i) => i.auto);
|
|
440
|
+
return b`<cx-details
|
|
441
|
+
class="details"
|
|
442
|
+
?open=${this.open}
|
|
443
|
+
@cx-show=${this.onShowDetails}
|
|
444
|
+
@cx-hide=${this.onHideDetails}
|
|
445
|
+
>
|
|
446
|
+
<cx-space slot="summary" align-items="center">
|
|
447
|
+
<div part="icon">
|
|
448
|
+
<cx-icon name="crop"></cx-icon>
|
|
449
|
+
</div>
|
|
450
|
+
<cx-typography variant="body2">
|
|
451
|
+
${this.localize.term("crop")}
|
|
452
|
+
</cx-typography>
|
|
453
|
+
</cx-space>
|
|
454
|
+
<cx-space direction="vertical" spacing="small">
|
|
455
|
+
<cx-select
|
|
456
|
+
data-testid="cx-asset-link-format-crop-mode"
|
|
457
|
+
value=${this.cropMode}
|
|
458
|
+
hoist
|
|
459
|
+
style=${M({
|
|
460
|
+
width: "100%"
|
|
461
|
+
})}
|
|
462
|
+
@cx-change=${this.onCropModeChange}
|
|
463
|
+
?disabled=${this.loading}
|
|
464
|
+
>
|
|
465
|
+
${Q(
|
|
466
|
+
t,
|
|
467
|
+
(i) => i.value,
|
|
468
|
+
({ label: i, value: s }) => b`<cx-option value=${s}>${i}</cx-option>`
|
|
469
|
+
)}
|
|
470
|
+
${G(
|
|
471
|
+
e.length > 0,
|
|
472
|
+
() => b`<cx-divider></cx-divider>
|
|
473
|
+
<small>${this.localize.term("autoCropping")}</small>`
|
|
474
|
+
)}
|
|
475
|
+
${Q(
|
|
476
|
+
e,
|
|
477
|
+
(i) => i.value,
|
|
478
|
+
({ label: i, value: s }) => b`<cx-option value=${s}>${i}</cx-option>`
|
|
479
|
+
)}
|
|
480
|
+
</cx-select>
|
|
481
|
+
<cx-space spacing="small">
|
|
482
|
+
<div class="crop__input-group">
|
|
483
|
+
<cx-input
|
|
484
|
+
data-testid="cx-asset-link-format-crop-width"
|
|
485
|
+
placeholder=${this.localize.term("width")}
|
|
486
|
+
type="number"
|
|
487
|
+
step="1"
|
|
488
|
+
value=${this.unit === o.Pixel ? this.width.toString() : this.ratioWidth.toString()}
|
|
489
|
+
@cx-change=${this.handleInputChange}
|
|
490
|
+
@cx-input=${this.handleWidthChange}
|
|
491
|
+
required
|
|
492
|
+
?disabled=${this.loading}
|
|
493
|
+
>
|
|
494
|
+
<cx-typography slot="prefix" variant="body3" part="input-label">
|
|
495
|
+
W
|
|
496
|
+
</cx-typography>
|
|
497
|
+
</cx-input>
|
|
498
|
+
<cx-icon-button
|
|
499
|
+
data-testid="cx-asset-link-format-crop-aspect-ratio"
|
|
500
|
+
name=${this.keepAspectRatio ? "insert_link" : "link_off"}
|
|
501
|
+
@click=${this.handleAspectRatioClick}
|
|
502
|
+
style=${M({
|
|
503
|
+
color: this.keepAspectRatio ? "var(--cx-color-primary)" : void 0
|
|
504
|
+
})}
|
|
505
|
+
?disabled=${this.loading}
|
|
506
|
+
></cx-icon-button>
|
|
507
|
+
<cx-input
|
|
508
|
+
data-testid="cx-asset-link-format-crop-height"
|
|
509
|
+
placeholder=${this.localize.term("height")}
|
|
510
|
+
type="number"
|
|
511
|
+
step="1"
|
|
512
|
+
value=${this.unit === o.Pixel ? this.height.toString() : this.ratioHeight.toString()}
|
|
513
|
+
?disabled=${this.loading}
|
|
514
|
+
@cx-change=${this.handleInputChange}
|
|
515
|
+
@cx-input=${this.handleHeightChange}
|
|
516
|
+
required
|
|
517
|
+
>
|
|
518
|
+
<cx-typography slot="prefix" variant="body3" part="input-label">
|
|
519
|
+
H
|
|
520
|
+
</cx-typography>
|
|
521
|
+
</cx-input>
|
|
522
|
+
</div>
|
|
523
|
+
<cx-select
|
|
524
|
+
data-testid="cx-asset-link-format-crop-unit"
|
|
525
|
+
value=${this.unit}
|
|
526
|
+
hoist
|
|
527
|
+
class="crop__unit-select"
|
|
528
|
+
?disabled=${this.loading}
|
|
529
|
+
@cx-change=${this.onUnitChange}
|
|
530
|
+
>
|
|
531
|
+
<cx-option value=${o.Pixel}>
|
|
532
|
+
${this.localize.term("pixels")}
|
|
533
|
+
</cx-option>
|
|
534
|
+
<cx-option value=${o.AspectRatio}>
|
|
535
|
+
${this.localize.term("aspectRatio")}
|
|
536
|
+
</cx-option>
|
|
537
|
+
</cx-select>
|
|
538
|
+
</cx-space>
|
|
539
|
+
${G(
|
|
540
|
+
this.focusModes.length > 0,
|
|
541
|
+
() => b`
|
|
542
|
+
<cx-select
|
|
543
|
+
data-testid="cx-asset-link-format-crop-focus-mode"
|
|
544
|
+
value=${this.focusMode}
|
|
545
|
+
hoist
|
|
546
|
+
style=${M({
|
|
547
|
+
width: "100%"
|
|
548
|
+
})}
|
|
549
|
+
@cx-change=${this.onFocusModeChange}
|
|
550
|
+
?disabled=${this.loading || this.selectedMode?.disabledSize}
|
|
551
|
+
>
|
|
552
|
+
${Q(
|
|
553
|
+
this.focusModes,
|
|
554
|
+
(i) => i.value,
|
|
555
|
+
({ label: i, value: s }) => b`<cx-option value=${s}>${i}</cx-option>`
|
|
556
|
+
)}
|
|
557
|
+
</cx-select>
|
|
558
|
+
`
|
|
559
|
+
)}
|
|
560
|
+
<cx-button
|
|
561
|
+
data-testid="cx-asset-link-format-crop-apply"
|
|
562
|
+
variant="primary"
|
|
563
|
+
?disabled=${this.disabledApply || this.invalidHeight || this.invalidWidth}
|
|
564
|
+
?loading=${this.loading}
|
|
565
|
+
style=${M({
|
|
566
|
+
marginLeft: "auto"
|
|
567
|
+
})}
|
|
568
|
+
@click=${this.handleApply}
|
|
569
|
+
>
|
|
570
|
+
${this.localize.term("apply")}
|
|
571
|
+
</cx-button>
|
|
572
|
+
</cx-space>
|
|
573
|
+
</cx-details>`;
|
|
574
|
+
}
|
|
575
|
+
};
|
|
576
|
+
d.styles = [E, gt];
|
|
577
|
+
d.dependencies = {
|
|
578
|
+
"cx-button": q,
|
|
579
|
+
"cx-details": L,
|
|
580
|
+
"cx-divider": nt,
|
|
581
|
+
"cx-icon": j,
|
|
582
|
+
"cx-icon-button": K,
|
|
583
|
+
"cx-input": tt,
|
|
584
|
+
"cx-option": X,
|
|
585
|
+
"cx-select": Y,
|
|
586
|
+
"cx-space": H,
|
|
587
|
+
"cx-typography": W
|
|
588
|
+
};
|
|
589
|
+
g([
|
|
590
|
+
T(".details")
|
|
591
|
+
], d.prototype, "base", 2);
|
|
592
|
+
g([
|
|
593
|
+
l({ reflect: !0, type: Boolean })
|
|
594
|
+
], d.prototype, "open", 2);
|
|
595
|
+
g([
|
|
596
|
+
l({ reflect: !0, type: Number })
|
|
597
|
+
], d.prototype, "width", 2);
|
|
598
|
+
g([
|
|
599
|
+
l({ reflect: !0, type: Number })
|
|
600
|
+
], d.prototype, "height", 2);
|
|
601
|
+
g([
|
|
602
|
+
l({ attribute: "max-width", reflect: !0, type: Number })
|
|
603
|
+
], d.prototype, "maxWidth", 2);
|
|
604
|
+
g([
|
|
605
|
+
l({ attribute: "max-height", reflect: !0, type: Number })
|
|
606
|
+
], d.prototype, "maxHeight", 2);
|
|
607
|
+
g([
|
|
608
|
+
l({ attribute: "ratio-width", reflect: !0, type: Number })
|
|
609
|
+
], d.prototype, "ratioWidth", 2);
|
|
610
|
+
g([
|
|
611
|
+
l({ attribute: "ratio-height", reflect: !0, type: Number })
|
|
612
|
+
], d.prototype, "ratioHeight", 2);
|
|
613
|
+
g([
|
|
614
|
+
l({ attribute: "percentage-width", reflect: !0, type: Number })
|
|
615
|
+
], d.prototype, "percentageWidth", 2);
|
|
616
|
+
g([
|
|
617
|
+
l({ attribute: "percentage-height", reflect: !0, type: Number })
|
|
618
|
+
], d.prototype, "percentageHeight", 2);
|
|
619
|
+
g([
|
|
620
|
+
l({ reflect: !0, type: String })
|
|
621
|
+
], d.prototype, "unit", 2);
|
|
622
|
+
g([
|
|
623
|
+
l({ attribute: "disabled-apply", reflect: !0, type: Boolean })
|
|
624
|
+
], d.prototype, "disabledApply", 2);
|
|
625
|
+
g([
|
|
626
|
+
l({ attribute: "last-applied-setting", reflect: !1, type: Object })
|
|
627
|
+
], d.prototype, "lastAppliedSetting", 2);
|
|
628
|
+
g([
|
|
629
|
+
l({ reflect: !0, type: Boolean })
|
|
630
|
+
], d.prototype, "loading", 2);
|
|
631
|
+
g([
|
|
632
|
+
l({ attribute: "crop-modes", reflect: !1, type: Array })
|
|
633
|
+
], d.prototype, "cropModes", 2);
|
|
634
|
+
g([
|
|
635
|
+
l({ attribute: "focus-modes", reflect: !1, type: Object })
|
|
636
|
+
], d.prototype, "focusModes", 2);
|
|
637
|
+
g([
|
|
638
|
+
l({ attribute: "focus-mode", reflect: !0, type: String })
|
|
639
|
+
], d.prototype, "focusMode", 2);
|
|
640
|
+
g([
|
|
641
|
+
l({ attribute: "crop-mode", reflect: !0, type: String })
|
|
642
|
+
], d.prototype, "cropMode", 2);
|
|
643
|
+
g([
|
|
644
|
+
l({ attribute: "keep-aspect-ratio", reflect: !0, type: Boolean })
|
|
645
|
+
], d.prototype, "keepAspectRatio", 2);
|
|
646
|
+
g([
|
|
647
|
+
z()
|
|
648
|
+
], d.prototype, "invalidWidth", 2);
|
|
649
|
+
g([
|
|
650
|
+
z()
|
|
651
|
+
], d.prototype, "invalidHeight", 2);
|
|
652
|
+
g([
|
|
653
|
+
z()
|
|
654
|
+
], d.prototype, "aspectRatio", 2);
|
|
655
|
+
g([
|
|
656
|
+
k("cropMode", { waitUntilFirstUpdate: !0 }),
|
|
657
|
+
k("maxWidth", { waitUntilFirstUpdate: !0 }),
|
|
658
|
+
k("maxHeight", { waitUntilFirstUpdate: !0 }),
|
|
659
|
+
k("keepAspectRatio")
|
|
660
|
+
], d.prototype, "handleCropModeChange", 1);
|
|
661
|
+
g([
|
|
662
|
+
k("open")
|
|
663
|
+
], d.prototype, "handleOpenChange", 1);
|
|
664
|
+
d = g([
|
|
665
|
+
N("cx-asset-link-format-crop")
|
|
666
|
+
], d);
|
|
667
|
+
const ft = D`
|
|
668
|
+
.extension {
|
|
669
|
+
padding: var(--cx-spacing-small) var(--cx-spacing-medium);
|
|
670
|
+
border: solid 1px var(--cx-color-neutral-200);
|
|
671
|
+
background-color: var(--cx-color-neutral-0);
|
|
672
|
+
|
|
673
|
+
cx-select {
|
|
674
|
+
flex: 1;
|
|
675
|
+
width: 100%;
|
|
676
|
+
}
|
|
677
|
+
}
|
|
678
|
+
`;
|
|
679
|
+
var yt = Object.defineProperty, vt = Object.getOwnPropertyDescriptor, et = (t, e, i, s) => {
|
|
680
|
+
for (var a = s > 1 ? void 0 : s ? vt(e, i) : e, h = t.length - 1, r; h >= 0; h--)
|
|
681
|
+
(r = t[h]) && (a = (s ? r(e, i, a) : r(a)) || a);
|
|
682
|
+
return s && a && yt(e, i, a), a;
|
|
683
|
+
};
|
|
684
|
+
let U = class extends F {
|
|
685
|
+
constructor() {
|
|
686
|
+
super(...arguments), this.localize = new O(this), this.value = "", this.items = [];
|
|
687
|
+
}
|
|
688
|
+
handleExtensionChange(t) {
|
|
689
|
+
const e = t.target.value;
|
|
690
|
+
this.emit("cx-asset-link-format-extension-change", {
|
|
691
|
+
detail: e
|
|
692
|
+
});
|
|
693
|
+
}
|
|
694
|
+
render() {
|
|
695
|
+
return b`
|
|
696
|
+
<cx-space direction="vertical" spacing="small" class="extension">
|
|
697
|
+
<cx-typography variant="body2">
|
|
698
|
+
${this.localize.term("extension")}
|
|
699
|
+
</cx-typography>
|
|
700
|
+
<cx-select
|
|
701
|
+
data-label=${this.localize.term("extension")}
|
|
702
|
+
data-testid="cx-asset-link-format-extension-select"
|
|
703
|
+
value=${this.value}
|
|
704
|
+
hoist
|
|
705
|
+
@cx-change=${this.handleExtensionChange}
|
|
706
|
+
>
|
|
707
|
+
${Q(
|
|
708
|
+
this.items,
|
|
709
|
+
(t) => t.value,
|
|
710
|
+
(t) => b`
|
|
711
|
+
<cx-option value=${t.value}>${t.displayName}</cx-option>
|
|
712
|
+
`
|
|
713
|
+
)}
|
|
714
|
+
</cx-select>
|
|
715
|
+
</cx-space>
|
|
716
|
+
`;
|
|
717
|
+
}
|
|
718
|
+
};
|
|
719
|
+
U.styles = [E, ft];
|
|
720
|
+
U.dependencies = {
|
|
721
|
+
"cx-option": X,
|
|
722
|
+
"cx-select": Y,
|
|
723
|
+
"cx-space": H,
|
|
724
|
+
"cx-typography": W
|
|
725
|
+
};
|
|
726
|
+
et([
|
|
727
|
+
l({ reflect: !0, type: String })
|
|
728
|
+
], U.prototype, "value", 2);
|
|
729
|
+
et([
|
|
730
|
+
l({ reflect: !1, type: Array })
|
|
731
|
+
], U.prototype, "items", 2);
|
|
732
|
+
U = et([
|
|
733
|
+
N("cx-asset-link-format-extension")
|
|
734
|
+
], U);
|
|
735
|
+
const wt = D`
|
|
736
|
+
cx-details::part(base) {
|
|
737
|
+
border-bottom-width: 0;
|
|
738
|
+
}
|
|
739
|
+
`;
|
|
740
|
+
var zt = Object.defineProperty, St = Object.getOwnPropertyDescriptor, _ = (t, e, i, s) => {
|
|
741
|
+
for (var a = s > 1 ? void 0 : s ? St(e, i) : e, h = t.length - 1, r; h >= 0; h--)
|
|
742
|
+
(r = t[h]) && (a = (s ? r(e, i, a) : r(a)) || a);
|
|
743
|
+
return s && a && zt(e, i, a), a;
|
|
744
|
+
};
|
|
745
|
+
let C = class extends F {
|
|
746
|
+
constructor() {
|
|
747
|
+
super(...arguments), this.localize = new O(this), this.open = !1, this.value = "", this.items = [], this.loading = !1, this.scopedValue = "";
|
|
748
|
+
}
|
|
749
|
+
handleValueChange() {
|
|
750
|
+
this.scopedValue = this.value;
|
|
751
|
+
}
|
|
752
|
+
handleOpenChange() {
|
|
753
|
+
this.open || (this.scopedValue = this.value);
|
|
754
|
+
}
|
|
755
|
+
handleProxyChange(t) {
|
|
756
|
+
const e = t.target.value;
|
|
757
|
+
this.scopedValue = e;
|
|
758
|
+
}
|
|
759
|
+
/**
|
|
760
|
+
* Handles the application of the selected proxy format.
|
|
761
|
+
* This method emits a custom event with the selected proxy format when the "Apply" button is clicked.
|
|
762
|
+
* It prevents further actions if the component is currently loading.
|
|
763
|
+
*/
|
|
764
|
+
handleApply() {
|
|
765
|
+
if (this.loading)
|
|
766
|
+
return;
|
|
767
|
+
const t = this.items.find(
|
|
768
|
+
(e) => e.id === this.scopedValue
|
|
769
|
+
);
|
|
770
|
+
t && this.emit("cx-asset-link-format-proxy-change", {
|
|
771
|
+
detail: t
|
|
772
|
+
});
|
|
773
|
+
}
|
|
774
|
+
/**
|
|
775
|
+
* Handles showing the details section.
|
|
776
|
+
* This method prevents the event from propagating if the target is not the base element, such as tooltips, select dropdowns, or other interactive elements inside the details.
|
|
777
|
+
* This ensures that the details section is only shown when the user interacts with the base element.
|
|
778
|
+
*/
|
|
779
|
+
onShowDetails(t) {
|
|
780
|
+
t.target !== this.base && t.stopPropagation();
|
|
781
|
+
}
|
|
782
|
+
/**
|
|
783
|
+
* Handles hiding the details section.
|
|
784
|
+
* This method prevents the event from propagating if the target is not the base element, such as tooltips, select dropdowns, or other interactive elements inside the details.
|
|
785
|
+
* This ensures that the details section is only hidden when the user interacts with the base element.
|
|
786
|
+
*/
|
|
787
|
+
onHideDetails(t) {
|
|
788
|
+
t.target !== this.base && t.stopPropagation();
|
|
789
|
+
}
|
|
790
|
+
render() {
|
|
791
|
+
return b`
|
|
792
|
+
<cx-details
|
|
793
|
+
class="details"
|
|
794
|
+
?open=${this.open}
|
|
795
|
+
@cx-show=${this.onShowDetails}
|
|
796
|
+
@cx-hide=${this.onHideDetails}
|
|
797
|
+
>
|
|
798
|
+
<cx-space slot="summary" align-items="center">
|
|
799
|
+
<div part="icon">
|
|
800
|
+
<cx-icon name="photo_size_select_large"></cx-icon>
|
|
801
|
+
</div>
|
|
802
|
+
<cx-typography variant="body2">
|
|
803
|
+
${this.localize.term("format")}
|
|
804
|
+
</cx-typography>
|
|
805
|
+
</cx-space>
|
|
806
|
+
<cx-space direction="vertical" spacing="small" class="format">
|
|
807
|
+
<cx-select
|
|
808
|
+
data-label=${this.localize.term("imageFormat")}
|
|
809
|
+
data-testid="cx-asset-link-format-proxy-select"
|
|
810
|
+
value=${this.scopedValue}
|
|
811
|
+
hoist
|
|
812
|
+
@cx-change=${this.handleProxyChange}
|
|
813
|
+
?disabled=${this.loading}
|
|
814
|
+
>
|
|
815
|
+
${Q(
|
|
816
|
+
this.items,
|
|
817
|
+
(t) => t.id,
|
|
818
|
+
(t) => b`
|
|
819
|
+
<cx-option value=${t.id}>${t.proxyLabel}</cx-option>
|
|
820
|
+
`
|
|
821
|
+
)}
|
|
822
|
+
</cx-select>
|
|
823
|
+
<cx-button
|
|
824
|
+
data-testid="cx-asset-link-format-proxy-apply"
|
|
825
|
+
variant="primary"
|
|
826
|
+
style=${M({
|
|
827
|
+
"margin-left": "auto"
|
|
828
|
+
})}
|
|
829
|
+
?disabled=${this.scopedValue === this.value}
|
|
830
|
+
?loading=${this.loading}
|
|
831
|
+
@click=${this.handleApply}
|
|
832
|
+
>
|
|
833
|
+
${this.localize.term("apply")}
|
|
834
|
+
</cx-button>
|
|
835
|
+
</cx-space>
|
|
836
|
+
</cx-details>
|
|
837
|
+
`;
|
|
838
|
+
}
|
|
839
|
+
};
|
|
840
|
+
C.styles = [E, wt];
|
|
841
|
+
C.dependencies = {
|
|
842
|
+
"cx-button": q,
|
|
843
|
+
"cx-details": L,
|
|
844
|
+
"cx-icon": j,
|
|
845
|
+
"cx-option": X,
|
|
846
|
+
"cx-select": Y,
|
|
847
|
+
"cx-space": H,
|
|
848
|
+
"cx-typography": W
|
|
849
|
+
};
|
|
850
|
+
_([
|
|
851
|
+
T(".details")
|
|
852
|
+
], C.prototype, "base", 2);
|
|
853
|
+
_([
|
|
854
|
+
l({ reflect: !0, type: Boolean })
|
|
855
|
+
], C.prototype, "open", 2);
|
|
856
|
+
_([
|
|
857
|
+
l({ reflect: !0, type: String })
|
|
858
|
+
], C.prototype, "value", 2);
|
|
859
|
+
_([
|
|
860
|
+
l({ reflect: !1, type: Array })
|
|
861
|
+
], C.prototype, "items", 2);
|
|
862
|
+
_([
|
|
863
|
+
l({ reflect: !0, type: Boolean })
|
|
864
|
+
], C.prototype, "loading", 2);
|
|
865
|
+
_([
|
|
866
|
+
z()
|
|
867
|
+
], C.prototype, "scopedValue", 2);
|
|
868
|
+
_([
|
|
869
|
+
k("value")
|
|
870
|
+
], C.prototype, "handleValueChange", 1);
|
|
871
|
+
_([
|
|
872
|
+
k("open", { waitUntilFirstUpdate: !0 })
|
|
873
|
+
], C.prototype, "handleOpenChange", 1);
|
|
874
|
+
C = _([
|
|
875
|
+
N("cx-asset-link-format-proxy")
|
|
876
|
+
], C);
|
|
877
|
+
const bt = D`
|
|
878
|
+
cx-details::part(base) {
|
|
879
|
+
border-bottom-width: 0;
|
|
880
|
+
}
|
|
881
|
+
`;
|
|
882
|
+
var kt = Object.defineProperty, $t = Object.getOwnPropertyDescriptor, I = (t, e, i, s) => {
|
|
883
|
+
for (var a = s > 1 ? void 0 : s ? $t(e, i) : e, h = t.length - 1, r; h >= 0; h--)
|
|
884
|
+
(r = t[h]) && (a = (s ? r(e, i, a) : r(a)) || a);
|
|
885
|
+
return s && a && kt(e, i, a), a;
|
|
886
|
+
};
|
|
887
|
+
let A = class extends F {
|
|
888
|
+
constructor() {
|
|
889
|
+
super(...arguments), this.localize = new O(this), this.open = !1, this.value = 100, this.loading = !1, this.scopedValue = 100;
|
|
890
|
+
}
|
|
891
|
+
/**
|
|
892
|
+
* A computed property that checks if the current quality value is invalid.
|
|
893
|
+
* The value is considered invalid if it is not a number, less than 1, greater than 100, or equal to the current value.
|
|
894
|
+
* @return {boolean} True if the value is invalid, false otherwise.
|
|
895
|
+
*/
|
|
896
|
+
get invalidValue() {
|
|
897
|
+
return isNaN(Number(this.scopedValue)) || Number(this.scopedValue) < 1 || Number(this.scopedValue) > 100 || this.value === this.scopedValue;
|
|
898
|
+
}
|
|
899
|
+
handleValueChange() {
|
|
900
|
+
this.scopedValue = this.value;
|
|
901
|
+
}
|
|
902
|
+
handleQualityChange(t) {
|
|
903
|
+
const e = t.target.value;
|
|
904
|
+
this.scopedValue = Number(e);
|
|
905
|
+
}
|
|
906
|
+
/**
|
|
907
|
+
* Handles the application of the input quality.
|
|
908
|
+
* This method emits a custom event with the input quality when the "Apply" button is clicked.
|
|
909
|
+
* It prevents further actions if the component is currently loading.
|
|
910
|
+
*/
|
|
911
|
+
handleApply() {
|
|
912
|
+
this.loading || this.emit("cx-asset-link-format-quality-change", {
|
|
913
|
+
detail: Number(this.scopedValue)
|
|
914
|
+
});
|
|
915
|
+
}
|
|
916
|
+
/**
|
|
917
|
+
* Handles showing the details section.
|
|
918
|
+
* This method prevents the event from propagating if the target is not the base element, such as tooltips, select dropdowns, or other interactive elements inside the details.
|
|
919
|
+
* This ensures that the details section is only shown when the user interacts with the base element.
|
|
920
|
+
*/
|
|
921
|
+
onShowDetails(t) {
|
|
922
|
+
t.target !== this.base && t.stopPropagation();
|
|
923
|
+
}
|
|
924
|
+
/**
|
|
925
|
+
* Handles hiding the details section.
|
|
926
|
+
* This method prevents the event from propagating if the target is not the base element, such as tooltips, select dropdowns, or other interactive elements inside the details.
|
|
927
|
+
* This ensures that the details section is only hidden when the user interacts with the base element.
|
|
928
|
+
*/
|
|
929
|
+
onHideDetails(t) {
|
|
930
|
+
t.target !== this.base && t.stopPropagation();
|
|
931
|
+
}
|
|
932
|
+
render() {
|
|
933
|
+
return b`
|
|
934
|
+
<cx-details
|
|
935
|
+
class="details"
|
|
936
|
+
?open=${this.open}
|
|
937
|
+
@cx-show=${this.onShowDetails}
|
|
938
|
+
@cx-hide=${this.onHideDetails}
|
|
939
|
+
>
|
|
940
|
+
<cx-space slot="summary" align-items="center">
|
|
941
|
+
<div class="details__summary__icon">
|
|
942
|
+
<div part="icon">
|
|
943
|
+
<cx-icon name="blur_on"></cx-icon>
|
|
944
|
+
</div>
|
|
945
|
+
</div>
|
|
946
|
+
<cx-typography variant="body2">
|
|
947
|
+
${this.localize.term("quality")}
|
|
948
|
+
</cx-typography>
|
|
949
|
+
</cx-space>
|
|
950
|
+
<cx-space spacing="small">
|
|
951
|
+
<cx-tooltip
|
|
952
|
+
data-testid="cx-asset-link-format-quality-tooltip"
|
|
953
|
+
content=${this.localize.term("qualityHelpText")}
|
|
954
|
+
hoist
|
|
955
|
+
>
|
|
956
|
+
<cx-input
|
|
957
|
+
data-testid="cx-asset-link-format-quality"
|
|
958
|
+
class="details__checkbox"
|
|
959
|
+
type="number"
|
|
960
|
+
value=${this.scopedValue}
|
|
961
|
+
min="0"
|
|
962
|
+
max="100"
|
|
963
|
+
step="1"
|
|
964
|
+
style=${M({
|
|
965
|
+
flex: "1"
|
|
966
|
+
})}
|
|
967
|
+
@cx-input=${this.handleQualityChange}
|
|
968
|
+
>
|
|
969
|
+
</cx-input>
|
|
970
|
+
</cx-tooltip>
|
|
971
|
+
<cx-button
|
|
972
|
+
data-testid="cx-asset-link-format-quality-apply"
|
|
973
|
+
variant="primary"
|
|
974
|
+
?disabled=${this.invalidValue}
|
|
975
|
+
?loading=${this.loading}
|
|
976
|
+
@click=${this.handleApply}
|
|
977
|
+
>
|
|
978
|
+
${this.localize.term("apply")}
|
|
979
|
+
</cx-button>
|
|
980
|
+
</cx-space>
|
|
981
|
+
</cx-details>
|
|
982
|
+
`;
|
|
983
|
+
}
|
|
984
|
+
};
|
|
985
|
+
A.styles = [E, bt];
|
|
986
|
+
A.dependencies = {
|
|
987
|
+
"cx-button": q,
|
|
988
|
+
"cx-details": L,
|
|
989
|
+
"cx-icon": j,
|
|
990
|
+
"cx-input": tt,
|
|
991
|
+
"cx-space": H,
|
|
992
|
+
"cx-tooltip": at,
|
|
993
|
+
"cx-typography": W
|
|
994
|
+
};
|
|
995
|
+
I([
|
|
996
|
+
T(".details")
|
|
997
|
+
], A.prototype, "base", 2);
|
|
998
|
+
I([
|
|
999
|
+
l({ reflect: !0, type: Boolean })
|
|
1000
|
+
], A.prototype, "open", 2);
|
|
1001
|
+
I([
|
|
1002
|
+
l({ reflect: !0, type: Number })
|
|
1003
|
+
], A.prototype, "value", 2);
|
|
1004
|
+
I([
|
|
1005
|
+
l({ reflect: !0, type: Boolean })
|
|
1006
|
+
], A.prototype, "loading", 2);
|
|
1007
|
+
I([
|
|
1008
|
+
z()
|
|
1009
|
+
], A.prototype, "scopedValue", 2);
|
|
1010
|
+
I([
|
|
1011
|
+
k("value")
|
|
1012
|
+
], A.prototype, "handleValueChange", 1);
|
|
1013
|
+
A = I([
|
|
1014
|
+
N("cx-asset-link-format-quality")
|
|
1015
|
+
], A);
|
|
1016
|
+
const Ct = D`
|
|
1017
|
+
cx-details::part(base) {
|
|
1018
|
+
border-bottom-width: 0;
|
|
1019
|
+
}
|
|
1020
|
+
|
|
1021
|
+
cx-space {
|
|
1022
|
+
width: 100%;
|
|
1023
|
+
}
|
|
1024
|
+
|
|
1025
|
+
cx-space cx-input {
|
|
1026
|
+
flex: 1;
|
|
1027
|
+
}
|
|
1028
|
+
|
|
1029
|
+
.resize__unit-select {
|
|
1030
|
+
width: 120px;
|
|
1031
|
+
}
|
|
1032
|
+
|
|
1033
|
+
.resize__input-group {
|
|
1034
|
+
display: flex;
|
|
1035
|
+
flex: 1;
|
|
1036
|
+
}
|
|
1037
|
+
`;
|
|
1038
|
+
var At = Object.defineProperty, Rt = Object.getOwnPropertyDescriptor, S = (t, e, i, s) => {
|
|
1039
|
+
for (var a = s > 1 ? void 0 : s ? Rt(e, i) : e, h = t.length - 1, r; h >= 0; h--)
|
|
1040
|
+
(r = t[h]) && (a = (s ? r(e, i, a) : r(a)) || a);
|
|
1041
|
+
return s && a && At(e, i, a), a;
|
|
1042
|
+
};
|
|
1043
|
+
let f = class extends F {
|
|
1044
|
+
constructor() {
|
|
1045
|
+
super(...arguments), this.localize = new O(this), this.open = !1, this.width = 0, this.height = 0, this.maxWidth = 0, this.maxHeight = 0, this.ratioWidth = 1, this.ratioHeight = 1, this.unit = o.Pixel, this.lastAppliedSetting = {
|
|
1046
|
+
[o.Pixel]: { height: 0, width: 0 },
|
|
1047
|
+
[o.AspectRatio]: { height: 1, width: 1 }
|
|
1048
|
+
}, this.loading = !1, this.keepAspectRatio = !1, this.invalidWidth = !1, this.invalidHeight = !1, this.aspectRatio = 0;
|
|
1049
|
+
}
|
|
1050
|
+
/**
|
|
1051
|
+
* A computed property that checks if the current resize settings match the last applied settings.
|
|
1052
|
+
* This is used to disable the apply button when no changes have been made.
|
|
1053
|
+
* @returns {boolean} True if the current settings match the last applied settings, false otherwise.
|
|
1054
|
+
*/
|
|
1055
|
+
get disabledApply() {
|
|
1056
|
+
return this.lastAppliedSetting[this.unit].width === this.width && this.lastAppliedSetting[this.unit].height === this.height;
|
|
1057
|
+
}
|
|
1058
|
+
async handleCropModeChange() {
|
|
1059
|
+
if (this.keepAspectRatio) {
|
|
1060
|
+
if (this.unit === o.Pixel && this.width && this.height) {
|
|
1061
|
+
this.aspectRatio = this.width / this.height;
|
|
1062
|
+
return;
|
|
1063
|
+
} else if (this.unit === o.AspectRatio && this.ratioWidth && this.ratioHeight) {
|
|
1064
|
+
this.aspectRatio = this.ratioWidth / this.ratioHeight;
|
|
1065
|
+
return;
|
|
1066
|
+
}
|
|
1067
|
+
}
|
|
1068
|
+
if (this.maxWidth && this.maxHeight) {
|
|
1069
|
+
this.aspectRatio = this.maxWidth / this.maxHeight;
|
|
1070
|
+
return;
|
|
1071
|
+
}
|
|
1072
|
+
this.aspectRatio = 1;
|
|
1073
|
+
}
|
|
1074
|
+
async handleOpenChange() {
|
|
1075
|
+
await this.updateComplete, this.open || (this.width = this.lastAppliedSetting[o.Pixel].width, this.height = this.lastAppliedSetting[o.Pixel].height, this.unit = o.Pixel, this.emit("cx-asset-link-format-resize-change", {
|
|
1076
|
+
detail: {
|
|
1077
|
+
height: this.lastAppliedSetting[o.Pixel].height,
|
|
1078
|
+
keepAspectRatio: this.keepAspectRatio,
|
|
1079
|
+
unit: o.Pixel,
|
|
1080
|
+
width: this.lastAppliedSetting[o.Pixel].width
|
|
1081
|
+
}
|
|
1082
|
+
}));
|
|
1083
|
+
}
|
|
1084
|
+
handleWidthChange(t) {
|
|
1085
|
+
if (!t.target.value) {
|
|
1086
|
+
this.invalidWidth = !0;
|
|
1087
|
+
return;
|
|
1088
|
+
}
|
|
1089
|
+
this.invalidWidth = !1;
|
|
1090
|
+
let e = Number(t.target.value);
|
|
1091
|
+
this.unit === o.Pixel && (e = Math.max(Math.min(e, this.maxWidth), 1)), t.target.value = e.toString();
|
|
1092
|
+
let i = this.unit === o.Pixel ? this.height : this.ratioHeight;
|
|
1093
|
+
this.keepAspectRatio && (i = Math.min(
|
|
1094
|
+
Math.round(e / this.aspectRatio),
|
|
1095
|
+
this.maxHeight
|
|
1096
|
+
), this.invalidHeight = !1), this.emit("cx-asset-link-format-resize-change", {
|
|
1097
|
+
detail: {
|
|
1098
|
+
height: i,
|
|
1099
|
+
keepAspectRatio: this.keepAspectRatio,
|
|
1100
|
+
unit: this.unit,
|
|
1101
|
+
width: e
|
|
1102
|
+
}
|
|
1103
|
+
});
|
|
1104
|
+
}
|
|
1105
|
+
handleHeightChange(t) {
|
|
1106
|
+
if (!t.target.value) {
|
|
1107
|
+
this.invalidHeight = !0;
|
|
1108
|
+
return;
|
|
1109
|
+
}
|
|
1110
|
+
this.invalidHeight = !1;
|
|
1111
|
+
let e = Number(t.target.value);
|
|
1112
|
+
this.unit === o.Pixel && (e = Math.max(Math.min(e, this.maxHeight), 1)), t.target.value = e.toString();
|
|
1113
|
+
let i = this.unit === o.Pixel ? this.width : this.ratioWidth;
|
|
1114
|
+
this.keepAspectRatio && (i = Math.min(
|
|
1115
|
+
Math.round(e * this.aspectRatio),
|
|
1116
|
+
this.maxWidth
|
|
1117
|
+
), this.invalidWidth = !1), this.emit("cx-asset-link-format-resize-change", {
|
|
1118
|
+
detail: {
|
|
1119
|
+
height: e,
|
|
1120
|
+
keepAspectRatio: this.keepAspectRatio,
|
|
1121
|
+
unit: this.unit,
|
|
1122
|
+
width: i
|
|
1123
|
+
}
|
|
1124
|
+
});
|
|
1125
|
+
}
|
|
1126
|
+
onUnitChange(t) {
|
|
1127
|
+
t.target.value === o.AspectRatio ? this.emit("cx-asset-link-format-resize-change", {
|
|
1128
|
+
detail: {
|
|
1129
|
+
height: this.lastAppliedSetting[o.AspectRatio].height,
|
|
1130
|
+
keepAspectRatio: this.keepAspectRatio,
|
|
1131
|
+
unit: o.AspectRatio,
|
|
1132
|
+
width: this.lastAppliedSetting[o.AspectRatio].width
|
|
1133
|
+
}
|
|
1134
|
+
}) : this.emit("cx-asset-link-format-resize-change", {
|
|
1135
|
+
detail: {
|
|
1136
|
+
height: this.lastAppliedSetting[o.Pixel].height,
|
|
1137
|
+
keepAspectRatio: this.keepAspectRatio,
|
|
1138
|
+
unit: o.Pixel,
|
|
1139
|
+
width: this.lastAppliedSetting[o.Pixel].width
|
|
1140
|
+
}
|
|
1141
|
+
});
|
|
1142
|
+
}
|
|
1143
|
+
handleApply() {
|
|
1144
|
+
this.loading || this.emit("cx-asset-link-format-resize-apply", {
|
|
1145
|
+
detail: {
|
|
1146
|
+
height: this.height,
|
|
1147
|
+
unit: this.unit,
|
|
1148
|
+
width: this.width
|
|
1149
|
+
}
|
|
1150
|
+
});
|
|
1151
|
+
}
|
|
1152
|
+
/**
|
|
1153
|
+
* Handles showing the details section.
|
|
1154
|
+
* This method prevents the event from propagating if the target is not the base element, such as tooltips, select dropdowns, or other interactive elements inside the details.
|
|
1155
|
+
* This ensures that the details section is only shown when the user interacts with the base element.
|
|
1156
|
+
*/
|
|
1157
|
+
onShowDetails(t) {
|
|
1158
|
+
t.target !== this.base && t.stopPropagation();
|
|
1159
|
+
}
|
|
1160
|
+
/**
|
|
1161
|
+
* Handles hiding the details section.
|
|
1162
|
+
* This method prevents the event from propagating if the target is not the base element, such as tooltips, select dropdowns, or other interactive elements inside the details.
|
|
1163
|
+
* This ensures that the details section is only hidden when the user interacts with the base element.
|
|
1164
|
+
*/
|
|
1165
|
+
onHideDetails(t) {
|
|
1166
|
+
t.target !== this.base && t.stopPropagation();
|
|
1167
|
+
}
|
|
1168
|
+
handleAspectRatioClick() {
|
|
1169
|
+
this.emit("cx-asset-link-format-resize-change", {
|
|
1170
|
+
detail: {
|
|
1171
|
+
height: this.unit === o.Pixel ? this.height : this.ratioHeight,
|
|
1172
|
+
keepAspectRatio: !this.keepAspectRatio,
|
|
1173
|
+
unit: this.unit,
|
|
1174
|
+
width: this.unit === o.Pixel ? this.width : this.ratioWidth
|
|
1175
|
+
}
|
|
1176
|
+
});
|
|
1177
|
+
}
|
|
1178
|
+
render() {
|
|
1179
|
+
return b`<cx-details
|
|
1180
|
+
class="details"
|
|
1181
|
+
?open=${this.open}
|
|
1182
|
+
@cx-show=${this.onShowDetails}
|
|
1183
|
+
@cx-hide=${this.onHideDetails}
|
|
1184
|
+
>
|
|
1185
|
+
<cx-space slot="summary" align-items="center">
|
|
1186
|
+
<div part="icon">
|
|
1187
|
+
<cx-icon name="aspect_ratio"></cx-icon>
|
|
1188
|
+
</div>
|
|
1189
|
+
<cx-typography variant="body2">
|
|
1190
|
+
${this.localize.term("resize")}
|
|
1191
|
+
</cx-typography>
|
|
1192
|
+
</cx-space>
|
|
1193
|
+
<cx-space direction="vertical" spacing="small">
|
|
1194
|
+
<cx-space spacing="small">
|
|
1195
|
+
<div class="resize__input-group">
|
|
1196
|
+
<cx-input
|
|
1197
|
+
data-testid="cx-asset-link-format-resize-width"
|
|
1198
|
+
placeholder=${this.localize.term("width")}
|
|
1199
|
+
type="number"
|
|
1200
|
+
step="1"
|
|
1201
|
+
value=${this.unit === o.Pixel ? this.width.toString() : this.ratioWidth.toString()}
|
|
1202
|
+
@cx-input=${this.handleWidthChange}
|
|
1203
|
+
required
|
|
1204
|
+
?disabled=${this.loading}
|
|
1205
|
+
>
|
|
1206
|
+
<cx-typography slot="prefix" variant="body3" part="input-label">
|
|
1207
|
+
W
|
|
1208
|
+
</cx-typography>
|
|
1209
|
+
</cx-input>
|
|
1210
|
+
<cx-icon-button
|
|
1211
|
+
data-testid="cx-asset-link-format-resize-aspect-ratio"
|
|
1212
|
+
name=${this.keepAspectRatio ? "insert_link" : "link_off"}
|
|
1213
|
+
@click=${this.handleAspectRatioClick}
|
|
1214
|
+
style=${M({
|
|
1215
|
+
color: this.keepAspectRatio ? "var(--cx-color-primary)" : void 0
|
|
1216
|
+
})}
|
|
1217
|
+
?disabled=${this.loading}
|
|
1218
|
+
></cx-icon-button>
|
|
1219
|
+
<cx-input
|
|
1220
|
+
data-testid="cx-asset-link-format-resize-height"
|
|
1221
|
+
placeholder=${this.localize.term("height")}
|
|
1222
|
+
type="number"
|
|
1223
|
+
step="1"
|
|
1224
|
+
value=${this.unit === o.Pixel ? this.height.toString() : this.ratioHeight.toString()}
|
|
1225
|
+
@cx-input=${this.handleHeightChange}
|
|
1226
|
+
required
|
|
1227
|
+
?disabled=${this.loading}
|
|
1228
|
+
>
|
|
1229
|
+
<cx-typography slot="prefix" variant="body3" part="input-label">
|
|
1230
|
+
H
|
|
1231
|
+
</cx-typography>
|
|
1232
|
+
</cx-input>
|
|
1233
|
+
</div>
|
|
1234
|
+
<cx-select
|
|
1235
|
+
data-testid="cx-asset-link-format-resize-unit"
|
|
1236
|
+
value=${this.unit}
|
|
1237
|
+
hoist
|
|
1238
|
+
class="resize__unit-select"
|
|
1239
|
+
@cx-change=${this.onUnitChange}
|
|
1240
|
+
>
|
|
1241
|
+
<cx-option value=${o.Pixel}>
|
|
1242
|
+
${this.localize.term("pixels")}
|
|
1243
|
+
</cx-option>
|
|
1244
|
+
<cx-option value=${o.AspectRatio}>
|
|
1245
|
+
${this.localize.term("aspectRatio")}
|
|
1246
|
+
</cx-option>
|
|
1247
|
+
</cx-select>
|
|
1248
|
+
</cx-space>
|
|
1249
|
+
<cx-button
|
|
1250
|
+
data-testid="cx-asset-link-format-resize-apply"
|
|
1251
|
+
variant="primary"
|
|
1252
|
+
?disabled=${this.disabledApply || this.invalidHeight || this.invalidWidth}
|
|
1253
|
+
?loading=${this.loading}
|
|
1254
|
+
style=${M({
|
|
1255
|
+
marginLeft: "auto"
|
|
1256
|
+
})}
|
|
1257
|
+
@click=${this.handleApply}
|
|
1258
|
+
>
|
|
1259
|
+
${this.localize.term("apply")}
|
|
1260
|
+
</cx-button>
|
|
1261
|
+
</cx-space>
|
|
1262
|
+
</cx-details>`;
|
|
1263
|
+
}
|
|
1264
|
+
};
|
|
1265
|
+
f.styles = [E, Ct];
|
|
1266
|
+
f.dependencies = {
|
|
1267
|
+
"cx-button": q,
|
|
1268
|
+
"cx-details": L,
|
|
1269
|
+
"cx-icon": j,
|
|
1270
|
+
"cx-icon-button": K,
|
|
1271
|
+
"cx-input": tt,
|
|
1272
|
+
"cx-option": X,
|
|
1273
|
+
"cx-select": Y,
|
|
1274
|
+
"cx-space": H,
|
|
1275
|
+
"cx-typography": W
|
|
1276
|
+
};
|
|
1277
|
+
S([
|
|
1278
|
+
T(".details")
|
|
1279
|
+
], f.prototype, "base", 2);
|
|
1280
|
+
S([
|
|
1281
|
+
l({ reflect: !0, type: Boolean })
|
|
1282
|
+
], f.prototype, "open", 2);
|
|
1283
|
+
S([
|
|
1284
|
+
l({ reflect: !0, type: Number })
|
|
1285
|
+
], f.prototype, "width", 2);
|
|
1286
|
+
S([
|
|
1287
|
+
l({ reflect: !0, type: Number })
|
|
1288
|
+
], f.prototype, "height", 2);
|
|
1289
|
+
S([
|
|
1290
|
+
l({ attribute: "max-width", reflect: !0, type: Number })
|
|
1291
|
+
], f.prototype, "maxWidth", 2);
|
|
1292
|
+
S([
|
|
1293
|
+
l({ attribute: "max-height", reflect: !0, type: Number })
|
|
1294
|
+
], f.prototype, "maxHeight", 2);
|
|
1295
|
+
S([
|
|
1296
|
+
l({ attribute: "ratio-width", reflect: !0, type: Number })
|
|
1297
|
+
], f.prototype, "ratioWidth", 2);
|
|
1298
|
+
S([
|
|
1299
|
+
l({ attribute: "ratio-height", reflect: !0, type: Number })
|
|
1300
|
+
], f.prototype, "ratioHeight", 2);
|
|
1301
|
+
S([
|
|
1302
|
+
l({ reflect: !0, type: String })
|
|
1303
|
+
], f.prototype, "unit", 2);
|
|
1304
|
+
S([
|
|
1305
|
+
l({ attribute: "last-applied-setting", reflect: !1, type: Object })
|
|
1306
|
+
], f.prototype, "lastAppliedSetting", 2);
|
|
1307
|
+
S([
|
|
1308
|
+
l({ reflect: !0, type: Boolean })
|
|
1309
|
+
], f.prototype, "loading", 2);
|
|
1310
|
+
S([
|
|
1311
|
+
l({ attribute: "keep-aspect-ratio", reflect: !0, type: Boolean })
|
|
1312
|
+
], f.prototype, "keepAspectRatio", 2);
|
|
1313
|
+
S([
|
|
1314
|
+
z()
|
|
1315
|
+
], f.prototype, "invalidWidth", 2);
|
|
1316
|
+
S([
|
|
1317
|
+
z()
|
|
1318
|
+
], f.prototype, "invalidHeight", 2);
|
|
1319
|
+
S([
|
|
1320
|
+
z()
|
|
1321
|
+
], f.prototype, "aspectRatio", 2);
|
|
1322
|
+
S([
|
|
1323
|
+
k("cropMode", { waitUntilFirstUpdate: !0 }),
|
|
1324
|
+
k("maxWidth", { waitUntilFirstUpdate: !0 }),
|
|
1325
|
+
k("maxHeight", { waitUntilFirstUpdate: !0 }),
|
|
1326
|
+
k("keepAspectRatio")
|
|
1327
|
+
], f.prototype, "handleCropModeChange", 1);
|
|
1328
|
+
S([
|
|
1329
|
+
k("open")
|
|
1330
|
+
], f.prototype, "handleOpenChange", 1);
|
|
1331
|
+
f = S([
|
|
1332
|
+
N("cx-asset-link-format-resize")
|
|
1333
|
+
], f);
|
|
1334
|
+
const Mt = D`
|
|
1335
|
+
cx-details::part(base) {
|
|
1336
|
+
border-bottom-width: 0;
|
|
1337
|
+
}
|
|
1338
|
+
`;
|
|
1339
|
+
var _t = Object.defineProperty, Pt = Object.getOwnPropertyDescriptor, V = (t, e, i, s) => {
|
|
1340
|
+
for (var a = s > 1 ? void 0 : s ? Pt(e, i) : e, h = t.length - 1, r; h >= 0; h--)
|
|
1341
|
+
(r = t[h]) && (a = (s ? r(e, i, a) : r(a)) || a);
|
|
1342
|
+
return s && a && _t(e, i, a), a;
|
|
1343
|
+
};
|
|
1344
|
+
let R = class extends F {
|
|
1345
|
+
constructor() {
|
|
1346
|
+
super(...arguments), this.localize = new O(this), this.open = !1, this.value = 0, this.loading = !1, this.invalidValue = !1;
|
|
1347
|
+
}
|
|
1348
|
+
handleOpenChange() {
|
|
1349
|
+
this.open || this.emit("cx-asset-link-format-rotation-change", {
|
|
1350
|
+
detail: 0
|
|
1351
|
+
});
|
|
1352
|
+
}
|
|
1353
|
+
handleRotationChange(t) {
|
|
1354
|
+
const e = t.target.value;
|
|
1355
|
+
e ? this.invalidValue = !1 : this.invalidValue = !0;
|
|
1356
|
+
const i = it(Number(e));
|
|
1357
|
+
(Number(e) > 360 || Number(e) < -360) && (t.target.value = i.toString()), this.emit("cx-asset-link-format-rotation-change", {
|
|
1358
|
+
detail: i
|
|
1359
|
+
});
|
|
1360
|
+
}
|
|
1361
|
+
handleButtonClick(t) {
|
|
1362
|
+
this.emit("cx-asset-link-format-rotation-change", {
|
|
1363
|
+
detail: it(t)
|
|
1364
|
+
});
|
|
1365
|
+
}
|
|
1366
|
+
handleClockwiseClick() {
|
|
1367
|
+
this.handleButtonClick(this.value + 90);
|
|
1368
|
+
}
|
|
1369
|
+
handleCounterClockwiseClick() {
|
|
1370
|
+
this.handleButtonClick(this.value - 90);
|
|
1371
|
+
}
|
|
1372
|
+
/**
|
|
1373
|
+
* Handles the application of the input rotation.
|
|
1374
|
+
* This method emits a custom event with the input rotation when the "Apply" button is clicked.
|
|
1375
|
+
* It prevents further actions if the component is currently loading.
|
|
1376
|
+
*/
|
|
1377
|
+
handleApply() {
|
|
1378
|
+
this.invalidValue || this.value === 360 || this.value === -360 || this.loading || this.emit("cx-asset-link-format-rotation-apply", {
|
|
1379
|
+
detail: this.value
|
|
1380
|
+
});
|
|
1381
|
+
}
|
|
1382
|
+
render() {
|
|
1383
|
+
return b`
|
|
1384
|
+
<cx-details class="details" ?open=${this.open}>
|
|
1385
|
+
<cx-space slot="summary" align-items="center">
|
|
1386
|
+
<div part="icon">
|
|
1387
|
+
<cx-icon name="rotate_90_degrees_cw"></cx-icon>
|
|
1388
|
+
</div>
|
|
1389
|
+
<cx-typography variant="body2">Rotate</cx-typography>
|
|
1390
|
+
</cx-space>
|
|
1391
|
+
<cx-space spacing="small">
|
|
1392
|
+
<cx-button-group label=${this.localize.term("history")}>
|
|
1393
|
+
<cx-icon-button
|
|
1394
|
+
data-testid="cx-asset-link-format-rotation-ccw"
|
|
1395
|
+
name="rotate_90_degrees_ccw"
|
|
1396
|
+
label=${this.localize.term("undo")}
|
|
1397
|
+
outline
|
|
1398
|
+
size="small"
|
|
1399
|
+
?disabled=${this.loading || this.value === -360}
|
|
1400
|
+
@click=${this.handleCounterClockwiseClick}
|
|
1401
|
+
>
|
|
1402
|
+
</cx-icon-button>
|
|
1403
|
+
<cx-icon-button
|
|
1404
|
+
data-testid="cx-asset-link-format-rotation-cw"
|
|
1405
|
+
name="rotate_90_degrees_cw"
|
|
1406
|
+
label=${this.localize.term("redo")}
|
|
1407
|
+
outline
|
|
1408
|
+
size="small"
|
|
1409
|
+
?disabled=${this.loading || this.value === 360}
|
|
1410
|
+
@click=${this.handleClockwiseClick}
|
|
1411
|
+
>
|
|
1412
|
+
</cx-icon-button>
|
|
1413
|
+
</cx-button-group>
|
|
1414
|
+
<cx-input
|
|
1415
|
+
data-testid="cx-asset-link-format-rotation"
|
|
1416
|
+
value=${this.invalidValue ? "" : this.value.toString()}
|
|
1417
|
+
placeholder="0"
|
|
1418
|
+
type="number"
|
|
1419
|
+
min="-360"
|
|
1420
|
+
max="360"
|
|
1421
|
+
?disabled=${this.loading}
|
|
1422
|
+
style=${M({
|
|
1423
|
+
flex: "none",
|
|
1424
|
+
width: "80px"
|
|
1425
|
+
})}
|
|
1426
|
+
@cx-input=${this.handleRotationChange}
|
|
1427
|
+
step="1"
|
|
1428
|
+
></cx-input>
|
|
1429
|
+
<cx-button
|
|
1430
|
+
data-testid="cx-asset-link-format-rotation-apply"
|
|
1431
|
+
variant="primary"
|
|
1432
|
+
?disabled=${this.value === 360 || this.value === -360 || this.invalidValue}
|
|
1433
|
+
?loading=${this.loading}
|
|
1434
|
+
@click=${this.handleApply}
|
|
1435
|
+
>
|
|
1436
|
+
${this.localize.term("apply")}
|
|
1437
|
+
</cx-button>
|
|
1438
|
+
</cx-space>
|
|
1439
|
+
</cx-details>
|
|
1440
|
+
`;
|
|
1441
|
+
}
|
|
1442
|
+
};
|
|
1443
|
+
R.styles = [E, Mt];
|
|
1444
|
+
R.dependencies = {
|
|
1445
|
+
"cx-button": q,
|
|
1446
|
+
"cx-button-group": pt,
|
|
1447
|
+
"cx-details": L,
|
|
1448
|
+
"cx-icon": j,
|
|
1449
|
+
"cx-icon-button": K,
|
|
1450
|
+
"cx-space": H,
|
|
1451
|
+
"cx-typography": W
|
|
1452
|
+
};
|
|
1453
|
+
V([
|
|
1454
|
+
T(".details")
|
|
1455
|
+
], R.prototype, "base", 2);
|
|
1456
|
+
V([
|
|
1457
|
+
l({ reflect: !0, type: Boolean })
|
|
1458
|
+
], R.prototype, "open", 2);
|
|
1459
|
+
V([
|
|
1460
|
+
l({ reflect: !0, type: Number })
|
|
1461
|
+
], R.prototype, "value", 2);
|
|
1462
|
+
V([
|
|
1463
|
+
l({ reflect: !0, type: Boolean })
|
|
1464
|
+
], R.prototype, "loading", 2);
|
|
1465
|
+
V([
|
|
1466
|
+
z()
|
|
1467
|
+
], R.prototype, "invalidValue", 2);
|
|
1468
|
+
V([
|
|
1469
|
+
k("open", { waitUntilFirstUpdate: !0 })
|
|
1470
|
+
], R.prototype, "handleOpenChange", 1);
|
|
1471
|
+
R = V([
|
|
1472
|
+
N("cx-asset-link-format-rotation")
|
|
1473
|
+
], R);
|
|
1474
|
+
const Ht = D`
|
|
1475
|
+
cx-details::part(base) {
|
|
1476
|
+
border-bottom-width: 0;
|
|
1477
|
+
}
|
|
1478
|
+
`;
|
|
1479
|
+
var Wt = Object.defineProperty, Ft = Object.getOwnPropertyDescriptor, Z = (t, e, i, s) => {
|
|
1480
|
+
for (var a = s > 1 ? void 0 : s ? Ft(e, i) : e, h = t.length - 1, r; h >= 0; h--)
|
|
1481
|
+
(r = t[h]) && (a = (s ? r(e, i, a) : r(a)) || a);
|
|
1482
|
+
return s && a && Wt(e, i, a), a;
|
|
1483
|
+
};
|
|
1484
|
+
let P = class extends F {
|
|
1485
|
+
constructor() {
|
|
1486
|
+
super(...arguments), this.localize = new O(this), this.open = !1, this.value = !1;
|
|
1487
|
+
}
|
|
1488
|
+
handleApply(t) {
|
|
1489
|
+
this.emit("cx-asset-link-format-metadata-change", {
|
|
1490
|
+
detail: t.target.checked
|
|
1491
|
+
});
|
|
1492
|
+
}
|
|
1493
|
+
/**
|
|
1494
|
+
* Handles showing the details section.
|
|
1495
|
+
* This method prevents the event from propagating if the target is not the base element, such as tooltips, select dropdowns, or other interactive elements inside the details.
|
|
1496
|
+
* This ensures that the details section is only shown when the user interacts with the base element.
|
|
1497
|
+
*/
|
|
1498
|
+
onShowDetails(t) {
|
|
1499
|
+
t.target !== this.base && t.stopPropagation();
|
|
1500
|
+
}
|
|
1501
|
+
/**
|
|
1502
|
+
* Handles hiding the details section.
|
|
1503
|
+
* This method prevents the event from propagating if the target is not the base element, such as tooltips, select dropdowns, or other interactive elements inside the details.
|
|
1504
|
+
* This ensures that the details section is only hidden when the user interacts with the base element.
|
|
1505
|
+
*/
|
|
1506
|
+
onHideDetails(t) {
|
|
1507
|
+
t.target !== this.base && t.stopPropagation();
|
|
1508
|
+
}
|
|
1509
|
+
render() {
|
|
1510
|
+
return b`
|
|
1511
|
+
<cx-details
|
|
1512
|
+
class="details"
|
|
1513
|
+
?open=${this.open}
|
|
1514
|
+
@cx-show=${this.onShowDetails}
|
|
1515
|
+
@cx-hide=${this.onHideDetails}
|
|
1516
|
+
>
|
|
1517
|
+
<cx-space slot="summary" align-items="center">
|
|
1518
|
+
<div class="details__summary__icon">
|
|
1519
|
+
<div part="icon">
|
|
1520
|
+
<cx-icon name="short_text"></cx-icon>
|
|
1521
|
+
</div>
|
|
1522
|
+
</div>
|
|
1523
|
+
<cx-typography variant="body2">
|
|
1524
|
+
${this.localize.term("metadata")}
|
|
1525
|
+
</cx-typography>
|
|
1526
|
+
</cx-space>
|
|
1527
|
+
<cx-space spacing="small">
|
|
1528
|
+
<cx-tooltip
|
|
1529
|
+
data-testid="cx-asset-link-format-metadata-tooltip"
|
|
1530
|
+
content=${this.localize.term("metadataHelpText")}
|
|
1531
|
+
hoist
|
|
1532
|
+
>
|
|
1533
|
+
<cx-checkbox
|
|
1534
|
+
data-testid="cx-asset-link-format-metadata"
|
|
1535
|
+
class="details__checkbox"
|
|
1536
|
+
?checked=${this.value}
|
|
1537
|
+
@cx-change=${this.handleApply}
|
|
1538
|
+
>
|
|
1539
|
+
${this.localize.term("preserveMetadata")}
|
|
1540
|
+
</cx-checkbox>
|
|
1541
|
+
</cx-tooltip>
|
|
1542
|
+
</cx-space>
|
|
1543
|
+
</cx-details>
|
|
1544
|
+
`;
|
|
1545
|
+
}
|
|
1546
|
+
};
|
|
1547
|
+
P.styles = [E, Ht];
|
|
1548
|
+
P.dependencies = {
|
|
1549
|
+
"cx-button": q,
|
|
1550
|
+
"cx-checkbox": dt,
|
|
1551
|
+
"cx-details": L,
|
|
1552
|
+
"cx-icon": j,
|
|
1553
|
+
"cx-space": H,
|
|
1554
|
+
"cx-tooltip": at,
|
|
1555
|
+
"cx-typography": W
|
|
1556
|
+
};
|
|
1557
|
+
Z([
|
|
1558
|
+
T(".details")
|
|
1559
|
+
], P.prototype, "base", 2);
|
|
1560
|
+
Z([
|
|
1561
|
+
l({ reflect: !0, type: Boolean })
|
|
1562
|
+
], P.prototype, "open", 2);
|
|
1563
|
+
Z([
|
|
1564
|
+
l({ reflect: !0, type: Boolean })
|
|
1565
|
+
], P.prototype, "value", 2);
|
|
1566
|
+
P = Z([
|
|
1567
|
+
N("cx-asset-link-format-metadata")
|
|
1568
|
+
], P);
|
|
1569
|
+
var Et = Object.defineProperty, Nt = Object.getOwnPropertyDescriptor, u = (t, e, i, s) => {
|
|
1570
|
+
for (var a = s > 1 ? void 0 : s ? Nt(e, i) : e, h = t.length - 1, r; h >= 0; h--)
|
|
1571
|
+
(r = t[h]) && (a = (s ? r(e, i, a) : r(a)) || a);
|
|
1572
|
+
return s && a && Et(e, i, a), a;
|
|
1573
|
+
};
|
|
1574
|
+
let p = class extends F {
|
|
1575
|
+
constructor() {
|
|
1576
|
+
super(), this.localize = new O(this), this.baseUrl = void 0, this.asset = void 0, this.cropModes = [
|
|
1577
|
+
{
|
|
1578
|
+
label: "Free",
|
|
1579
|
+
value: "free"
|
|
1580
|
+
},
|
|
1581
|
+
{
|
|
1582
|
+
label: "Widescreen (16:9)",
|
|
1583
|
+
value: "16:9"
|
|
1584
|
+
},
|
|
1585
|
+
{
|
|
1586
|
+
label: "Phone (9:16)",
|
|
1587
|
+
value: "9:16"
|
|
1588
|
+
},
|
|
1589
|
+
{
|
|
1590
|
+
label: "Presentation (4:3)",
|
|
1591
|
+
value: "4:3"
|
|
1592
|
+
},
|
|
1593
|
+
{
|
|
1594
|
+
label: "Square (1:1)",
|
|
1595
|
+
value: "1:1"
|
|
1596
|
+
},
|
|
1597
|
+
{
|
|
1598
|
+
label: "Landscape (3:2)",
|
|
1599
|
+
value: "3:2"
|
|
1600
|
+
},
|
|
1601
|
+
{
|
|
1602
|
+
label: "Portrait (2:3)",
|
|
1603
|
+
value: "2:3"
|
|
1604
|
+
},
|
|
1605
|
+
{
|
|
1606
|
+
auto: !0,
|
|
1607
|
+
disabledSize: !0,
|
|
1608
|
+
label: "Azure AI",
|
|
1609
|
+
value: "AzureAI"
|
|
1610
|
+
}
|
|
1611
|
+
], this.focusModes = [
|
|
1612
|
+
{
|
|
1613
|
+
label: "Manual focus",
|
|
1614
|
+
value: "manual"
|
|
1615
|
+
},
|
|
1616
|
+
{
|
|
1617
|
+
label: "Center focus",
|
|
1618
|
+
value: "center"
|
|
1619
|
+
},
|
|
1620
|
+
{
|
|
1621
|
+
auto: !0,
|
|
1622
|
+
label: "Optical focus",
|
|
1623
|
+
value: "Optical"
|
|
1624
|
+
},
|
|
1625
|
+
{
|
|
1626
|
+
auto: !0,
|
|
1627
|
+
label: "Google AI",
|
|
1628
|
+
value: "GoogleAI"
|
|
1629
|
+
},
|
|
1630
|
+
{
|
|
1631
|
+
auto: !0,
|
|
1632
|
+
label: "Smart Swatch",
|
|
1633
|
+
value: "SmartSwatch"
|
|
1634
|
+
}
|
|
1635
|
+
], this.extensions = [], this.proxies = void 0, this.forCropper = void 0, this.useSession = "", this.transformations = [], this.selectedProxy = "", this.useCustomExtension = !1, this.lastImageSize = {
|
|
1636
|
+
height: 0,
|
|
1637
|
+
width: 0
|
|
1638
|
+
}, this.hideHeader = !1, this.queryElement = null, this.activeSetting = "cx-asset-link-format-proxy", this.selectedFormat = void 0, this.resizeSize = {
|
|
1639
|
+
height: 0,
|
|
1640
|
+
keepAspectRatio: !0,
|
|
1641
|
+
ratioHeight: 1,
|
|
1642
|
+
ratioWidth: 1,
|
|
1643
|
+
unit: o.Pixel,
|
|
1644
|
+
width: 0
|
|
1645
|
+
}, this.cropSize = {
|
|
1646
|
+
cropMode: "free",
|
|
1647
|
+
focusMode: "manual",
|
|
1648
|
+
height: 0,
|
|
1649
|
+
keepAspectRatio: !0,
|
|
1650
|
+
percentageHeight: 0,
|
|
1651
|
+
percentageWidth: 0,
|
|
1652
|
+
ratioHeight: 1,
|
|
1653
|
+
ratioWidth: 1,
|
|
1654
|
+
unit: o.Pixel,
|
|
1655
|
+
width: 0,
|
|
1656
|
+
x: 0,
|
|
1657
|
+
y: 0
|
|
1658
|
+
}, this.rotation = 0, this.defaultSize = {
|
|
1659
|
+
height: 0,
|
|
1660
|
+
width: 0
|
|
1661
|
+
}, this.cropperElement = null, this.parameters = [], this.loading = !1, this.lastAction = void 0, this.frozenIndex = void 0, this.apiGetTransformAssetLink = rt, this.apiGetCropFocusMode = ht, this.onCropComplete = this.onCropComplete.bind(this), this.onCropDragStart = this.onCropDragStart.bind(this);
|
|
1662
|
+
}
|
|
1663
|
+
/**
|
|
1664
|
+
* Checks if the crop apply button should be disabled.
|
|
1665
|
+
* This is determined by comparing the current crop size with the last crop size.
|
|
1666
|
+
* If the current crop size is equal to the last crop size, the button is disabled.
|
|
1667
|
+
* @return {boolean} - Returns true if the crop apply button should be disabled, false otherwise.
|
|
1668
|
+
*/
|
|
1669
|
+
get disabledCropApply() {
|
|
1670
|
+
const t = [
|
|
1671
|
+
"height",
|
|
1672
|
+
"percentageHeight",
|
|
1673
|
+
"percentageWidth",
|
|
1674
|
+
"unit",
|
|
1675
|
+
"width",
|
|
1676
|
+
"x",
|
|
1677
|
+
"y"
|
|
1678
|
+
];
|
|
1679
|
+
for (const e of t)
|
|
1680
|
+
if (this.cropSize[e] !== this.lastCropSize[this.cropSize.unit][e])
|
|
1681
|
+
return !1;
|
|
1682
|
+
return !0;
|
|
1683
|
+
}
|
|
1684
|
+
/**
|
|
1685
|
+
* Returns the list of formats available for the asset link.
|
|
1686
|
+
* This is derived from the `proxies` property, filtering out any proxies that have a `cdnName`.
|
|
1687
|
+
*/
|
|
1688
|
+
get formats() {
|
|
1689
|
+
return this.proxies?.filter((t) => !t.cdnName) || [];
|
|
1690
|
+
}
|
|
1691
|
+
get imageSize() {
|
|
1692
|
+
return {
|
|
1693
|
+
height: this.selectedFormat?.height ?? 0,
|
|
1694
|
+
width: this.selectedFormat?.width ?? 0
|
|
1695
|
+
};
|
|
1696
|
+
}
|
|
1697
|
+
/**
|
|
1698
|
+
* Returns the last crop size based on the transformations applied to the asset link.
|
|
1699
|
+
* This is calculated by iterating through the transformations and applying the last crop, resize, or rotate transformation to the default size of the asset.
|
|
1700
|
+
* It returns an object with the last crop size in both pixel and aspect ratio units.
|
|
1701
|
+
*/
|
|
1702
|
+
get lastCropSize() {
|
|
1703
|
+
const t = st(
|
|
1704
|
+
this.lastImageSize.width,
|
|
1705
|
+
this.lastImageSize.height
|
|
1706
|
+
);
|
|
1707
|
+
return {
|
|
1708
|
+
[o.AspectRatio]: {
|
|
1709
|
+
height: t.height,
|
|
1710
|
+
percentageHeight: 100,
|
|
1711
|
+
percentageWidth: 100,
|
|
1712
|
+
unit: o.AspectRatio,
|
|
1713
|
+
width: t.width,
|
|
1714
|
+
x: 0,
|
|
1715
|
+
y: 0
|
|
1716
|
+
},
|
|
1717
|
+
[o.Pixel]: {
|
|
1718
|
+
height: this.lastImageSize.height,
|
|
1719
|
+
percentageHeight: 100,
|
|
1720
|
+
percentageWidth: 100,
|
|
1721
|
+
unit: o.Pixel,
|
|
1722
|
+
width: this.lastImageSize.width,
|
|
1723
|
+
x: 0,
|
|
1724
|
+
y: 0
|
|
1725
|
+
}
|
|
1726
|
+
};
|
|
1727
|
+
}
|
|
1728
|
+
/**
|
|
1729
|
+
* Returns the last resize size based on the transformations applied to the asset link.
|
|
1730
|
+
* This is calculated by iterating through the transformations and applying the last crop, resize, or rotate transformation to the default size of the asset.
|
|
1731
|
+
* It returns an object with the last resize size in both pixel and aspect ratio units.
|
|
1732
|
+
*/
|
|
1733
|
+
get lastResizeSize() {
|
|
1734
|
+
const t = st(
|
|
1735
|
+
this.lastImageSize.width,
|
|
1736
|
+
this.lastImageSize.height
|
|
1737
|
+
);
|
|
1738
|
+
return {
|
|
1739
|
+
[o.AspectRatio]: {
|
|
1740
|
+
height: t.height,
|
|
1741
|
+
unit: o.AspectRatio,
|
|
1742
|
+
width: t.width
|
|
1743
|
+
},
|
|
1744
|
+
[o.Pixel]: {
|
|
1745
|
+
height: this.lastImageSize.height,
|
|
1746
|
+
unit: o.Pixel,
|
|
1747
|
+
width: this.lastImageSize.width
|
|
1748
|
+
}
|
|
1749
|
+
};
|
|
1750
|
+
}
|
|
1751
|
+
/**
|
|
1752
|
+
* Returns the transformation string for the asset link.
|
|
1753
|
+
*/
|
|
1754
|
+
get transformationString() {
|
|
1755
|
+
return J({
|
|
1756
|
+
asset: this.asset,
|
|
1757
|
+
baseUrl: "",
|
|
1758
|
+
parameters: this.parameters,
|
|
1759
|
+
transformations: this.transformations,
|
|
1760
|
+
useSession: this.useSession
|
|
1761
|
+
}).replace(/\/t\//g, "");
|
|
1762
|
+
}
|
|
1763
|
+
runConnectedCallback() {
|
|
1764
|
+
this.hasUpdated && this.cropperElement && (this.cropperElement.addEventListener(
|
|
1765
|
+
"cx-cropper-crop-complete",
|
|
1766
|
+
this.onCropComplete
|
|
1767
|
+
), this.cropperElement.addEventListener(
|
|
1768
|
+
"cx-cropper-crop-drag-start",
|
|
1769
|
+
this.onCropDragStart
|
|
1770
|
+
));
|
|
1771
|
+
}
|
|
1772
|
+
disconnectedCallback() {
|
|
1773
|
+
super.disconnectedCallback(), this.cropperElement && (this.cropperElement.removeEventListener(
|
|
1774
|
+
"cx-cropper-crop-complete",
|
|
1775
|
+
this.onCropComplete
|
|
1776
|
+
), this.cropperElement.removeEventListener(
|
|
1777
|
+
"cx-cropper-crop-drag-start",
|
|
1778
|
+
this.onCropDragStart
|
|
1779
|
+
));
|
|
1780
|
+
}
|
|
1781
|
+
updated(t) {
|
|
1782
|
+
if ((t.has("forCropper") || t.has("queryElement")) && this.handleCropperSelectorChange(), t.has("asset") && this.handleAssetChange(), t.has("proxies") && this.handleProxiesChange(), t.has("activeSetting") && this.handleActiveSettingChange(), t.has("selectedFormat") && this.handleSelectedFormatChange(), t.has("resizeSize") && this.handleResizeSizeChange(), t.has("cropSize") && this.handleCropSizeChange(), t.has("rotation") && this.handleRotationChange(), t.has("cropperElement") && this.handleCropperElementChange(), t.has("selectedFormat")) {
|
|
1783
|
+
if (!this.asset || !this.selectedFormat || this.selectedFormat.extension === t.get("selectedFormat")?.extension)
|
|
1784
|
+
return;
|
|
1785
|
+
const e = this.proxies?.find(
|
|
1786
|
+
(s) => s.id === this.selectedProxy
|
|
1787
|
+
);
|
|
1788
|
+
this.loading = !0, this.apiGetTransformAssetLink({
|
|
1789
|
+
assetId: this.asset.id,
|
|
1790
|
+
extension: this.asset.extension,
|
|
1791
|
+
format: e?.proxyName ?? "",
|
|
1792
|
+
transformations: this.transformationString
|
|
1793
|
+
}).then((s) => {
|
|
1794
|
+
this.loading = !1, !(!s?.relativePath || !this.selectedFormat) && (this.lastAction === c.Rotate && (this.rotation = 0), this.lastAction = void 0, this.lastImageSize = {
|
|
1795
|
+
height: s.height,
|
|
1796
|
+
width: s.width
|
|
1797
|
+
}, this.selectedFormat = {
|
|
1798
|
+
...this.selectedFormat,
|
|
1799
|
+
height: s.height,
|
|
1800
|
+
url: this.baseUrl && this.baseUrl.length > 0 ? `${this.baseUrl}/${s.relativePath}` : s.relativePath,
|
|
1801
|
+
width: s.width
|
|
1802
|
+
/**
|
|
1803
|
+
* For local development uses the base URL to construct the full URL.
|
|
1804
|
+
* url: `${this.baseUrl}/${response.relativePath}`,
|
|
1805
|
+
*/
|
|
1806
|
+
});
|
|
1807
|
+
});
|
|
1808
|
+
const i = J({
|
|
1809
|
+
asset: this.asset,
|
|
1810
|
+
baseUrl: "",
|
|
1811
|
+
extension: this.selectedFormat.extension,
|
|
1812
|
+
parameters: this.parameters,
|
|
1813
|
+
transformations: this.transformations,
|
|
1814
|
+
useSession: this.useSession
|
|
1815
|
+
});
|
|
1816
|
+
this.emit("cx-asset-link-format-change", {
|
|
1817
|
+
detail: i
|
|
1818
|
+
});
|
|
1819
|
+
}
|
|
1820
|
+
}
|
|
1821
|
+
getCropSize() {
|
|
1822
|
+
return this.cropSize;
|
|
1823
|
+
}
|
|
1824
|
+
setActiveSetting(t) {
|
|
1825
|
+
this.activeSetting = t;
|
|
1826
|
+
}
|
|
1827
|
+
freezeTransformations() {
|
|
1828
|
+
this.frozenIndex = this.transformations.length - 1;
|
|
1829
|
+
}
|
|
1830
|
+
async handleTransformationsChange() {
|
|
1831
|
+
if (await this.updateComplete, !this.asset || !this.selectedFormat)
|
|
1832
|
+
return;
|
|
1833
|
+
const t = this.proxies?.find(
|
|
1834
|
+
(a) => a.id === this.selectedProxy
|
|
1835
|
+
);
|
|
1836
|
+
this.loading = !0;
|
|
1837
|
+
const e = await this.apiGetTransformAssetLink({
|
|
1838
|
+
assetId: this.asset.id,
|
|
1839
|
+
extension: this.selectedFormat.extension,
|
|
1840
|
+
format: t?.proxyName ?? "",
|
|
1841
|
+
transformations: this.transformationString
|
|
1842
|
+
});
|
|
1843
|
+
if (this.loading = !1, !e?.relativePath || !this.selectedFormat)
|
|
1844
|
+
return;
|
|
1845
|
+
this.lastImageSize = {
|
|
1846
|
+
height: e.height,
|
|
1847
|
+
width: e.width
|
|
1848
|
+
}, this.resizeSize = {
|
|
1849
|
+
height: e.height,
|
|
1850
|
+
keepAspectRatio: !0,
|
|
1851
|
+
ratioHeight: 1,
|
|
1852
|
+
ratioWidth: 1,
|
|
1853
|
+
unit: o.Pixel,
|
|
1854
|
+
width: e.width
|
|
1855
|
+
}, this.cropSize = {
|
|
1856
|
+
cropMode: "free",
|
|
1857
|
+
focusMode: "manual",
|
|
1858
|
+
height: e.height,
|
|
1859
|
+
keepAspectRatio: this.cropSize.keepAspectRatio,
|
|
1860
|
+
percentageHeight: 100,
|
|
1861
|
+
percentageWidth: 100,
|
|
1862
|
+
ratioHeight: 1,
|
|
1863
|
+
ratioWidth: 1,
|
|
1864
|
+
unit: o.Pixel,
|
|
1865
|
+
width: e.width,
|
|
1866
|
+
x: 0,
|
|
1867
|
+
y: 0
|
|
1868
|
+
}, this.lastAction === c.Rotate && (this.rotation = 0), this.lastAction = void 0;
|
|
1869
|
+
const i = this.transformations.some(
|
|
1870
|
+
(a) => a.key === c.Metadata
|
|
1871
|
+
);
|
|
1872
|
+
this.selectedFormat = {
|
|
1873
|
+
...this.selectedFormat,
|
|
1874
|
+
height: e.height,
|
|
1875
|
+
keepMetadata: i,
|
|
1876
|
+
url: this.baseUrl && this.baseUrl.length > 0 ? `${this.baseUrl}/${e.relativePath}` : e.relativePath,
|
|
1877
|
+
width: e.width
|
|
1878
|
+
/**
|
|
1879
|
+
* For local development uses the base URL to construct the full URL.
|
|
1880
|
+
* url: `${this.baseUrl}/${response.relativePath}`,
|
|
1881
|
+
*/
|
|
1882
|
+
};
|
|
1883
|
+
const s = J({
|
|
1884
|
+
asset: this.asset,
|
|
1885
|
+
baseUrl: "",
|
|
1886
|
+
extension: this.selectedFormat.extension,
|
|
1887
|
+
parameters: this.parameters,
|
|
1888
|
+
transformations: this.transformations,
|
|
1889
|
+
useSession: this.useSession
|
|
1890
|
+
});
|
|
1891
|
+
this.emit("cx-asset-link-format-change", {
|
|
1892
|
+
detail: s
|
|
1893
|
+
});
|
|
1894
|
+
}
|
|
1895
|
+
handleCropperElementChange() {
|
|
1896
|
+
this.cropperElement && (this.cropperElement.resizer = this.resizeSize, this.cropperElement.cropper = this.cropSize, this.cropperElement.rotation = this.rotation, this.cropperElement.disabled = this.activeSetting !== "cx-asset-link-format-crop", this.cropperElement.addEventListener(
|
|
1897
|
+
"cx-cropper-crop-complete",
|
|
1898
|
+
this.onCropComplete
|
|
1899
|
+
), this.cropperElement.addEventListener(
|
|
1900
|
+
"cx-cropper-crop-drag-start",
|
|
1901
|
+
this.onCropDragStart
|
|
1902
|
+
), this.cropperElement.loadable = !0);
|
|
1903
|
+
}
|
|
1904
|
+
handleCropperSelectorChange() {
|
|
1905
|
+
this.forCropper && (this.queryElement ? this.cropperElement = this.queryElement.querySelector(`#${this.forCropper}`) : this.cropperElement = document.getElementById(this.forCropper));
|
|
1906
|
+
}
|
|
1907
|
+
handleAssetChange() {
|
|
1908
|
+
if (!this.asset)
|
|
1909
|
+
return;
|
|
1910
|
+
this.freezeTransformations(), this.asset.width && this.asset.height && (this.defaultSize = {
|
|
1911
|
+
height: Number.parseInt(this.asset.height, 10),
|
|
1912
|
+
width: Number.parseInt(this.asset.width, 10)
|
|
1913
|
+
});
|
|
1914
|
+
const t = this.transformations.findLast(
|
|
1915
|
+
(e) => e.key === c.Quality
|
|
1916
|
+
);
|
|
1917
|
+
this.selectedFormat = {
|
|
1918
|
+
extension: this.asset.extension,
|
|
1919
|
+
height: this.defaultSize.height,
|
|
1920
|
+
keepMetadata: !1,
|
|
1921
|
+
originalUrl: this.asset.originalUrl,
|
|
1922
|
+
quality: t?.value?.quality || 100,
|
|
1923
|
+
rotation: 0,
|
|
1924
|
+
url: this.asset.imageUrl,
|
|
1925
|
+
width: this.defaultSize.width,
|
|
1926
|
+
x: 0,
|
|
1927
|
+
y: 0
|
|
1928
|
+
}, this.resizeSize = {
|
|
1929
|
+
...this.resizeSize,
|
|
1930
|
+
height: this.defaultSize.height,
|
|
1931
|
+
width: this.defaultSize.width
|
|
1932
|
+
}, this.cropSize = {
|
|
1933
|
+
cropMode: "free",
|
|
1934
|
+
focusMode: "manual",
|
|
1935
|
+
height: this.defaultSize.height,
|
|
1936
|
+
keepAspectRatio: !0,
|
|
1937
|
+
percentageHeight: 100,
|
|
1938
|
+
percentageWidth: 100,
|
|
1939
|
+
ratioHeight: 1,
|
|
1940
|
+
ratioWidth: 1,
|
|
1941
|
+
unit: o.Pixel,
|
|
1942
|
+
width: this.defaultSize.width,
|
|
1943
|
+
x: 0,
|
|
1944
|
+
y: 0
|
|
1945
|
+
}, this.rotation = 0, this.parameters = [], this.activeSetting = "cx-asset-link-format-proxy", this.selectedProxy || (this.selectedProxy = this.proxies && this.proxies.length > 0 ? this.proxies[0].id : "");
|
|
1946
|
+
}
|
|
1947
|
+
handleProxiesChange() {
|
|
1948
|
+
!this.proxies || this.proxies.length === 0 || (!this.selectedProxy || !this.proxies.some((t) => t.id === this.selectedProxy)) && (this.selectedProxy = this.proxies[0].id);
|
|
1949
|
+
}
|
|
1950
|
+
async handleSelectedProxyChange(t) {
|
|
1951
|
+
if (!this.asset || !this.selectedProxy)
|
|
1952
|
+
return;
|
|
1953
|
+
const e = this.proxies?.find(
|
|
1954
|
+
(s) => s.id === this.selectedProxy
|
|
1955
|
+
);
|
|
1956
|
+
if (!e || !this.selectedFormat)
|
|
1957
|
+
return;
|
|
1958
|
+
e.proxyName === "TRX" && (e.formatHeight = Number(this.asset.height), e.formatWidth = Number(this.asset.width));
|
|
1959
|
+
const i = this.proxies?.find((s) => s.id === t);
|
|
1960
|
+
i && (this.asset && i.proxyName === "TRX" && (i.formatHeight = Number(this.asset.height), i.formatWidth = Number(this.asset.width)), this.transformations = this.transformations.map((s) => {
|
|
1961
|
+
if (s.key === c.Crop) {
|
|
1962
|
+
const a = s.value, h = a.width / i.formatWidth * e.formatWidth, r = a.height / i.formatHeight * e.formatHeight, m = a.x / i.formatWidth * e.formatWidth, y = a.y / i.formatHeight * e.formatHeight;
|
|
1963
|
+
return {
|
|
1964
|
+
...s,
|
|
1965
|
+
value: {
|
|
1966
|
+
height: r,
|
|
1967
|
+
width: h,
|
|
1968
|
+
x: m,
|
|
1969
|
+
y
|
|
1970
|
+
}
|
|
1971
|
+
};
|
|
1972
|
+
}
|
|
1973
|
+
if (s.key === c.Resize) {
|
|
1974
|
+
const a = s.value, h = a.width / i.formatWidth * e.formatWidth, r = a.height / i.formatHeight * e.formatHeight;
|
|
1975
|
+
return {
|
|
1976
|
+
...s,
|
|
1977
|
+
value: {
|
|
1978
|
+
height: r,
|
|
1979
|
+
width: h
|
|
1980
|
+
}
|
|
1981
|
+
};
|
|
1982
|
+
}
|
|
1983
|
+
return s;
|
|
1984
|
+
})), this.defaultSize = {
|
|
1985
|
+
height: e.formatHeight || this.defaultSize.height,
|
|
1986
|
+
width: e.formatWidth || this.defaultSize.width
|
|
1987
|
+
}, this.selectedFormat = {
|
|
1988
|
+
...this.selectedFormat,
|
|
1989
|
+
height: this.defaultSize.height,
|
|
1990
|
+
width: this.defaultSize.width
|
|
1991
|
+
}, await this.updateComplete, this.cropSize = {
|
|
1992
|
+
cropMode: "free",
|
|
1993
|
+
focusMode: "manual",
|
|
1994
|
+
height: this.lastCropSize[o.Pixel].height,
|
|
1995
|
+
keepAspectRatio: !0,
|
|
1996
|
+
percentageHeight: 100,
|
|
1997
|
+
percentageWidth: 100,
|
|
1998
|
+
ratioHeight: 1,
|
|
1999
|
+
ratioWidth: 1,
|
|
2000
|
+
unit: o.Pixel,
|
|
2001
|
+
width: this.lastCropSize[o.Pixel].width,
|
|
2002
|
+
x: 0,
|
|
2003
|
+
y: 0
|
|
2004
|
+
}, this.resizeSize = {
|
|
2005
|
+
height: this.lastResizeSize[o.Pixel].height,
|
|
2006
|
+
keepAspectRatio: !0,
|
|
2007
|
+
ratioHeight: 1,
|
|
2008
|
+
ratioWidth: 1,
|
|
2009
|
+
unit: o.Pixel,
|
|
2010
|
+
width: this.lastResizeSize[o.Pixel].width
|
|
2011
|
+
};
|
|
2012
|
+
}
|
|
2013
|
+
async handleLoadingChange() {
|
|
2014
|
+
this.cropperElement && (this.cropperElement.loading = this.loading);
|
|
2015
|
+
}
|
|
2016
|
+
handleSelectedFormatChange() {
|
|
2017
|
+
!this.cropperElement || !this.selectedFormat?.url || (this.cropperElement.image = this.selectedFormat);
|
|
2018
|
+
}
|
|
2019
|
+
handleResizeSizeChange() {
|
|
2020
|
+
this.cropperElement && (this.cropperElement.resizer = this.resizeSize);
|
|
2021
|
+
}
|
|
2022
|
+
handleCropSizeChange() {
|
|
2023
|
+
this.cropperElement && (this.cropperElement.cropper = this.cropSize);
|
|
2024
|
+
}
|
|
2025
|
+
handleRotationChange() {
|
|
2026
|
+
this.cropperElement && (this.cropperElement.rotation = this.rotation);
|
|
2027
|
+
}
|
|
2028
|
+
handleActiveSettingChange() {
|
|
2029
|
+
this.cropperElement && (this.resizeSize = {
|
|
2030
|
+
height: this.lastResizeSize[o.Pixel].height,
|
|
2031
|
+
keepAspectRatio: !0,
|
|
2032
|
+
ratioHeight: 1,
|
|
2033
|
+
ratioWidth: 1,
|
|
2034
|
+
unit: o.Pixel,
|
|
2035
|
+
width: this.lastResizeSize[o.Pixel].width
|
|
2036
|
+
}, this.cropperElement.disabled = this.activeSetting !== "cx-asset-link-format-crop");
|
|
2037
|
+
}
|
|
2038
|
+
async handleRequestAutoCropSuggestion({
|
|
2039
|
+
cropMode: t,
|
|
2040
|
+
focusMode: e,
|
|
2041
|
+
height: i,
|
|
2042
|
+
keepAspectRatio: s,
|
|
2043
|
+
percentageHeight: a,
|
|
2044
|
+
percentageWidth: h,
|
|
2045
|
+
ratioHeight: r,
|
|
2046
|
+
ratioWidth: m,
|
|
2047
|
+
unit: y,
|
|
2048
|
+
useCropMode: v,
|
|
2049
|
+
width: w
|
|
2050
|
+
}) {
|
|
2051
|
+
if (!this.selectedFormat?.url || e === "manual")
|
|
2052
|
+
return;
|
|
2053
|
+
this.loading = !0, this.lastAction = c.Crop;
|
|
2054
|
+
const x = await this.apiGetCropFocusMode({
|
|
2055
|
+
autoCropMode: e,
|
|
2056
|
+
cropHeight: i,
|
|
2057
|
+
cropWidth: w,
|
|
2058
|
+
imageUrl: this.selectedFormat.url
|
|
2059
|
+
});
|
|
2060
|
+
if (x) {
|
|
2061
|
+
let n = a, $ = h;
|
|
2062
|
+
i || (n = x.height * 100 / this.selectedFormat.height), w || ($ = x.width * 100 / this.selectedFormat.width), this.cropSize = {
|
|
2063
|
+
...this.cropSize,
|
|
2064
|
+
height: x.height,
|
|
2065
|
+
percentageHeight: n ?? this.cropSize.percentageHeight,
|
|
2066
|
+
percentageWidth: $ ?? this.cropSize.percentageWidth,
|
|
2067
|
+
width: x.width,
|
|
2068
|
+
x: x.x * 100 / this.selectedFormat.width,
|
|
2069
|
+
y: x.y * 100 / this.selectedFormat.height,
|
|
2070
|
+
...v ? {
|
|
2071
|
+
cropMode: e,
|
|
2072
|
+
focusMode: "manual",
|
|
2073
|
+
keepAspectRatio: !1
|
|
2074
|
+
} : {
|
|
2075
|
+
cropMode: t ?? this.cropSize.cropMode,
|
|
2076
|
+
focusMode: e
|
|
2077
|
+
},
|
|
2078
|
+
keepAspectRatio: s ?? this.cropSize.keepAspectRatio,
|
|
2079
|
+
ratioHeight: r ?? this.cropSize.ratioHeight,
|
|
2080
|
+
ratioWidth: m ?? this.cropSize.ratioWidth,
|
|
2081
|
+
unit: y ?? this.cropSize.unit
|
|
2082
|
+
};
|
|
2083
|
+
}
|
|
2084
|
+
this.loading = !1, this.lastAction = void 0;
|
|
2085
|
+
}
|
|
2086
|
+
async onCropComplete(t) {
|
|
2087
|
+
const { croppedArea: e } = t.detail, {
|
|
2088
|
+
height: i,
|
|
2089
|
+
width: s,
|
|
2090
|
+
x: a,
|
|
2091
|
+
y: h
|
|
2092
|
+
} = e, r = this.cropSize.percentageWidth !== s, m = this.cropSize.percentageHeight !== i;
|
|
2093
|
+
let y = this.cropSize.height, v = this.cropSize.width;
|
|
2094
|
+
r && (v = Math.round(s * this.selectedFormat.width / 100)), m && (y = Math.round(
|
|
2095
|
+
i * this.selectedFormat.height / 100
|
|
2096
|
+
));
|
|
2097
|
+
const w = this.cropSize.focusMode;
|
|
2098
|
+
this.focusModes.find(
|
|
2099
|
+
(n) => n.value === w
|
|
2100
|
+
)?.auto && this.selectedFormat?.url && this.cropperElement ? await this.handleRequestAutoCropSuggestion({
|
|
2101
|
+
focusMode: w,
|
|
2102
|
+
height: y,
|
|
2103
|
+
percentageHeight: i,
|
|
2104
|
+
percentageWidth: s,
|
|
2105
|
+
width: v
|
|
2106
|
+
}) : this.cropSize = {
|
|
2107
|
+
...this.cropSize,
|
|
2108
|
+
height: y,
|
|
2109
|
+
percentageHeight: i,
|
|
2110
|
+
percentageWidth: s,
|
|
2111
|
+
width: v,
|
|
2112
|
+
x: a,
|
|
2113
|
+
y: h
|
|
2114
|
+
};
|
|
2115
|
+
}
|
|
2116
|
+
onCropDragStart() {
|
|
2117
|
+
let t = this.cropSize.cropMode;
|
|
2118
|
+
const e = this.cropModes.find(
|
|
2119
|
+
(i) => i.value === t
|
|
2120
|
+
)?.auto;
|
|
2121
|
+
(this.cropSize.focusMode !== "manual" || e) && (e && (t = "free"), this.cropSize = {
|
|
2122
|
+
...this.cropSize,
|
|
2123
|
+
cropMode: t,
|
|
2124
|
+
focusMode: "manual"
|
|
2125
|
+
});
|
|
2126
|
+
}
|
|
2127
|
+
onDetailsShow(t) {
|
|
2128
|
+
const e = t.target;
|
|
2129
|
+
e.shadowRoot?.querySelector(".details") && (this.activeSetting = e.localName);
|
|
2130
|
+
}
|
|
2131
|
+
onDetailsHide(t) {
|
|
2132
|
+
this.activeSetting === t.target.localName && (this.activeSetting = "");
|
|
2133
|
+
}
|
|
2134
|
+
onProxyChange(t) {
|
|
2135
|
+
const e = t.detail;
|
|
2136
|
+
this.lastAction = c.Proxy, this.selectedProxy = e.id;
|
|
2137
|
+
}
|
|
2138
|
+
async onCropModeChange(t) {
|
|
2139
|
+
const { mode: e } = t.detail;
|
|
2140
|
+
if (this.cropModes.find((s) => s.value === e)?.auto)
|
|
2141
|
+
await this.handleRequestAutoCropSuggestion({
|
|
2142
|
+
focusMode: e,
|
|
2143
|
+
useCropMode: !0
|
|
2144
|
+
});
|
|
2145
|
+
else {
|
|
2146
|
+
const s = this.focusModes.find(
|
|
2147
|
+
(y) => y.value === this.cropSize.focusMode
|
|
2148
|
+
)?.auto;
|
|
2149
|
+
let a = this.cropSize.keepAspectRatio, h = this.cropSize.focusMode, r = this.cropSize.x, m = this.cropSize.y;
|
|
2150
|
+
e === "free" ? (a = !1, h = "manual") : this.cropSize.unit === o.Pixel && !s && (r = 0, m = 0), s ? await this.handleRequestAutoCropSuggestion({
|
|
2151
|
+
cropMode: e,
|
|
2152
|
+
focusMode: h,
|
|
2153
|
+
height: this.cropSize.height,
|
|
2154
|
+
keepAspectRatio: a,
|
|
2155
|
+
width: this.cropSize.width
|
|
2156
|
+
}) : this.cropSize = {
|
|
2157
|
+
...this.cropSize,
|
|
2158
|
+
cropMode: e,
|
|
2159
|
+
focusMode: h,
|
|
2160
|
+
keepAspectRatio: a,
|
|
2161
|
+
x: r,
|
|
2162
|
+
y: m
|
|
2163
|
+
};
|
|
2164
|
+
}
|
|
2165
|
+
}
|
|
2166
|
+
onCropFocusModeChange(t) {
|
|
2167
|
+
const { mode: e } = t.detail;
|
|
2168
|
+
this.focusModes.find((s) => s.value === e)?.auto && this.selectedFormat?.url ? this.handleRequestAutoCropSuggestion({
|
|
2169
|
+
focusMode: e,
|
|
2170
|
+
height: this.cropSize.height,
|
|
2171
|
+
width: this.cropSize.width
|
|
2172
|
+
}) : this.cropSize = {
|
|
2173
|
+
...this.cropSize,
|
|
2174
|
+
focusMode: e
|
|
2175
|
+
};
|
|
2176
|
+
}
|
|
2177
|
+
async onCropChange(t) {
|
|
2178
|
+
const e = this.cropSize.unit;
|
|
2179
|
+
if (t.detail.unit === o.AspectRatio) {
|
|
2180
|
+
const i = t.detail.width / t.detail.height, s = Math.min(
|
|
2181
|
+
Math.max(Math.round(this.cropSize.height * i), 0),
|
|
2182
|
+
this.resizeSize.width
|
|
2183
|
+
), a = Math.min(
|
|
2184
|
+
Math.max(Math.round(s / i), 0),
|
|
2185
|
+
this.resizeSize.height
|
|
2186
|
+
), h = a * 100 / this.selectedFormat.height, r = s * 100 / this.selectedFormat.width;
|
|
2187
|
+
let m = this.cropSize.x, y = this.cropSize.y;
|
|
2188
|
+
m + r > 100 && (m = 100 - r), y + h > 100 && (y = 100 - h);
|
|
2189
|
+
let v = this.cropSize.cropMode;
|
|
2190
|
+
this.cropModes.find(
|
|
2191
|
+
(x) => x.value === v
|
|
2192
|
+
)?.auto && (v = "free"), t.detail.silent ? (this.cropSize.height = a, this.cropSize.keepAspectRatio = t.detail.keepAspectRatio, this.cropSize.percentageHeight = h, this.cropSize.percentageWidth = r, this.cropSize.ratioHeight = t.detail.height, this.cropSize.ratioWidth = t.detail.width, this.cropSize.unit = o.AspectRatio, this.cropSize.width = s) : this.cropSize = {
|
|
2193
|
+
...this.cropSize,
|
|
2194
|
+
cropMode: v,
|
|
2195
|
+
height: a,
|
|
2196
|
+
keepAspectRatio: t.detail.keepAspectRatio,
|
|
2197
|
+
percentageHeight: h,
|
|
2198
|
+
percentageWidth: r,
|
|
2199
|
+
ratioHeight: t.detail.height,
|
|
2200
|
+
ratioWidth: t.detail.width,
|
|
2201
|
+
unit: o.AspectRatio,
|
|
2202
|
+
width: s,
|
|
2203
|
+
x: m,
|
|
2204
|
+
y
|
|
2205
|
+
};
|
|
2206
|
+
} else {
|
|
2207
|
+
const i = this.selectedFormat ? t.detail.height * 100 / this.selectedFormat.height : 100, s = this.selectedFormat ? t.detail.width * 100 / this.selectedFormat.width : 100;
|
|
2208
|
+
let a = this.cropSize.x, h = this.cropSize.y;
|
|
2209
|
+
a + s > 100 && (a = 100 - s), h + i > 100 && (h = 100 - i);
|
|
2210
|
+
let r = this.cropSize.cropMode;
|
|
2211
|
+
const m = this.cropModes.find(
|
|
2212
|
+
(y) => y.value === r
|
|
2213
|
+
)?.auto;
|
|
2214
|
+
(t.detail.breakAspectRatio || m) && (r = "free"), t.detail.silent ? (this.cropSize.cropMode = r, this.cropSize.height = t.detail.height, this.cropSize.keepAspectRatio = t.detail.keepAspectRatio, this.cropSize.percentageHeight = i, this.cropSize.percentageWidth = s, this.cropSize.unit = o.Pixel, this.cropSize.width = t.detail.width, this.cropSize.x = a, this.cropSize.y = h) : this.cropSize = {
|
|
2215
|
+
...this.cropSize,
|
|
2216
|
+
cropMode: r,
|
|
2217
|
+
height: t.detail.height,
|
|
2218
|
+
keepAspectRatio: t.detail.keepAspectRatio,
|
|
2219
|
+
percentageHeight: i,
|
|
2220
|
+
percentageWidth: s,
|
|
2221
|
+
unit: o.Pixel,
|
|
2222
|
+
width: t.detail.width,
|
|
2223
|
+
x: a,
|
|
2224
|
+
y: h
|
|
2225
|
+
};
|
|
2226
|
+
}
|
|
2227
|
+
e !== this.cropSize.unit && (this.cropSize = {
|
|
2228
|
+
...this.cropSize,
|
|
2229
|
+
cropMode: "free"
|
|
2230
|
+
}, this.onCropChanged());
|
|
2231
|
+
}
|
|
2232
|
+
async onCropChanged() {
|
|
2233
|
+
this.focusModes.find(
|
|
2234
|
+
(e) => e.value === this.cropSize.focusMode
|
|
2235
|
+
)?.auto && await this.handleRequestAutoCropSuggestion({
|
|
2236
|
+
focusMode: this.cropSize.focusMode,
|
|
2237
|
+
height: this.cropSize.height,
|
|
2238
|
+
width: this.cropSize.width
|
|
2239
|
+
});
|
|
2240
|
+
}
|
|
2241
|
+
onCropApply(t) {
|
|
2242
|
+
const { height: e, mode: i, unit: s, width: a } = t.detail;
|
|
2243
|
+
if (this.lastAction = c.Crop, !(!this.cropperElement || !this.selectedFormat))
|
|
2244
|
+
if (e && a && s) {
|
|
2245
|
+
let h = a, r = e;
|
|
2246
|
+
if (s === o.AspectRatio && (h = this.cropSize.percentageWidth * this.selectedFormat.width / 100, r = this.cropSize.percentageHeight * this.selectedFormat.height / 100), i)
|
|
2247
|
+
this.transformations = [
|
|
2248
|
+
...this.transformations,
|
|
2249
|
+
{
|
|
2250
|
+
key: c.Crop,
|
|
2251
|
+
value: {
|
|
2252
|
+
height: r,
|
|
2253
|
+
mode: i,
|
|
2254
|
+
width: h
|
|
2255
|
+
}
|
|
2256
|
+
}
|
|
2257
|
+
];
|
|
2258
|
+
else {
|
|
2259
|
+
const m = this.cropSize.x / 100 * this.selectedFormat.width, y = this.cropSize.y / 100 * this.selectedFormat.height;
|
|
2260
|
+
this.transformations = [
|
|
2261
|
+
...this.transformations,
|
|
2262
|
+
{
|
|
2263
|
+
key: c.Crop,
|
|
2264
|
+
value: {
|
|
2265
|
+
height: r,
|
|
2266
|
+
unit: s,
|
|
2267
|
+
width: h,
|
|
2268
|
+
x: m,
|
|
2269
|
+
y
|
|
2270
|
+
}
|
|
2271
|
+
}
|
|
2272
|
+
];
|
|
2273
|
+
}
|
|
2274
|
+
} else i && (this.transformations = [
|
|
2275
|
+
...this.transformations,
|
|
2276
|
+
{
|
|
2277
|
+
key: c.Crop,
|
|
2278
|
+
value: {
|
|
2279
|
+
mode: i
|
|
2280
|
+
}
|
|
2281
|
+
}
|
|
2282
|
+
]);
|
|
2283
|
+
}
|
|
2284
|
+
onResizeChange(t) {
|
|
2285
|
+
if (t.detail.unit === o.AspectRatio) {
|
|
2286
|
+
const e = t.detail.width / t.detail.height, i = Math.max(
|
|
2287
|
+
Math.round(this.lastResizeSize[o.Pixel].height * e),
|
|
2288
|
+
0
|
|
2289
|
+
), s = Math.max(Math.round(i / e), 0);
|
|
2290
|
+
this.resizeSize = {
|
|
2291
|
+
...this.resizeSize,
|
|
2292
|
+
height: s,
|
|
2293
|
+
keepAspectRatio: t.detail.keepAspectRatio,
|
|
2294
|
+
ratioHeight: t.detail.height,
|
|
2295
|
+
ratioWidth: t.detail.width,
|
|
2296
|
+
unit: t.detail.unit,
|
|
2297
|
+
width: i
|
|
2298
|
+
};
|
|
2299
|
+
} else
|
|
2300
|
+
this.resizeSize = {
|
|
2301
|
+
...this.resizeSize,
|
|
2302
|
+
height: Math.max(t.detail.height, 0),
|
|
2303
|
+
keepAspectRatio: t.detail.keepAspectRatio,
|
|
2304
|
+
unit: t.detail.unit,
|
|
2305
|
+
width: Math.max(t.detail.width, 0)
|
|
2306
|
+
};
|
|
2307
|
+
}
|
|
2308
|
+
onResizeApply(t) {
|
|
2309
|
+
if (!this.selectedFormat)
|
|
2310
|
+
return;
|
|
2311
|
+
const { height: e, unit: i, width: s } = t.detail;
|
|
2312
|
+
this.lastAction = c.Resize;
|
|
2313
|
+
const a = this.selectedFormat.width || this.defaultSize.width, h = this.selectedFormat.height || this.defaultSize.height;
|
|
2314
|
+
let r = s, m = e;
|
|
2315
|
+
this.resizeSize.unit !== i ? (r = a, m = h) : i === o.AspectRatio && (r = Math.round(s / e * h), m = h), this.transformations = [
|
|
2316
|
+
...this.transformations,
|
|
2317
|
+
{
|
|
2318
|
+
key: c.Resize,
|
|
2319
|
+
value: {
|
|
2320
|
+
height: m,
|
|
2321
|
+
unit: i,
|
|
2322
|
+
width: r
|
|
2323
|
+
}
|
|
2324
|
+
}
|
|
2325
|
+
];
|
|
2326
|
+
}
|
|
2327
|
+
onRotationChange(t) {
|
|
2328
|
+
this.rotation = t.detail;
|
|
2329
|
+
}
|
|
2330
|
+
onRotationApply(t) {
|
|
2331
|
+
if (!this.selectedFormat)
|
|
2332
|
+
return;
|
|
2333
|
+
const e = t.detail;
|
|
2334
|
+
this.lastAction = c.Rotate, this.transformations = [
|
|
2335
|
+
...this.transformations,
|
|
2336
|
+
{
|
|
2337
|
+
key: c.Rotate,
|
|
2338
|
+
value: {
|
|
2339
|
+
rotation: e
|
|
2340
|
+
}
|
|
2341
|
+
}
|
|
2342
|
+
];
|
|
2343
|
+
}
|
|
2344
|
+
onQualityChange(t) {
|
|
2345
|
+
if (!this.selectedFormat)
|
|
2346
|
+
return;
|
|
2347
|
+
const e = t.detail;
|
|
2348
|
+
this.selectedFormat.quality = e, this.lastAction = c.Quality, this.transformations = [
|
|
2349
|
+
...this.transformations,
|
|
2350
|
+
{
|
|
2351
|
+
key: c.Quality,
|
|
2352
|
+
value: {
|
|
2353
|
+
quality: e
|
|
2354
|
+
}
|
|
2355
|
+
}
|
|
2356
|
+
];
|
|
2357
|
+
}
|
|
2358
|
+
onMetadataChange(t) {
|
|
2359
|
+
if (!this.selectedFormat)
|
|
2360
|
+
return;
|
|
2361
|
+
const e = t.detail;
|
|
2362
|
+
this.selectedFormat = {
|
|
2363
|
+
...this.selectedFormat,
|
|
2364
|
+
keepMetadata: e
|
|
2365
|
+
}, e ? this.transformations = [
|
|
2366
|
+
...this.transformations.filter(
|
|
2367
|
+
(i) => i.key !== c.Metadata
|
|
2368
|
+
),
|
|
2369
|
+
{
|
|
2370
|
+
key: c.Metadata,
|
|
2371
|
+
value: {
|
|
2372
|
+
keepMetadata: e
|
|
2373
|
+
}
|
|
2374
|
+
}
|
|
2375
|
+
] : this.transformations = this.transformations.filter(
|
|
2376
|
+
(i) => i.key !== c.Metadata
|
|
2377
|
+
);
|
|
2378
|
+
}
|
|
2379
|
+
onExtensionChange(t) {
|
|
2380
|
+
if (!this.selectedFormat)
|
|
2381
|
+
return;
|
|
2382
|
+
const e = t.detail;
|
|
2383
|
+
this.selectedFormat = {
|
|
2384
|
+
...this.selectedFormat,
|
|
2385
|
+
extension: e
|
|
2386
|
+
};
|
|
2387
|
+
}
|
|
2388
|
+
handleUndo() {
|
|
2389
|
+
this.transformations = this.transformations.slice(0, -1);
|
|
2390
|
+
const t = this.transformations.findLast(
|
|
2391
|
+
(e) => e.key === c.Quality
|
|
2392
|
+
)?.value?.quality;
|
|
2393
|
+
this.selectedFormat && (this.selectedFormat = {
|
|
2394
|
+
...this.selectedFormat,
|
|
2395
|
+
quality: t ?? 100
|
|
2396
|
+
});
|
|
2397
|
+
}
|
|
2398
|
+
render() {
|
|
2399
|
+
return b`<div
|
|
2400
|
+
class="asset-link-format"
|
|
2401
|
+
@cx-show=${this.onDetailsShow}
|
|
2402
|
+
@cx-hide=${this.onDetailsHide}
|
|
2403
|
+
>
|
|
2404
|
+
${G(
|
|
2405
|
+
!this.hideHeader,
|
|
2406
|
+
() => b`
|
|
2407
|
+
<cx-space
|
|
2408
|
+
class="asset-link-format__section-header"
|
|
2409
|
+
direction="horizontal"
|
|
2410
|
+
spacing="small"
|
|
2411
|
+
align-items="center"
|
|
2412
|
+
justify-content="space-between"
|
|
2413
|
+
>
|
|
2414
|
+
<cx-typography variant="body3">
|
|
2415
|
+
${this.localize.term("transformations")}
|
|
2416
|
+
</cx-typography>
|
|
2417
|
+
<cx-button
|
|
2418
|
+
class="asset-link-format__undo"
|
|
2419
|
+
variant="custom"
|
|
2420
|
+
?disabled=${this.transformations.length === 0 || this.frozenIndex !== void 0 && this.frozenIndex >= this.transformations.length - 1}
|
|
2421
|
+
@click=${this.handleUndo}
|
|
2422
|
+
>
|
|
2423
|
+
${this.localize.term("undo")}
|
|
2424
|
+
</cx-button>
|
|
2425
|
+
</cx-space>
|
|
2426
|
+
`,
|
|
2427
|
+
() => lt
|
|
2428
|
+
)}
|
|
2429
|
+
<cx-asset-link-format-proxy
|
|
2430
|
+
class="asset-link-format__details"
|
|
2431
|
+
value=${this.selectedProxy ?? ""}
|
|
2432
|
+
?open=${this.activeSetting === "cx-asset-link-format-proxy"}
|
|
2433
|
+
.items=${this.formats}
|
|
2434
|
+
?loading=${this.loading && this.lastAction === c.Proxy}
|
|
2435
|
+
@cx-asset-link-format-proxy-change=${this.onProxyChange}
|
|
2436
|
+
></cx-asset-link-format-proxy>
|
|
2437
|
+
<cx-asset-link-format-crop
|
|
2438
|
+
class="asset-link-format__details"
|
|
2439
|
+
?open=${this.activeSetting === "cx-asset-link-format-crop"}
|
|
2440
|
+
?disabled-apply=${this.disabledCropApply}
|
|
2441
|
+
?loading=${this.loading && this.lastAction === c.Crop}
|
|
2442
|
+
?keep-aspect-ratio=${this.cropSize.keepAspectRatio}
|
|
2443
|
+
focus-mode=${this.cropSize.focusMode}
|
|
2444
|
+
crop-mode=${this.cropSize.cropMode}
|
|
2445
|
+
width=${this.cropSize.width}
|
|
2446
|
+
height=${this.cropSize.height}
|
|
2447
|
+
max-width=${this.lastResizeSize[o.Pixel].width}
|
|
2448
|
+
max-height=${this.lastResizeSize[o.Pixel].height}
|
|
2449
|
+
percentage-width=${this.cropSize.percentageWidth}
|
|
2450
|
+
percentage-height=${this.cropSize.percentageHeight}
|
|
2451
|
+
ratio-width=${this.cropSize.ratioWidth}
|
|
2452
|
+
ratio-height=${this.cropSize.ratioHeight}
|
|
2453
|
+
unit=${this.cropSize.unit}
|
|
2454
|
+
.lastAppliedSetting=${this.lastCropSize}
|
|
2455
|
+
.cropModes=${this.cropModes}
|
|
2456
|
+
.focusModes=${this.focusModes}
|
|
2457
|
+
@cx-asset-link-format-crop-mode-change=${this.onCropModeChange}
|
|
2458
|
+
@cx-asset-link-format-crop-focus-mode-change=${this.onCropFocusModeChange}
|
|
2459
|
+
@cx-asset-link-format-crop-change=${this.onCropChange}
|
|
2460
|
+
@cx-asset-link-format-crop-changed=${this.onCropChanged}
|
|
2461
|
+
@cx-asset-link-format-crop-apply=${this.onCropApply}
|
|
2462
|
+
></cx-asset-link-format-crop>
|
|
2463
|
+
<cx-asset-link-format-resize
|
|
2464
|
+
class="asset-link-format__details"
|
|
2465
|
+
?open=${this.activeSetting === "cx-asset-link-format-resize"}
|
|
2466
|
+
?loading=${this.loading && this.lastAction === c.Resize}
|
|
2467
|
+
?keep-aspect-ratio=${this.resizeSize.keepAspectRatio}
|
|
2468
|
+
width=${this.resizeSize.width}
|
|
2469
|
+
height=${this.resizeSize.height}
|
|
2470
|
+
max-width=${this.imageSize.width}
|
|
2471
|
+
max-height=${this.imageSize.height}
|
|
2472
|
+
ratio-width=${this.resizeSize.ratioWidth}
|
|
2473
|
+
ratio-height=${this.resizeSize.ratioHeight}
|
|
2474
|
+
unit=${this.resizeSize.unit}
|
|
2475
|
+
.lastAppliedSetting=${this.lastResizeSize}
|
|
2476
|
+
@cx-asset-link-format-resize-change=${this.onResizeChange}
|
|
2477
|
+
@cx-asset-link-format-resize-apply=${this.onResizeApply}
|
|
2478
|
+
></cx-asset-link-format-resize>
|
|
2479
|
+
<cx-asset-link-format-rotation
|
|
2480
|
+
class="asset-link-format__details"
|
|
2481
|
+
?loading=${this.loading && this.lastAction === c.Rotate}
|
|
2482
|
+
?open=${this.activeSetting === "cx-asset-link-format-rotation"}
|
|
2483
|
+
value=${this.rotation}
|
|
2484
|
+
@cx-asset-link-format-rotation-change=${this.onRotationChange}
|
|
2485
|
+
@cx-asset-link-format-rotation-apply=${this.onRotationApply}
|
|
2486
|
+
></cx-asset-link-format-rotation>
|
|
2487
|
+
<cx-asset-link-format-quality
|
|
2488
|
+
class="asset-link-format__details"
|
|
2489
|
+
?loading=${this.loading && this.lastAction === c.Quality}
|
|
2490
|
+
?open=${this.activeSetting === "cx-asset-link-format-quality"}
|
|
2491
|
+
value=${this.selectedFormat?.quality ?? 100}
|
|
2492
|
+
@cx-asset-link-format-quality-change=${this.onQualityChange}
|
|
2493
|
+
></cx-asset-link-format-quality>
|
|
2494
|
+
<cx-asset-link-format-metadata
|
|
2495
|
+
class="asset-link-format__details"
|
|
2496
|
+
?open=${this.activeSetting === "cx-asset-link-format-metadata"}
|
|
2497
|
+
.value=${this.selectedFormat?.keepMetadata ?? !1}
|
|
2498
|
+
@cx-asset-link-format-metadata-change=${this.onMetadataChange}
|
|
2499
|
+
>
|
|
2500
|
+
</cx-asset-link-format-metadata>
|
|
2501
|
+
${G(
|
|
2502
|
+
this.useCustomExtension,
|
|
2503
|
+
() => b`
|
|
2504
|
+
<cx-asset-link-format-extension
|
|
2505
|
+
.items=${this.extensions}
|
|
2506
|
+
value=${this.selectedFormat?.extension ?? ""}
|
|
2507
|
+
@cx-asset-link-format-extension-change=${this.onExtensionChange}
|
|
2508
|
+
></cx-asset-link-format-extension>
|
|
2509
|
+
`
|
|
2510
|
+
)}
|
|
2511
|
+
</div>`;
|
|
2512
|
+
}
|
|
2513
|
+
};
|
|
2514
|
+
p.styles = [E, ut];
|
|
2515
|
+
p.dependencies = {
|
|
2516
|
+
"cx-asset-link-format-crop": d,
|
|
2517
|
+
"cx-asset-link-format-extension": U,
|
|
2518
|
+
"cx-asset-link-format-metadata": P,
|
|
2519
|
+
"cx-asset-link-format-proxy": C,
|
|
2520
|
+
"cx-asset-link-format-quality": A,
|
|
2521
|
+
"cx-asset-link-format-resize": f,
|
|
2522
|
+
"cx-asset-link-format-rotation": R,
|
|
2523
|
+
"cx-button": q,
|
|
2524
|
+
"cx-space": H,
|
|
2525
|
+
"cx-typography": W
|
|
2526
|
+
};
|
|
2527
|
+
u([
|
|
2528
|
+
l({ attribute: "base-url", reflect: !0, type: String })
|
|
2529
|
+
], p.prototype, "baseUrl", 2);
|
|
2530
|
+
u([
|
|
2531
|
+
l({ reflect: !1, type: Object })
|
|
2532
|
+
], p.prototype, "asset", 2);
|
|
2533
|
+
u([
|
|
2534
|
+
l({ attribute: "crop-modes", reflect: !1, type: Array })
|
|
2535
|
+
], p.prototype, "cropModes", 2);
|
|
2536
|
+
u([
|
|
2537
|
+
l({ attribute: "focus-modes", reflect: !1, type: Object })
|
|
2538
|
+
], p.prototype, "focusModes", 2);
|
|
2539
|
+
u([
|
|
2540
|
+
l({ reflect: !1, type: Array })
|
|
2541
|
+
], p.prototype, "extensions", 2);
|
|
2542
|
+
u([
|
|
2543
|
+
l({ reflect: !1, type: Array })
|
|
2544
|
+
], p.prototype, "proxies", 2);
|
|
2545
|
+
u([
|
|
2546
|
+
l({ attribute: "for-cropper", reflect: !0, type: String })
|
|
2547
|
+
], p.prototype, "forCropper", 2);
|
|
2548
|
+
u([
|
|
2549
|
+
l({ attribute: "use-session", reflect: !0, type: String })
|
|
2550
|
+
], p.prototype, "useSession", 2);
|
|
2551
|
+
u([
|
|
2552
|
+
l({ reflect: !1, type: Array })
|
|
2553
|
+
], p.prototype, "transformations", 2);
|
|
2554
|
+
u([
|
|
2555
|
+
l({ attribute: "selected-proxy", reflect: !0, type: String })
|
|
2556
|
+
], p.prototype, "selectedProxy", 2);
|
|
2557
|
+
u([
|
|
2558
|
+
l({ attribute: "use-custom-extension", reflect: !0, type: Boolean })
|
|
2559
|
+
], p.prototype, "useCustomExtension", 2);
|
|
2560
|
+
u([
|
|
2561
|
+
l({ attribute: "last-image-size", reflect: !1, type: Object })
|
|
2562
|
+
], p.prototype, "lastImageSize", 2);
|
|
2563
|
+
u([
|
|
2564
|
+
l({ attribute: "hide-header", reflect: !1, type: Boolean })
|
|
2565
|
+
], p.prototype, "hideHeader", 2);
|
|
2566
|
+
u([
|
|
2567
|
+
l({ attribute: !1, reflect: !1, type: Object })
|
|
2568
|
+
], p.prototype, "queryElement", 2);
|
|
2569
|
+
u([
|
|
2570
|
+
z()
|
|
2571
|
+
], p.prototype, "activeSetting", 2);
|
|
2572
|
+
u([
|
|
2573
|
+
z()
|
|
2574
|
+
], p.prototype, "selectedFormat", 2);
|
|
2575
|
+
u([
|
|
2576
|
+
z()
|
|
2577
|
+
], p.prototype, "resizeSize", 2);
|
|
2578
|
+
u([
|
|
2579
|
+
z()
|
|
2580
|
+
], p.prototype, "cropSize", 2);
|
|
2581
|
+
u([
|
|
2582
|
+
z()
|
|
2583
|
+
], p.prototype, "rotation", 2);
|
|
2584
|
+
u([
|
|
2585
|
+
z()
|
|
2586
|
+
], p.prototype, "defaultSize", 2);
|
|
2587
|
+
u([
|
|
2588
|
+
z()
|
|
2589
|
+
], p.prototype, "cropperElement", 2);
|
|
2590
|
+
u([
|
|
2591
|
+
z()
|
|
2592
|
+
], p.prototype, "parameters", 2);
|
|
2593
|
+
u([
|
|
2594
|
+
z()
|
|
2595
|
+
], p.prototype, "loading", 2);
|
|
2596
|
+
u([
|
|
2597
|
+
z()
|
|
2598
|
+
], p.prototype, "lastAction", 2);
|
|
2599
|
+
u([
|
|
2600
|
+
z()
|
|
2601
|
+
], p.prototype, "frozenIndex", 2);
|
|
2602
|
+
u([
|
|
2603
|
+
k(["transformations"])
|
|
2604
|
+
], p.prototype, "handleTransformationsChange", 1);
|
|
2605
|
+
u([
|
|
2606
|
+
k("selectedProxy")
|
|
2607
|
+
], p.prototype, "handleSelectedProxyChange", 1);
|
|
2608
|
+
u([
|
|
2609
|
+
k("loading")
|
|
2610
|
+
], p.prototype, "handleLoadingChange", 1);
|
|
2611
|
+
p = u([
|
|
2612
|
+
N("cx-asset-link-format")
|
|
2613
|
+
], p);
|
|
2614
|
+
export {
|
|
2615
|
+
p as default
|
|
2616
|
+
};
|