@orangelogic/design-system 2.212.0 → 2.213.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/library/chunks/{asset-link-format.C6BPob3e.js → asset-link-format.ofivwxXM.js} +5 -5
- package/library/chunks/{button.BnkkUqiI.js → button.CrhpoXK8.js} +1 -1
- package/library/chunks/{color-swatch-group.ACpuo8Pe.js → color-swatch-group.Dr7mWhCT.js} +384 -381
- package/library/chunks/{color-swatch.D6Gg5bpz.js → color-swatch.CSsvAlq8.js} +1 -1
- package/library/chunks/{confirm-popover.jCP9CdcD.js → confirm-popover.CrB-N3KV.js} +3 -3
- package/library/chunks/{dialog.B6hZ7fvn.js → dialog.DWa11p4j.js} +2 -2
- package/library/chunks/{document-viewer.CgSEgZ5S.js → document-viewer.UJBcwZWE.js} +5 -5
- package/library/chunks/{dot-pagination.BqGFeFXK.js → dot-pagination.ry5d0ZtQ.js} +1 -1
- package/library/chunks/{folder-select.CIqVGGFl.js → folder-select.BIXyzMCY.js} +4 -4
- package/library/chunks/{header.CB8GuYBG.js → header.tVm8jCBb.js} +1 -1
- package/library/chunks/{i18n.DbXTTLXx.js → i18n.CXIpdSSZ.js} +5 -2
- package/library/chunks/{icon-button.CVrxJcZq.js → icon-button.BBLy-yj3.js} +1 -1
- package/library/chunks/{iframe.-GCTFas1.js → iframe.FHGbVxm4.js} +1 -1
- package/library/chunks/{image.ZANuNTs8.js → image.BYDGEbte.js} +46 -37
- package/library/chunks/{input.33UmFGqR.js → input.B1JamaTE.js} +1 -1
- package/library/chunks/{markdown.DOHru2Rz.js → markdown.Cc9XwWxA.js} +2 -2
- package/library/chunks/{option.CCJLbAuF.js → option.DmQWgEVq.js} +1 -1
- package/library/chunks/{pagination.jGOZVKL5.js → pagination.GYpExPiQ.js} +5 -5
- package/library/chunks/{tab-group.uSHlsFu8.js → tab-group.PQnc285p.js} +3 -3
- package/library/chunks/{tree.CmEdKtzK.js → tree.BS7eGCf0.js} +1 -1
- package/library/components/alert.js +2 -2
- package/library/components/asset-link-format.js +3 -3
- package/library/components/atoms.js +14 -14
- package/library/components/audio.js +2 -2
- package/library/components/border-input-group.js +2 -2
- package/library/components/breadcrumb.js +1 -1
- package/library/components/button.js +2 -2
- package/library/components/color-picker.js +3 -3
- package/library/components/color-swatch-group.js +3 -3
- package/library/components/color-swatch.js +2 -2
- package/library/components/confirm-popover.js +4 -4
- package/library/components/copy-button.js +1 -1
- package/library/components/corner-position-input-group.js +3 -3
- package/library/components/date-calendar.js +1 -1
- package/library/components/details.js +1 -1
- package/library/components/dialog.js +3 -3
- package/library/components/document-viewer.js +3 -3
- package/library/components/dot-pagination.js +2 -2
- package/library/components/drawer.js +2 -2
- package/library/components/dropdown.js +2 -2
- package/library/components/dynamic-select.js +4 -4
- package/library/components/e-chart.js +1 -1
- package/library/components/element-clamp.js +2 -2
- package/library/components/file-on-demand.js +9 -9
- package/library/components/folder-select.js +4 -4
- package/library/components/format-bytes.js +1 -1
- package/library/components/format-date.js +1 -1
- package/library/components/format-number.js +1 -1
- package/library/components/format-time.js +1 -1
- package/library/components/header.js +2 -2
- package/library/components/icon-button.js +2 -2
- package/library/components/iframe.js +2 -2
- package/library/components/image-comparer.js +1 -1
- package/library/components/image.js +2 -2
- package/library/components/input.js +2 -2
- package/library/components/line-clamp.js +1 -1
- package/library/components/markdown.js +3 -3
- package/library/components/masonry.js +2 -2
- package/library/components/menu-item.js +6 -6
- package/library/components/menu.js +1 -1
- package/library/components/molecules.js +3 -3
- package/library/components/option.js +2 -2
- package/library/components/organisms.js +2 -2
- package/library/components/padding-input-group.js +1 -1
- package/library/components/pagination.js +6 -6
- package/library/components/popup.js +1 -1
- package/library/components/position-picker.js +1 -1
- package/library/components/progress-bar.js +1 -1
- package/library/components/progress-ring.js +1 -1
- package/library/components/range.js +1 -1
- package/library/components/rating.js +1 -1
- package/library/components/relative-time.js +1 -1
- package/library/components/select.js +2 -2
- package/library/components/shadow-input-group.js +1 -1
- package/library/components/share-option-list.js +1 -1
- package/library/components/sidebar.js +1 -1
- package/library/components/size-input-group.js +3 -3
- package/library/components/spinner.js +1 -1
- package/library/components/split-panel.js +1 -1
- package/library/components/tab-group.js +4 -4
- package/library/components/tab.js +2 -2
- package/library/components/tag.js +2 -2
- package/library/components/tooltip.js +1 -1
- package/library/components/tree-item.js +2 -2
- package/library/components/tree.js +2 -2
- package/library/components/typeface.js +2 -2
- package/library/components/types.js +3364 -3276
- package/library/components/video.js +2 -2
- package/library/package.json +1 -1
- package/library/packages/atoms/src/components/image/image.d.ts +1 -1
- package/library/packages/molecules/src/multi-select/components/board-list-item/board-list-item.d.ts +1 -0
- package/library/packages/organisms/src/chatbot/chatbot.d.ts +1 -1
- package/library/packages/organisms/src/content-builder/blocks/image/image.d.ts +11 -1
- package/library/packages/organisms/src/content-builder/configs/image.d.ts +4 -0
- package/library/packages/organisms/src/content-builder/configs-controller.d.ts +4 -0
- package/library/packages/utils/src/custom-element/i18n.d.ts +3 -0
- package/library/utils.js +1 -1
- package/package.json +1 -1
|
@@ -8,7 +8,7 @@ import { c as F } from "./component.styles.CRO4Odto.js";
|
|
|
8
8
|
import { c as n, C as h, H as $, l as z } from "./color.LzSGBy7o.js";
|
|
9
9
|
import { c as O } from "./custom-element.L4WJXn1j.js";
|
|
10
10
|
import { d as W } from "./debounce.DaHuiSGU.js";
|
|
11
|
-
import { L as A } from "./i18n.
|
|
11
|
+
import { L as A } from "./i18n.CXIpdSSZ.js";
|
|
12
12
|
import { w as i } from "./watch.DJF5K-8U.js";
|
|
13
13
|
import { i as G, x as u } from "./lit-element.jLBm65_O.js";
|
|
14
14
|
import { r as c } from "./state.CSDxrqLd.js";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { C as _ } from "./button.
|
|
2
|
-
import { C as u, D as h } from "./dialog.
|
|
1
|
+
import { C as _ } from "./button.CrhpoXK8.js";
|
|
2
|
+
import { C as u, D as h } from "./dialog.DWa11p4j.js";
|
|
3
3
|
import g from "../components/dropdown.js";
|
|
4
4
|
import { C as x } from "./typography.IqHbnd3C.js";
|
|
5
5
|
import { n as e, C as b } from "./lib-cortex-element.CVMmyPMC.js";
|
|
6
6
|
import { c as y } from "./component.styles.CRO4Odto.js";
|
|
7
7
|
import { c as w } from "./custom-element.L4WJXn1j.js";
|
|
8
|
-
import { L as $ } from "./i18n.
|
|
8
|
+
import { L as $ } from "./i18n.CXIpdSSZ.js";
|
|
9
9
|
import { i as z, x as d } from "./lit-element.jLBm65_O.js";
|
|
10
10
|
import { e as m } from "./query.BBf1UFkC.js";
|
|
11
11
|
import { e as a } from "./class-map.BiVq-cVR.js";
|
|
@@ -3,7 +3,7 @@ import { c as vr } from "./component.styles.CRO4Odto.js";
|
|
|
3
3
|
import { i as _s, x as He, E as fr } from "./lit-element.jLBm65_O.js";
|
|
4
4
|
import { a as ie, s as Te, w as os } from "./event.BeKOsirN.js";
|
|
5
5
|
import { c as br } from "./custom-element.L4WJXn1j.js";
|
|
6
|
-
import { L as yr } from "./i18n.
|
|
6
|
+
import { L as yr } from "./i18n.CXIpdSSZ.js";
|
|
7
7
|
import { M as gr } from "./modal.Ct0bJBSe.js";
|
|
8
8
|
import { l as ss, u as rs } from "./scroll.xtO5yojm.js";
|
|
9
9
|
import { H as mr } from "./slot.j5oheLJC.js";
|
|
@@ -16,7 +16,7 @@ import { o as wr } from "./style-map.llVFPd__.js";
|
|
|
16
16
|
import { n as lo } from "./when.Dr1es41R.js";
|
|
17
17
|
import { s as be, g as ae } from "./animation-registry.HmpwNuGH.js";
|
|
18
18
|
import xr from "../components/divider.js";
|
|
19
|
-
import { C as Sr } from "./icon-button.
|
|
19
|
+
import { C as Sr } from "./icon-button.BBLy-yj3.js";
|
|
20
20
|
import zr from "../components/popup.js";
|
|
21
21
|
const Cr = _s`.os-size-observer,.os-size-observer-listener{direction:inherit;pointer-events:none;visibility:hidden;box-sizing:border-box;overflow:hidden;scroll-behavior:auto!important}.os-size-observer,.os-size-observer-listener,.os-size-observer-listener-item,.os-size-observer-listener-item-final{writing-mode:horizontal-tb;position:absolute;top:0;left:0}.os-size-observer{z-index:-1;contain:strict;padding:inherit;border:inherit;box-sizing:inherit;flex-flow:row;margin:-133px;display:flex;inset:0;transform:scale(.1)}.os-size-observer:before{content:"";box-sizing:inherit;flex:none;width:10px;height:10px;padding:10px}.os-size-observer-appear{animation:1ms forwards os-size-observer-appear-animation}.os-size-observer-listener{box-sizing:border-box;padding:inherit;border:inherit;flex:auto;margin:-133px;position:relative;transform:scale(10)}.os-size-observer-listener.ltr{margin-left:0;margin-right:-266px}.os-size-observer-listener.rtl{margin-left:-266px;margin-right:0}.os-size-observer-listener:empty:before{content:"";width:100%;height:100%}.os-size-observer-listener:empty:before,.os-size-observer-listener>.os-size-observer-listener-item{padding:inherit;border:inherit;box-sizing:content-box;flex:auto;display:block;position:relative}.os-size-observer-listener-scroll{box-sizing:border-box;display:flex}.os-size-observer-listener-item{direction:ltr;flex:none;bottom:0;right:0;overflow:hidden}.os-size-observer-listener-item-final{transition:none}@keyframes os-size-observer-appear-animation{0%{cursor:auto}to{cursor:none}}.os-trinsic-observer{box-sizing:border-box;z-index:-1;contain:strict;border:none;flex:none;max-width:0;height:0;max-height:1px;margin:0;padding:0;position:relative;top:calc(100% + 1px);overflow:hidden}.os-trinsic-observer:not(:empty){height:calc(100% + 1px);top:-1px}.os-trinsic-observer:not(:empty)>.os-size-observer{width:1000%;min-width:1px;height:1000%;min-height:1px}[data-overlayscrollbars-initialize]:not([data-overlayscrollbars-viewport]),[data-overlayscrollbars-viewport~=scrollbarHidden]{scrollbar-width:none!important}[data-overlayscrollbars-initialize]:not([data-overlayscrollbars-viewport])::-webkit-scrollbar,[data-overlayscrollbars-initialize]:not([data-overlayscrollbars-viewport])::-webkit-scrollbar-corner,[data-overlayscrollbars-viewport~=scrollbarHidden]::-webkit-scrollbar,[data-overlayscrollbars-viewport~=scrollbarHidden]::-webkit-scrollbar-corner{-webkit-appearance:none!important;appearance:none!important;width:0!important;height:0!important;display:none!important}[data-overlayscrollbars-initialize]:not([data-overlayscrollbars]):not(html):not(body){overflow:auto}html[data-overlayscrollbars-body]{overflow:hidden}html[data-overlayscrollbars-body],html[data-overlayscrollbars-body]>body{width:100%;height:100%;margin:0}html[data-overlayscrollbars-body]>body{margin:0;overflow:visible}[data-overlayscrollbars]{position:relative}[data-overlayscrollbars~=host],[data-overlayscrollbars-padding]{display:flex;scroll-behavior:auto!important;flex-flow:row!important;align-items:stretch!important}[data-overlayscrollbars-padding],[data-overlayscrollbars-viewport]:not([data-overlayscrollbars]){box-sizing:inherit;z-index:0;border:none;flex:auto;width:100%;min-width:0;height:auto;margin:0;padding:0;position:relative}[data-overlayscrollbars-viewport]:not([data-overlayscrollbars]){--os-vaw:0;--os-vah:0;outline:none}[data-overlayscrollbars-viewport]:not([data-overlayscrollbars]):focus{outline:none}[data-overlayscrollbars-viewport][data-overlayscrollbars-viewport~=arrange]:before{content:"";pointer-events:none;z-index:-1;min-width:1px;min-height:1px;width:var(--os-vaw);height:var(--os-vah);position:absolute}[data-overlayscrollbars~=host],[data-overlayscrollbars-padding]{overflow:hidden!important}[data-overlayscrollbars~=host][data-overlayscrollbars~=noClipping],[data-overlayscrollbars-padding~=noClipping]{overflow:visible!important}[data-overlayscrollbars-viewport]{--os-viewport-overflow-x:hidden;--os-viewport-overflow-y:hidden;overflow-x:var(--os-viewport-overflow-x);overflow-y:var(--os-viewport-overflow-y)}[data-overlayscrollbars-viewport~=overflowXVisible]{--os-viewport-overflow-x:visible}[data-overlayscrollbars-viewport~=overflowXHidden]{--os-viewport-overflow-x:hidden}[data-overlayscrollbars-viewport~=overflowXScroll]{--os-viewport-overflow-x:scroll}[data-overlayscrollbars-viewport~=overflowYVisible]{--os-viewport-overflow-y:visible}[data-overlayscrollbars-viewport~=overflowYHidden]{--os-viewport-overflow-y:hidden}[data-overlayscrollbars-viewport~=overflowYScroll]{--os-viewport-overflow-y:scroll}[data-overlayscrollbars-viewport~=overflowImportant]{overflow-x:var(--os-viewport-overflow-x)!important;overflow-y:var(--os-viewport-overflow-y)!important}[data-overlayscrollbars-viewport~=noContent]:not(#osFakeId){font-size:0!important;line-height:0!important}[data-overlayscrollbars-viewport~=noContent]:not(#osFakeId):before,[data-overlayscrollbars-viewport~=noContent]:not(#osFakeId):after,[data-overlayscrollbars-viewport~=noContent]:not(#osFakeId)>*{clip:rect(0, 0, 0, 0)!important;white-space:nowrap!important;border-width:0!important;width:1px!important;height:1px!important;margin:-1px!important;padding:0!important;display:none!important;position:absolute!important;overflow:hidden!important}[data-overlayscrollbars-viewport~=measuring],[data-overlayscrollbars-viewport~=scrolling]{scroll-behavior:auto!important;scroll-snap-type:none!important}[data-overlayscrollbars-viewport~=measuring][data-overlayscrollbars-viewport~=overflowXVisible]{overflow-x:hidden!important}[data-overlayscrollbars-viewport~=measuring][data-overlayscrollbars-viewport~=overflowYVisible]{overflow-y:hidden!important}[data-overlayscrollbars-content]{box-sizing:inherit}[data-overlayscrollbars-contents]:not(#osFakeId):not([data-overlayscrollbars-padding]):not([data-overlayscrollbars-viewport]):not([data-overlayscrollbars-content]){display:contents}[data-overlayscrollbars-grid],[data-overlayscrollbars-grid] [data-overlayscrollbars-padding]{grid-template:1fr/1fr;display:grid}[data-overlayscrollbars-grid]>[data-overlayscrollbars-padding],[data-overlayscrollbars-grid]>[data-overlayscrollbars-viewport],[data-overlayscrollbars-grid]>[data-overlayscrollbars-padding]>[data-overlayscrollbars-viewport]{width:auto!important;height:auto!important}@property --os-scroll-percent{syntax:"<number>";inherits:true;initial-value:0}@property --os-viewport-percent{syntax:"<number>";inherits:true;initial-value:0}.os-scrollbar{--os-viewport-percent:0;--os-scroll-percent:0;--os-scroll-direction:0;--os-scroll-percent-directional:calc(var(--os-scroll-percent) - (var(--os-scroll-percent) + (1 - var(--os-scroll-percent)) * -1) * var(--os-scroll-direction));contain:size layout;contain:size layout style;pointer-events:none;opacity:0;visibility:hidden;transition:opacity .15s,visibility .15s,top .15s,right .15s,bottom .15s,left .15s;position:absolute}body>.os-scrollbar{z-index:99999;position:fixed}.os-scrollbar-transitionless{transition:none!important}.os-scrollbar-track{position:relative;border:none!important;padding:0!important}.os-scrollbar-handle{position:absolute}.os-scrollbar-track,.os-scrollbar-handle{pointer-events:none;width:100%;height:100%}.os-scrollbar.os-scrollbar-track-interactive .os-scrollbar-track,.os-scrollbar.os-scrollbar-handle-interactive .os-scrollbar-handle{pointer-events:auto;touch-action:none}.os-scrollbar-horizontal{bottom:0;left:0}.os-scrollbar-vertical{top:0;right:0}.os-scrollbar-rtl.os-scrollbar-horizontal{right:0}.os-scrollbar-rtl.os-scrollbar-vertical{left:0;right:auto}.os-scrollbar-visible{opacity:1;visibility:visible}.os-scrollbar-auto-hide.os-scrollbar-auto-hide-hidden{opacity:0;visibility:hidden}.os-scrollbar-interaction.os-scrollbar-visible{opacity:1;visibility:visible}.os-scrollbar-unusable,.os-scrollbar-unusable *,.os-scrollbar-wheel,.os-scrollbar-wheel *{pointer-events:none!important}.os-scrollbar-unusable .os-scrollbar-handle{opacity:0!important;transition:none!important}.os-scrollbar-horizontal .os-scrollbar-handle{bottom:0;left:calc(var(--os-scroll-percent-directional) * 100%);transform:translateX(calc(var(--os-scroll-percent-directional) * -100%));width:calc(var(--os-viewport-percent) * 100%)}.os-scrollbar-vertical .os-scrollbar-handle{right:0;top:calc(var(--os-scroll-percent-directional) * 100%);transform:translateY(calc(var(--os-scroll-percent-directional) * -100%));height:calc(var(--os-viewport-percent) * 100%)}@supports (container-type:size){.os-scrollbar-track{container-type:size}.os-scrollbar-horizontal .os-scrollbar-handle{transform:translateX(calc(var(--os-scroll-percent-directional) * 100cqw + var(--os-scroll-percent-directional) * -100%));left:auto}.os-scrollbar-vertical .os-scrollbar-handle{transform:translateY(calc(var(--os-scroll-percent-directional) * 100cqh + var(--os-scroll-percent-directional) * -100%));top:auto}.os-scrollbar-rtl.os-scrollbar-horizontal .os-scrollbar-handle{left:0;right:auto}}.os-scrollbar-rtl.os-scrollbar-vertical .os-scrollbar-handle{left:0;right:auto}.os-scrollbar.os-scrollbar-horizontal.os-scrollbar-cornerless,.os-scrollbar.os-scrollbar-horizontal.os-scrollbar-cornerless.os-scrollbar-rtl{left:0;right:0}.os-scrollbar.os-scrollbar-vertical.os-scrollbar-cornerless,.os-scrollbar.os-scrollbar-vertical.os-scrollbar-cornerless.os-scrollbar-rtl{top:0;bottom:0}@media print{.os-scrollbar{display:none}}.os-scrollbar{--os-size:10px;--os-padding-perpendicular:4px;--os-padding-axis:2px;--os-track-border-radius:10px;--os-track-bg:none;--os-track-bg-hover:none;--os-track-bg-active:none;--os-track-border:none;--os-track-border-hover:none;--os-track-border-active:none;--os-handle-border-radius:13px;--os-handle-bg:var(--cx-color-neutral-400);--os-handle-bg-hover:var(--cx-color-neutral-500);--os-handle-bg-active:var(--cx-color-neutral-500);--os-handle-border:4px solid #0000;--os-handle-border-hover:4px solid #0000;--os-handle-border-active:4px solid #0000;--os-handle-min-size:50px;--os-handle-max-size:none;--os-handle-perpendicular-size:100%;--os-handle-perpendicular-size-hover:100%;--os-handle-perpendicular-size-active:100%;--os-handle-interactive-area-offset:4px}.os-scrollbar-track{border:var(--os-track-border);border-radius:var(--os-track-border-radius);background:var(--os-track-bg);transition:opacity .15s,background-color .15s,border-color .15s}.os-scrollbar-track:hover{border:var(--os-track-border-hover);background:var(--os-track-bg-hover)}.os-scrollbar-track:active{border:var(--os-track-border-active);background:var(--os-track-bg-active)}.os-scrollbar-handle{border:var(--os-handle-border);border-radius:var(--os-handle-border-radius);background:var(--os-handle-bg)}.os-scrollbar-handle:hover{background:var(--os-handle-bg-hover);border:var(--os-handle-border-hover)}.os-scrollbar-handle:active{border:var(--os-handle-border-active);background:var(--os-handle-bg-active)}.os-scrollbar-track:before,.os-scrollbar-handle:before{content:"";display:block;position:absolute;inset:0}.os-scrollbar-horizontal{padding:var(--os-padding-perpendicular) var(--os-padding-axis);right:var(--os-size);height:var(--os-size)}.os-scrollbar-horizontal.os-scrollbar-rtl{left:var(--os-size);right:0}.os-scrollbar-horizontal .os-scrollbar-track:before{top:calc(var(--os-padding-perpendicular) * -1);bottom:calc(var(--os-padding-perpendicular) * -1)}.os-scrollbar-horizontal .os-scrollbar-handle{min-width:var(--os-handle-min-size);max-width:var(--os-handle-max-size);height:var(--os-handle-perpendicular-size);transition:opacity .15s,background-color .15s,border-color .15s,height .15s}.os-scrollbar-horizontal .os-scrollbar-handle:before{top:calc(( var(--os-padding-perpendicular) + var(--os-handle-interactive-area-offset) ) * -1);bottom:calc(var(--os-padding-perpendicular) * -1)}.os-scrollbar-horizontal:hover .os-scrollbar-handle{height:var(--os-handle-perpendicular-size-hover)}.os-scrollbar-horizontal:active .os-scrollbar-handle{height:var(--os-handle-perpendicular-size-active)}.os-scrollbar-vertical{padding:var(--os-padding-axis) var(--os-padding-perpendicular);bottom:var(--os-size);width:var(--os-size)}.os-scrollbar-vertical .os-scrollbar-track:before{left:calc(var(--os-padding-perpendicular) * -1);right:calc(var(--os-padding-perpendicular) * -1)}.os-scrollbar-vertical .os-scrollbar-handle{min-height:var(--os-handle-min-size);max-height:var(--os-handle-max-size);width:var(--os-handle-perpendicular-size);transition:opacity .15s,background-color .15s,border-color .15s,width .15s}.os-scrollbar-vertical .os-scrollbar-handle:before{left:calc(( var(--os-padding-perpendicular) + var(--os-handle-interactive-area-offset) ) * -1);right:calc(var(--os-padding-perpendicular) * -1)}.os-scrollbar-vertical.os-scrollbar-rtl .os-scrollbar-handle:before{right:calc(( var(--os-padding-perpendicular) + var(--os-handle-interactive-area-offset) ) * -1);left:calc(var(--os-padding-perpendicular) * -1)}.os-scrollbar-vertical:hover .os-scrollbar-handle{width:var(--os-handle-perpendicular-size-hover)}.os-scrollbar-vertical:active .os-scrollbar-handle{width:var(--os-handle-perpendicular-size-active)}[data-overlayscrollbars-viewport~=measuring]>.os-scrollbar,.os-theme-none.os-scrollbar{display:none!important}.os-theme-dark,.os-theme-light{box-sizing:border-box;--os-size:10px;--os-padding-perpendicular:4px;--os-padding-axis:2px;--os-track-border-radius:10px;--os-handle-interactive-area-offset:4px;--os-handle-border-radius:10px}`;
|
|
22
22
|
var jt = /* @__PURE__ */ ((t) => (t.Both = "both", t.Footer = "footer", t.Header = "header", t.None = "none", t))(jt || {});
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { r as resizableComponentStyles, R as ResizableElement, a as ResizeDirection, b as HeightMode } from "./resizable-component.styles.CAfXABBc.js";
|
|
2
|
-
import { C as CxButton } from "./button.
|
|
2
|
+
import { C as CxButton } from "./button.CrhpoXK8.js";
|
|
3
3
|
import CxDrawer from "../components/drawer.js";
|
|
4
4
|
import CxDropdown from "../components/dropdown.js";
|
|
5
5
|
import { C as CxIcon } from "./icon.CpHbi8tH.js";
|
|
6
|
-
import { C as CxIconButton } from "./icon-button.
|
|
7
|
-
import { C as CxInput } from "./input.
|
|
6
|
+
import { C as CxIconButton } from "./icon-button.BBLy-yj3.js";
|
|
7
|
+
import { C as CxInput } from "./input.B1JamaTE.js";
|
|
8
8
|
import CxMenu from "../components/menu.js";
|
|
9
9
|
import CxMenuItem from "../components/menu-item.js";
|
|
10
10
|
import CxPopup from "../components/popup.js";
|
|
@@ -19,7 +19,7 @@ import "./browser.BHOCIF_A.js";
|
|
|
19
19
|
import { c as customElement } from "./custom-element.L4WJXn1j.js";
|
|
20
20
|
import { i, x, E } from "./lit-element.jLBm65_O.js";
|
|
21
21
|
import "./form.DSsy3Fcy.js";
|
|
22
|
-
import { L as LocalizeController } from "./i18n.
|
|
22
|
+
import { L as LocalizeController } from "./i18n.CXIpdSSZ.js";
|
|
23
23
|
import "./purify.es.BIuh5IAZ.js";
|
|
24
24
|
import { w as watch } from "./watch.DJF5K-8U.js";
|
|
25
25
|
import "./date-picker.BGHn6qg8.js";
|
|
@@ -34,7 +34,7 @@ import { a as ObjectFit } from "./index.Cpamj0jB.js";
|
|
|
34
34
|
import { r as r$1 } from "./state.CSDxrqLd.js";
|
|
35
35
|
import { e } from "./class-map.BiVq-cVR.js";
|
|
36
36
|
import { n as n$1 } from "./when.Dr1es41R.js";
|
|
37
|
-
import { C as CxImage } from "./image.
|
|
37
|
+
import { C as CxImage } from "./image.BYDGEbte.js";
|
|
38
38
|
var BookReaderMode$1 = /* @__PURE__ */ ((l) => (l.Image = "Image", l.Pdf = "Pdf", l))(BookReaderMode$1 || {}), BookReaderViewMode = /* @__PURE__ */ ((l) => (l.FourPage = "FourPage", l.OnePage = "OnePage", l.TwoPage = "TwoPage", l))(BookReaderViewMode || {});
|
|
39
39
|
function commonjsRequire(l) {
|
|
40
40
|
throw new Error('Could not dynamically require "' + l + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.');
|
|
@@ -2,7 +2,7 @@ import { n as s, C as P } from "./lib-cortex-element.CVMmyPMC.js";
|
|
|
2
2
|
import { c as z } from "./component.styles.CRO4Odto.js";
|
|
3
3
|
import { O as C } from "./index.Cpamj0jB.js";
|
|
4
4
|
import { c as F } from "./custom-element.L4WJXn1j.js";
|
|
5
|
-
import { L as S } from "./i18n.
|
|
5
|
+
import { L as S } from "./i18n.CXIpdSSZ.js";
|
|
6
6
|
import { w as f } from "./watch.DJF5K-8U.js";
|
|
7
7
|
import { i as O, x as y } from "./lit-element.jLBm65_O.js";
|
|
8
8
|
import { r as j } from "./state.CSDxrqLd.js";
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import { C as re } from "./icon.CpHbi8tH.js";
|
|
2
|
-
import { C as me } from "./input.
|
|
2
|
+
import { C as me } from "./input.B1JamaTE.js";
|
|
3
3
|
import se from "../components/line-clamp.js";
|
|
4
4
|
import ye from "../components/select.js";
|
|
5
5
|
import ge from "../components/tag.js";
|
|
6
|
-
import { C as F, a as xe } from "./tree.
|
|
6
|
+
import { C as F, a as xe } from "./tree.BS7eGCf0.js";
|
|
7
7
|
import { n as s, C as N } from "./lib-cortex-element.CVMmyPMC.js";
|
|
8
8
|
import { h as A, F as be, A as $e } from "./endpoints.mJ5S-tIs.js";
|
|
9
9
|
import { M as P } from "./asset-link-format.ClaYu_v8.js";
|
|
10
10
|
import { c as ie } from "./component.styles.CRO4Odto.js";
|
|
11
11
|
import { c as W } from "./custom-element.L4WJXn1j.js";
|
|
12
|
-
import { L as q } from "./i18n.
|
|
12
|
+
import { L as q } from "./i18n.CXIpdSSZ.js";
|
|
13
13
|
import { w as y } from "./watch.DJF5K-8U.js";
|
|
14
14
|
import { g as V, p as X, e as E } from "./string.CfI2ejyR.js";
|
|
15
15
|
import { x as g, i as ve } from "./lit-element.jLBm65_O.js";
|
|
16
16
|
import { r as x } from "./state.CSDxrqLd.js";
|
|
17
17
|
import { e as H } from "./query.BBf1UFkC.js";
|
|
18
18
|
import { r as Ie } from "./choose.BTbF6BAn.js";
|
|
19
|
-
import { C as ae } from "./button.
|
|
19
|
+
import { C as ae } from "./button.CrhpoXK8.js";
|
|
20
20
|
import { d as Se } from "./debounce.DaHuiSGU.js";
|
|
21
21
|
import { o as p } from "./if-defined.BRoBj_Rp.js";
|
|
22
22
|
import { c as G } from "./repeat.CFjcER6_.js";
|
|
@@ -3,7 +3,7 @@ import { n as l, C as x } from "./lib-cortex-element.CVMmyPMC.js";
|
|
|
3
3
|
import { c as k } from "./component.styles.CRO4Odto.js";
|
|
4
4
|
import { i as p } from "./lit-element.jLBm65_O.js";
|
|
5
5
|
import { c as v } from "./custom-element.L4WJXn1j.js";
|
|
6
|
-
import { L as w } from "./i18n.
|
|
6
|
+
import { L as w } from "./i18n.CXIpdSSZ.js";
|
|
7
7
|
import { w as y } from "./watch.DJF5K-8U.js";
|
|
8
8
|
import { e as m } from "./query.BBf1UFkC.js";
|
|
9
9
|
import { e as u } from "./class-map.BiVq-cVR.js";
|
|
@@ -5,7 +5,7 @@ T.observe(document.documentElement, {
|
|
|
5
5
|
attributeFilter: ["dir", "lang"],
|
|
6
6
|
attributes: !0
|
|
7
7
|
});
|
|
8
|
-
function
|
|
8
|
+
function k(e) {
|
|
9
9
|
return `${e.dir || h}`.toLowerCase();
|
|
10
10
|
}
|
|
11
11
|
function m(...e) {
|
|
@@ -407,6 +407,7 @@ const b = {
|
|
|
407
407
|
currentValue: "Current value",
|
|
408
408
|
currentVersion: "Current version",
|
|
409
409
|
custom: "Custom",
|
|
410
|
+
customAltText: "Custom alt text",
|
|
410
411
|
customExport: "Custom export",
|
|
411
412
|
customFormat: "Custom format",
|
|
412
413
|
customShadowAndBorderRadius: "Custom shadow and border radius",
|
|
@@ -417,7 +418,9 @@ const b = {
|
|
|
417
418
|
cut: "Cut",
|
|
418
419
|
damLibrary: "DAM Library",
|
|
419
420
|
damViewNoAvailableOptionsForThisAsset: "There are no available options for this asset. This might be due to your permissions or the application's settings.",
|
|
421
|
+
darkCustomAltText: "Dark custom alt text",
|
|
420
422
|
darkImageFormat: "Dark image format",
|
|
423
|
+
darkModeAltText: "Dark mode alt text",
|
|
421
424
|
darkModeImage: "Dark mode image",
|
|
422
425
|
dashSpacing: "Dash spacing",
|
|
423
426
|
dashWidth: "Dash width",
|
|
@@ -1269,6 +1272,6 @@ class F extends C {
|
|
|
1269
1272
|
w(b);
|
|
1270
1273
|
export {
|
|
1271
1274
|
F as L,
|
|
1272
|
-
|
|
1275
|
+
k as d,
|
|
1273
1276
|
w as r
|
|
1274
1277
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as r, C as g } from "./lib-cortex-element.CVMmyPMC.js";
|
|
2
2
|
import { c as p } from "./component.styles.CRO4Odto.js";
|
|
3
3
|
import { c as h } from "./custom-element.L4WJXn1j.js";
|
|
4
|
-
import { L as m } from "./i18n.
|
|
4
|
+
import { L as m } from "./i18n.CXIpdSSZ.js";
|
|
5
5
|
import { r as f } from "./state.CSDxrqLd.js";
|
|
6
6
|
import { e as v } from "./query.BBf1UFkC.js";
|
|
7
7
|
import { e as y } from "./class-map.BiVq-cVR.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as r, C as d } from "./lib-cortex-element.CVMmyPMC.js";
|
|
2
2
|
import { c as h } from "./component.styles.CRO4Odto.js";
|
|
3
3
|
import { c as y } from "./custom-element.L4WJXn1j.js";
|
|
4
|
-
import { L as u } from "./i18n.
|
|
4
|
+
import { L as u } from "./i18n.CXIpdSSZ.js";
|
|
5
5
|
import { w as g } from "./watch.DJF5K-8U.js";
|
|
6
6
|
import { i as b, x as p } from "./lit-element.jLBm65_O.js";
|
|
7
7
|
import { e as v } from "./query.BBf1UFkC.js";
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { r as
|
|
1
|
+
import { r as Re, R as Se, H as K, a as ie, b as $e } from "./resizable-component.styles.CAfXABBc.js";
|
|
2
2
|
import { c as He } from "./component.styles.CRO4Odto.js";
|
|
3
3
|
import { a as Te } from "./index.Cpamj0jB.js";
|
|
4
4
|
import { c as Ae } from "./custom-element.L4WJXn1j.js";
|
|
5
5
|
import { d as Oe } from "./debounce.DaHuiSGU.js";
|
|
6
|
-
import { L as je } from "./i18n.
|
|
6
|
+
import { L as je } from "./i18n.CXIpdSSZ.js";
|
|
7
7
|
import { w as M } from "./watch.DJF5K-8U.js";
|
|
8
8
|
import { a as Ze } from "./url.CGdWC06g.js";
|
|
9
|
-
import { i as se, E as X, x as
|
|
9
|
+
import { i as se, E as X, x as R } from "./lit-element.jLBm65_O.js";
|
|
10
10
|
import { n as p } from "./lib-cortex-element.CVMmyPMC.js";
|
|
11
|
-
import { r as
|
|
11
|
+
import { r as C } from "./state.CSDxrqLd.js";
|
|
12
12
|
import { e as G } from "./query.BBf1UFkC.js";
|
|
13
13
|
import { e as S } from "./class-map.BiVq-cVR.js";
|
|
14
|
-
import { o as
|
|
14
|
+
import { o as w } from "./if-defined.BRoBj_Rp.js";
|
|
15
15
|
import { i as Ie } from "./keyed.DdOUTIg-.js";
|
|
16
16
|
import { o as Me } from "./style-map.llVFPd__.js";
|
|
17
17
|
import { n as A } from "./when.Dr1es41R.js";
|
|
@@ -50,8 +50,8 @@ See: https://github.com/francoischalifour/medium-zoom`);
|
|
|
50
50
|
var o = document.createElement("div");
|
|
51
51
|
return o.classList.add("medium-zoom-overlay"), o.style.background = t, o;
|
|
52
52
|
}, De = function(t) {
|
|
53
|
-
var o = t.getBoundingClientRect(), l = o.top, c = o.left,
|
|
54
|
-
return b.removeAttribute("id"), b.style.position = "absolute", b.style.top = l + U + "px", b.style.left = c + _ + "px", b.style.width =
|
|
53
|
+
var o = t.getBoundingClientRect(), l = o.top, c = o.left, k = o.width, L = o.height, b = t.cloneNode(), U = window.pageYOffset || document.documentElement.scrollTop || document.body.scrollTop || 0, _ = window.pageXOffset || document.documentElement.scrollLeft || document.body.scrollLeft || 0;
|
|
54
|
+
return b.removeAttribute("id"), b.style.position = "absolute", b.style.top = l + U + "px", b.style.left = c + _ + "px", b.style.width = k + "px", b.style.height = L + "px", b.style.transform = "", b;
|
|
55
55
|
}, O = function(t, o) {
|
|
56
56
|
var l = $({
|
|
57
57
|
bubbles: !1,
|
|
@@ -74,12 +74,12 @@ See: https://github.com/francoischalifour/medium-zoom`);
|
|
|
74
74
|
return;
|
|
75
75
|
}
|
|
76
76
|
y.indexOf(a) !== -1 && Q({ target: a });
|
|
77
|
-
},
|
|
77
|
+
}, k = function() {
|
|
78
78
|
if (!(H || !e.original)) {
|
|
79
79
|
var r = window.pageYOffset || document.documentElement.scrollTop || document.body.scrollTop || 0;
|
|
80
80
|
Math.abs(ee - r) > d.scrollOffset && setTimeout(x, 150);
|
|
81
81
|
}
|
|
82
|
-
},
|
|
82
|
+
}, L = function(r) {
|
|
83
83
|
var a = r.key || r.keyCode;
|
|
84
84
|
(a === "Escape" || a === "Esc" || a === 27) && x();
|
|
85
85
|
}, b = function() {
|
|
@@ -108,8 +108,8 @@ See: https://github.com/francoischalifour/medium-zoom`);
|
|
|
108
108
|
y.push(s), s.classList.add("medium-zoom-image");
|
|
109
109
|
}), P.forEach(function(s) {
|
|
110
110
|
var v = s.type, z = s.listener, T = s.options;
|
|
111
|
-
g.forEach(function(
|
|
112
|
-
|
|
111
|
+
g.forEach(function(E) {
|
|
112
|
+
E.addEventListener(v, z, T);
|
|
113
113
|
});
|
|
114
114
|
}), u;
|
|
115
115
|
}, de = function() {
|
|
@@ -152,7 +152,7 @@ See: https://github.com/francoischalifour/medium-zoom`);
|
|
|
152
152
|
if (d.container instanceof Object)
|
|
153
153
|
s = $({}, s, d.container), v = s.width - s.left - s.right - d.margin * 2, z = s.height - s.top - s.bottom - d.margin * 2;
|
|
154
154
|
else {
|
|
155
|
-
var T = F(d.container) ? d.container : document.querySelector(d.container),
|
|
155
|
+
var T = F(d.container) ? d.container : document.querySelector(d.container), E = T.getBoundingClientRect(), D = E.width, fe = E.height, ve = E.left, ye = E.top;
|
|
156
156
|
s = $({}, s, {
|
|
157
157
|
width: D,
|
|
158
158
|
height: fe,
|
|
@@ -204,8 +204,8 @@ See: https://github.com/francoischalifour/medium-zoom`);
|
|
|
204
204
|
}, 10);
|
|
205
205
|
} else if (e.original.hasAttribute("srcset")) {
|
|
206
206
|
e.zoomedHd = e.zoomed.cloneNode(), e.zoomedHd.removeAttribute("sizes"), e.zoomedHd.removeAttribute("loading");
|
|
207
|
-
var
|
|
208
|
-
e.zoomedHd.removeEventListener("load",
|
|
207
|
+
var E = e.zoomedHd.addEventListener("load", function() {
|
|
208
|
+
e.zoomedHd.removeEventListener("load", E), e.zoomedHd.classList.add("medium-zoom-image--opened"), e.zoomedHd.addEventListener("click", x), document.body.appendChild(e.zoomedHd), m();
|
|
209
209
|
});
|
|
210
210
|
} else
|
|
211
211
|
m();
|
|
@@ -249,7 +249,7 @@ See: https://github.com/francoischalifour/medium-zoom`);
|
|
|
249
249
|
template: null
|
|
250
250
|
}, d);
|
|
251
251
|
var N = Ue(d.background);
|
|
252
|
-
document.addEventListener("click", c), document.addEventListener("keyup",
|
|
252
|
+
document.addEventListener("click", c), document.addEventListener("keyup", L), document.addEventListener("scroll", k), window.addEventListener("resize", x);
|
|
253
253
|
var u = {
|
|
254
254
|
open: J,
|
|
255
255
|
close: x,
|
|
@@ -353,7 +353,8 @@ const Ke = se`:host([effect=jump]) .container,:host([effect=text-reveal]) .conta
|
|
|
353
353
|
overflow: hidden;
|
|
354
354
|
}
|
|
355
355
|
|
|
356
|
-
.container:has(.highlighter:focus-visible)
|
|
356
|
+
.container:has(.highlighter:focus-visible),
|
|
357
|
+
.container:has(.image-navigation-anchor:focus-visible) {
|
|
357
358
|
outline: var(--cx-focus-ring);
|
|
358
359
|
outline-offset: var(--cx-focus-ring-offset);
|
|
359
360
|
}
|
|
@@ -424,6 +425,12 @@ const Ke = se`:host([effect=jump]) .container,:host([effect=text-reveal]) .conta
|
|
|
424
425
|
cursor: pointer;
|
|
425
426
|
}
|
|
426
427
|
|
|
428
|
+
.image-navigation-anchor {
|
|
429
|
+
inset: 0;
|
|
430
|
+
pointer-events: none;
|
|
431
|
+
position: absolute;
|
|
432
|
+
}
|
|
433
|
+
|
|
427
434
|
.image {
|
|
428
435
|
border-radius: var(--border-radius);
|
|
429
436
|
border: var(--border) solid;
|
|
@@ -538,11 +545,11 @@ const Ke = se`:host([effect=jump]) .container,:host([effect=text-reveal]) .conta
|
|
|
538
545
|
var Ge = Object.defineProperty, Je = Object.getOwnPropertyDescriptor, le = (i) => {
|
|
539
546
|
throw TypeError(i);
|
|
540
547
|
}, h = (i, t, o, l) => {
|
|
541
|
-
for (var c = l > 1 ? void 0 : l ? Je(t, o) : t,
|
|
542
|
-
(
|
|
548
|
+
for (var c = l > 1 ? void 0 : l ? Je(t, o) : t, k = i.length - 1, L; k >= 0; k--)
|
|
549
|
+
(L = i[k]) && (c = (l ? L(t, o, c) : L(c)) || c);
|
|
543
550
|
return l && c && Ge(t, o, c), c;
|
|
544
551
|
}, he = (i, t, o) => t.has(i) || le("Cannot " + o), ae = (i, t, o) => (he(i, t, "read from private field"), o ? o.call(i) : t.get(i)), Qe = (i, t, o) => t.has(i) ? le("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(i) : t.set(i, o), ne = (i, t, o, l) => (he(i, t, "write to private field"), t.set(i, o), o), j;
|
|
545
|
-
let n = class extends
|
|
552
|
+
let n = class extends Se {
|
|
546
553
|
constructor() {
|
|
547
554
|
super(...arguments), this.localize = new je(this), this.retryCount = 0, this.retryTimer = null, this.isLoaded = !1, this.isError = !1, this.isRetrying = !1, this.retryIndex = 0, this.src = "", this.srcset = "", this.sizes = "", this.placeholder = "", this.alt = "", this.objectFit = Te.Fill, this.skeleton = !1, this.fallback = !1, this.canZoom = !1, this.loading = !1, this.block = !1, this.htmlLoading = "lazy", this.noCrossorigin = !1, this.clickHandlerType = I.Automatic, this.retryOnError = !1, this.maxRetries = 10, this.isZoomed = !1, this.imageRatio = 1, this.parsedAlt = "", this.parsedAltDarkMode = "", this.zoom = null, this.lastPatchedWidth = null, Qe(this, j, "");
|
|
548
555
|
}
|
|
@@ -711,42 +718,44 @@ let n = class extends Re {
|
|
|
711
718
|
return X;
|
|
712
719
|
} else if (this.isError)
|
|
713
720
|
return X;
|
|
714
|
-
return
|
|
721
|
+
return R`<div part="content" slot="anchor" class=${S(this.highlighterClass)}>${Ie(
|
|
715
722
|
this.retryIndex,
|
|
716
|
-
|
|
723
|
+
R`<img part="image" class=${S(this.imageClass)} src=${i || this.placeholder} srcset=${w(this.srcset || void 0)} sizes=${w(this.sizes || void 0)} alt=${t} aria-label=${t} crossorigin=${w(this.crossorigin)} @load=${this.handleLoad} @error=${this.handleError} loading=${this.retryIndex > 0 ? "eager" : this.htmlLoading} decoding="async" width=${w(this.width || void 0)} height=${w(this.height || void 0)}>`
|
|
717
724
|
)}</div>`;
|
|
718
725
|
}
|
|
719
726
|
render() {
|
|
720
727
|
const i = this.hasZoomAction, t = this.currentAltValue;
|
|
721
|
-
return
|
|
728
|
+
return R`<div part="base" class=${S({
|
|
722
729
|
container: !0,
|
|
723
730
|
"container--empty": this.isEmpty,
|
|
724
731
|
"container--loading": this.loading,
|
|
725
732
|
"container--resizing": this.resizable && this.isResizeActive
|
|
726
733
|
})} style=${Me({
|
|
727
734
|
"--easing": this.easeCSSVariable
|
|
728
|
-
})} data-empty-label=${this.localize.term("emptyImage")} @click=${this.startResizing} @keydown=${this.handleKeyDown}><cx-resize-observer @cx-resize=${this.handleResize}><div part="highlighter" tabindex=${
|
|
735
|
+
})} data-empty-label=${this.localize.term("emptyImage")} @click=${this.startResizing} @keydown=${this.handleKeyDown}><cx-resize-observer @cx-resize=${this.handleResize}><div part="highlighter" tabindex=${w(this.highlighterTabindex)} role=${w(this.highlighterRole)} aria-label=${w(this.highlighterRole ? t : void 0)} aria-roledescription=${w(
|
|
736
|
+
this.highlighterRole ? this.localize.term("image") : void 0
|
|
737
|
+
)} class=${S(this.isEmpty ? {} : this.getHighlighterClass(this.isError))} @click=${this.handleClickAction} @mouseenter=${this.handleMouseEnter} @mouseleave=${this.handleMouseLeave} @blur=${this.handleBlur}>${A(
|
|
729
738
|
this.isEmpty,
|
|
730
739
|
() => X,
|
|
731
740
|
() => A(
|
|
732
741
|
this.effect === K.Jump || this.effect === K.Zoom,
|
|
733
|
-
() =>
|
|
742
|
+
() => R`<cx-popup class="popup-container" strategy="absolute" active placement="center" sync="both">${this.renderContent()}</cx-popup>`,
|
|
734
743
|
() => this.renderContent()
|
|
735
744
|
)
|
|
736
745
|
)}<div class="zoom-image-container">${A(
|
|
737
746
|
i,
|
|
738
|
-
() =>
|
|
747
|
+
() => R`<img part="zoom-image" class=${S({
|
|
739
748
|
"zoom-image": !0,
|
|
740
749
|
"zoom-image--hidden": !this.isZoomed
|
|
741
|
-
})} src=${this.applyRetryCacheBust(this.currentSrc) || this.placeholder} alt="" aria-hidden="true" decoding="async" draggable="false" crossorigin=${
|
|
742
|
-
)}</div>${A(this.showPlaceholderSkeleton, () =>
|
|
750
|
+
})} src=${this.applyRetryCacheBust(this.currentSrc) || this.placeholder} alt="" aria-hidden="true" decoding="async" draggable="false" crossorigin=${w(this.crossorigin)}>`
|
|
751
|
+
)}</div>${A(this.showPlaceholderSkeleton, () => R`<slot name="skeleton" part="skeleton"><div class=${S({
|
|
743
752
|
skeleton: !0
|
|
744
753
|
})}><cx-skeleton effect="none" role="status" aria-live="polite" aria-label=${this.localize.term("loading")}></cx-skeleton></div></slot>`)}
|
|
745
|
-
${A(this.isError, () =>
|
|
754
|
+
${A(this.isError, () => R`<slot name="fallback" part="fallback"><cx-space class=${S({ fallback: !0 })} direction="column" align-items="center" justify-content="center"><cx-icon name="hide_image" part="fallback-icon"> </cx-icon></cx-space></slot>`)}</div></cx-resize-observer>${A(this.resizable && this.isResizeActive, () => this.renderResizer())}</div>`;
|
|
746
755
|
}
|
|
747
756
|
};
|
|
748
757
|
j = /* @__PURE__ */ new WeakMap();
|
|
749
|
-
n.styles = [He,
|
|
758
|
+
n.styles = [He, Re, Xe];
|
|
750
759
|
n.dependencies = {
|
|
751
760
|
"cx-icon": _e,
|
|
752
761
|
"cx-popup": Pe,
|
|
@@ -764,16 +773,16 @@ h([
|
|
|
764
773
|
G(".highlighter")
|
|
765
774
|
], n.prototype, "highlighterElement", 2);
|
|
766
775
|
h([
|
|
767
|
-
|
|
776
|
+
C()
|
|
768
777
|
], n.prototype, "isLoaded", 2);
|
|
769
778
|
h([
|
|
770
|
-
|
|
779
|
+
C()
|
|
771
780
|
], n.prototype, "isError", 2);
|
|
772
781
|
h([
|
|
773
|
-
|
|
782
|
+
C()
|
|
774
783
|
], n.prototype, "isRetrying", 2);
|
|
775
784
|
h([
|
|
776
|
-
|
|
785
|
+
C()
|
|
777
786
|
], n.prototype, "retryIndex", 2);
|
|
778
787
|
h([
|
|
779
788
|
p({ reflect: !0, type: String })
|
|
@@ -824,16 +833,16 @@ h([
|
|
|
824
833
|
p({ attribute: "max-retries", type: Number })
|
|
825
834
|
], n.prototype, "maxRetries", 2);
|
|
826
835
|
h([
|
|
827
|
-
|
|
836
|
+
C()
|
|
828
837
|
], n.prototype, "isZoomed", 2);
|
|
829
838
|
h([
|
|
830
|
-
|
|
839
|
+
C()
|
|
831
840
|
], n.prototype, "imageRatio", 2);
|
|
832
841
|
h([
|
|
833
|
-
|
|
842
|
+
C()
|
|
834
843
|
], n.prototype, "parsedAlt", 2);
|
|
835
844
|
h([
|
|
836
|
-
|
|
845
|
+
C()
|
|
837
846
|
], n.prototype, "parsedAltDarkMode", 2);
|
|
838
847
|
h([
|
|
839
848
|
M("isLoaded"),
|
|
@@ -4,7 +4,7 @@ import { f as ot } from "./form-control.styles.CaGWmeAS.js";
|
|
|
4
4
|
import { c as lt } from "./custom-element.L4WJXn1j.js";
|
|
5
5
|
import { d as ht } from "./default-value.COZopaet.js";
|
|
6
6
|
import { F as pt } from "./form.DSsy3Fcy.js";
|
|
7
|
-
import { L as ct } from "./i18n.
|
|
7
|
+
import { L as ct } from "./i18n.CXIpdSSZ.js";
|
|
8
8
|
import { H as dt } from "./slot.j5oheLJC.js";
|
|
9
9
|
import { w as V } from "./watch.DJF5K-8U.js";
|
|
10
10
|
import { i as ft, x as E } from "./lit-element.jLBm65_O.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { C as jn, I as Yn } from "./icon-button.
|
|
1
|
+
import { C as jn, I as Yn } from "./icon-button.BBLy-yj3.js";
|
|
2
2
|
import { C as Un, n as me } from "./lib-cortex-element.CVMmyPMC.js";
|
|
3
3
|
import { c as Gn } from "./custom-element.L4WJXn1j.js";
|
|
4
|
-
import { L as Hn } from "./i18n.
|
|
4
|
+
import { L as Hn } from "./i18n.CXIpdSSZ.js";
|
|
5
5
|
import { w as Ne } from "./watch.DJF5K-8U.js";
|
|
6
6
|
import { s as Kn } from "./string.CfI2ejyR.js";
|
|
7
7
|
import { i as mt, x as Wn } from "./lit-element.jLBm65_O.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as s, C as x } from "./lib-cortex-element.CVMmyPMC.js";
|
|
2
2
|
import { c as m } from "./component.styles.CRO4Odto.js";
|
|
3
3
|
import { c as v } from "./custom-element.L4WJXn1j.js";
|
|
4
|
-
import { L as g } from "./i18n.
|
|
4
|
+
import { L as g } from "./i18n.CXIpdSSZ.js";
|
|
5
5
|
import { w as d } from "./watch.DJF5K-8U.js";
|
|
6
6
|
import { i as b, x as h } from "./lit-element.jLBm65_O.js";
|
|
7
7
|
import { r as f } from "./state.CSDxrqLd.js";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import b from "../components/space.js";
|
|
2
2
|
import { n as o, C as _ } from "./lib-cortex-element.CVMmyPMC.js";
|
|
3
|
-
import { C as P, I as y } from "./icon-button.
|
|
3
|
+
import { C as P, I as y } from "./icon-button.BBLy-yj3.js";
|
|
4
4
|
import { c as f } from "./custom-element.L4WJXn1j.js";
|
|
5
|
-
import { L as z } from "./i18n.
|
|
5
|
+
import { L as z } from "./i18n.CXIpdSSZ.js";
|
|
6
6
|
import { c as m } from "./math.DuKzLacZ.js";
|
|
7
7
|
import { w as d } from "./watch.DJF5K-8U.js";
|
|
8
8
|
import { i as C, x as s } from "./lit-element.jLBm65_O.js";
|
|
@@ -10,9 +10,9 @@ import { r as S } from "./state.CSDxrqLd.js";
|
|
|
10
10
|
import { e as $ } from "./class-map.BiVq-cVR.js";
|
|
11
11
|
import { c as x } from "./repeat.CFjcER6_.js";
|
|
12
12
|
import { n as g } from "./when.Dr1es41R.js";
|
|
13
|
-
import { C as w } from "./button.
|
|
14
|
-
import { C as v } from "./input.
|
|
15
|
-
import { C as I } from "./option.
|
|
13
|
+
import { C as w } from "./button.CrhpoXK8.js";
|
|
14
|
+
import { C as v } from "./input.B1JamaTE.js";
|
|
15
|
+
import { C as I } from "./option.DmQWgEVq.js";
|
|
16
16
|
import B from "../components/select.js";
|
|
17
17
|
import N from "../components/tooltip.js";
|
|
18
18
|
import { C as k } from "./typography.IqHbnd3C.js";
|
|
@@ -2,7 +2,7 @@ import zn from "../components/resize-observer.js";
|
|
|
2
2
|
import { n as wt, C as Bn } from "./lib-cortex-element.CVMmyPMC.js";
|
|
3
3
|
import { c as Fn } from "./component.styles.CRO4Odto.js";
|
|
4
4
|
import { c as Nn } from "./custom-element.L4WJXn1j.js";
|
|
5
|
-
import { L as Ln } from "./i18n.
|
|
5
|
+
import { L as Ln } from "./i18n.CXIpdSSZ.js";
|
|
6
6
|
import { s as Zi } from "./scroll.xtO5yojm.js";
|
|
7
7
|
import { w as ft } from "./watch.DJF5K-8U.js";
|
|
8
8
|
import { i as $n } from "./dom.gRV2cDjL.js";
|
|
@@ -17,9 +17,9 @@ import { i as Ji } from "./guard.D4axKaMo.js";
|
|
|
17
17
|
import { o as tr } from "./map.D8heArFD.js";
|
|
18
18
|
import { o as Ve } from "./style-map.llVFPd__.js";
|
|
19
19
|
import { n as Pe } from "./when.Dr1es41R.js";
|
|
20
|
-
import { C as Yn } from "./button.
|
|
20
|
+
import { C as Yn } from "./button.CrhpoXK8.js";
|
|
21
21
|
import Xn from "../components/dropdown.js";
|
|
22
|
-
import { C as qn } from "./icon-button.
|
|
22
|
+
import { C as qn } from "./icon-button.BBLy-yj3.js";
|
|
23
23
|
import Gn from "../components/menu.js";
|
|
24
24
|
import Kn from "../components/menu-item.js";
|
|
25
25
|
import jn from "../components/tab.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { C as F, n as l } from "./lib-cortex-element.CVMmyPMC.js";
|
|
2
2
|
import { c as O } from "./component.styles.CRO4Odto.js";
|
|
3
3
|
import { c as U } from "./custom-element.L4WJXn1j.js";
|
|
4
|
-
import { L as N } from "./i18n.
|
|
4
|
+
import { L as N } from "./i18n.CXIpdSSZ.js";
|
|
5
5
|
import { c as X } from "./math.DuKzLacZ.js";
|
|
6
6
|
import { w as b } from "./watch.DJF5K-8U.js";
|
|
7
7
|
import { i as R, x as m, E } from "./lit-element.jLBm65_O.js";
|
|
@@ -2,7 +2,7 @@ import { n as s, C as x } from "../chunks/lib-cortex-element.CVMmyPMC.js";
|
|
|
2
2
|
import { c as b } from "../chunks/component.styles.CRO4Odto.js";
|
|
3
3
|
import { s as u, a as p, w as m } from "../chunks/event.BeKOsirN.js";
|
|
4
4
|
import { c as y } from "../chunks/custom-element.L4WJXn1j.js";
|
|
5
|
-
import { L as C } from "../chunks/i18n.
|
|
5
|
+
import { L as C } from "../chunks/i18n.CXIpdSSZ.js";
|
|
6
6
|
import { H as T } from "../chunks/slot.j5oheLJC.js";
|
|
7
7
|
import { w } from "../chunks/watch.DJF5K-8U.js";
|
|
8
8
|
import { i as I, x as h } from "../chunks/lit-element.jLBm65_O.js";
|
|
@@ -10,7 +10,7 @@ import { r as A } from "../chunks/state.CSDxrqLd.js";
|
|
|
10
10
|
import { e as g } from "../chunks/query.BBf1UFkC.js";
|
|
11
11
|
import { e as v } from "../chunks/class-map.BiVq-cVR.js";
|
|
12
12
|
import { s as _, g as f } from "../chunks/animation-registry.HmpwNuGH.js";
|
|
13
|
-
import { C as H } from "../chunks/icon-button.
|
|
13
|
+
import { C as H } from "../chunks/icon-button.BBLy-yj3.js";
|
|
14
14
|
const k = I`:host{margin:0;display:contents}.alert{background-color:var(--cx-panel-background-color);border:solid var(--cx-panel-border-width) var(--cx-panel-border-color);border-top-width:calc(var(--cx-panel-border-width) * 3);border-radius:var(--cx-border-radius-small);font-family:var(--cx-font-sans);font-size:var(--cx-font-size-small);font-weight:var(--cx-font-weight-regular);color:var(--cx-color-neutral-700);margin:inherit;align-items:stretch;line-height:1.6;display:flex;position:relative;overflow:hidden}.alert:not(.alert--has-icon) .alert__icon,.alert:not(.alert--closable) .alert__close-button{display:none}.alert__icon{font-size:var(--cx-font-size-large);flex:none;align-items:center;padding-inline-start:var(--cx-spacing-large);display:flex}.alert--has-countdown{border-bottom:none}.alert--primary{border-top-color:var(--cx-color-primary)}.alert--primary .alert__icon{color:var(--cx-color-primary)}.alert--success{border-top-color:var(--cx-color-success)}.alert--success .alert__icon{color:var(--cx-color-success)}.alert--neutral{border-top-color:var(--cx-color-neutral)}.alert--neutral .alert__icon{color:var(--cx-color-neutral)}.alert--warning{border-top-color:var(--cx-color-warning)}.alert--warning .alert__icon{color:var(--cx-color-warning)}.alert--danger{border-top-color:var(--cx-color-danger)}.alert--danger .alert__icon{color:var(--cx-color-danger)}.alert__message{padding:var(--cx-spacing-large);flex:auto;display:block;overflow:hidden}.alert__close-button{font-size:var(--cx-font-size-medium);flex:none;align-items:center;padding-inline-end:var(--cx-spacing-medium);display:flex}.alert__countdown{width:100%;height:calc(var(--cx-panel-border-width) * 3);background-color:var(--cx-panel-border-color);display:flex;position:absolute;bottom:0;left:0}.alert__countdown--ltr{justify-content:flex-end}.alert__countdown .alert__countdown-elapsed{width:0;height:100%}.alert--primary .alert__countdown-elapsed{background-color:var(--cx-color-primary)}.alert--success .alert__countdown-elapsed{background-color:var(--cx-color-success)}.alert--neutral .alert__countdown-elapsed{background-color:var(--cx-color-neutral-600)}.alert--warning .alert__countdown-elapsed{background-color:var(--cx-color-warning)}.alert--danger .alert__countdown-elapsed{background-color:var(--cx-color-danger)}.alert__timer{display:none}`;
|
|
15
15
|
var z = Object.defineProperty, $ = Object.getOwnPropertyDescriptor, t = (r, o, n, l) => {
|
|
16
16
|
for (var a = l > 1 ? void 0 : l ? $(o, n) : o, c = r.length - 1, d; c >= 0; c--)
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import "./cropper.js";
|
|
2
|
-
import "../chunks/button.
|
|
2
|
+
import "../chunks/button.CrhpoXK8.js";
|
|
3
3
|
import "./space.js";
|
|
4
4
|
import "../chunks/typography.IqHbnd3C.js";
|
|
5
5
|
import "../chunks/lib-cortex-element.CVMmyPMC.js";
|
|
6
|
-
import { C as h } from "../chunks/asset-link-format.
|
|
6
|
+
import { C as h } from "../chunks/asset-link-format.ofivwxXM.js";
|
|
7
7
|
import "../chunks/component.styles.CRO4Odto.js";
|
|
8
8
|
import "../chunks/asset-link-format.ClaYu_v8.js";
|
|
9
9
|
import "../chunks/position-picker.DjnhxIKF.js";
|
|
10
10
|
import "../chunks/custom-element.L4WJXn1j.js";
|
|
11
|
-
import "../chunks/i18n.
|
|
11
|
+
import "../chunks/i18n.CXIpdSSZ.js";
|
|
12
12
|
import "../chunks/watch.DJF5K-8U.js";
|
|
13
13
|
import "../chunks/number.Cx2ncfJJ.js";
|
|
14
14
|
import "../chunks/transformation.Bjs3TBPd.js";
|