@orangelogic/design-system 3.18.0 → 3.20.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.Bk1qHIQA.js → asset-link-format.BnE0FbUH.js} +6 -6
- package/library/chunks/{button.DCyoZrRj.js → button.D1YIxtv-.js} +1 -1
- package/library/chunks/{color-swatch-group.BtVbKp-v.js → color-swatch-group.GEu5gVrg.js} +4788 -4335
- package/library/chunks/{color-swatch.DxxOpJXT.js → color-swatch.DdsUysbF.js} +1 -1
- package/library/chunks/{confirm-popover.-_1n24v-.js → confirm-popover.CJXyEa5A.js} +3 -3
- package/library/chunks/{dialog.Dl9aHLD4.js → dialog.BbQ4Du0M.js} +2 -2
- package/library/chunks/{document-viewer.B-jtpLuD.js → document-viewer.Bkf3JbWk.js} +7 -7
- package/library/chunks/{dot-pagination.BNoG-qx7.js → dot-pagination.CJRAtM51.js} +1 -1
- package/library/chunks/{folder-select.DWaC4EWa.js → folder-select.D8_6pC8Y.js} +4 -4
- package/library/chunks/gradient.CIzq8fOU.js +176 -0
- package/library/chunks/{header.v8maWlzT.js → header.BioJzPlg.js} +1 -1
- package/library/chunks/{i18n.CNnI4-0K.js → i18n.rtxrs1c1.js} +11 -3
- package/library/chunks/{icon-button.5-oAlIkv.js → icon-button.CbUddcgI.js} +1 -1
- package/library/chunks/{iframe.DOwG9Q7o.js → iframe.y7iCAVZP.js} +1 -1
- package/library/chunks/{image.BSh7WAGF.js → image.A2hE1WoV.js} +1 -1
- package/library/chunks/{index.Byin4Jfx.js → index.Ct-dh3Y5.js} +14 -14
- package/library/chunks/{input.Csf-S2nB.js → input.D1FFprPl.js} +1 -1
- package/library/chunks/{markdown.b03AOvFT.js → markdown.Dd_GFJK8.js} +2 -2
- package/library/chunks/{menu-item.HtTWOcq4.js → menu-item.0TbnDEDp.js} +1 -1
- package/library/chunks/{option.DgxoCq1j.js → option.CyorNG0S.js} +17 -17
- package/library/chunks/{pagination.C9NblxKt.js → pagination.D0BeaEIi.js} +5 -5
- package/library/chunks/{tab-group.B6Aej-jM.js → tab-group.C98CWzEH.js} +4 -4
- package/library/chunks/{toast.BxiewnAG.js → toast.CGIDPKV8.js} +1 -1
- package/library/chunks/{transformation.CjWnFhab.js → transformation.OaRYixzE.js} +11 -12
- package/library/chunks/{tree.pId63hLe.js → tree.DB-QLic1.js} +4 -7
- package/library/chunks/{types.Fkwo_sYp.js → types.DrJgdbwu.js} +13853 -14165
- package/library/components/alert.js +2 -2
- package/library/components/asset-link-format.js +4 -4
- package/library/components/atoms.js +15 -15
- package/library/components/audio.js +3 -3
- 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 +971 -337
- package/library/components/color-swatch-group.js +5 -5
- 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 +2 -2
- package/library/components/menu.js +2 -2
- package/library/components/molecules.js +3 -3
- package/library/components/mutation-observer.js +1 -1
- 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 +5 -5
- 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 +209 -200
- package/library/components/video.js +3 -3
- package/library/package.json +1 -1
- package/library/packages/atoms/src/components/audio/audio.d.ts +0 -1
- package/library/packages/atoms/src/components/color-picker/color-picker.d.ts +160 -2
- package/library/packages/atoms/src/components/color-picker/components/gradient-slider/gradient-slider.d.ts +80 -0
- package/library/packages/atoms/src/components/color-picker/components/gradient-slider/gradient-slider.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/color-picker/components/gradient-stop-list/gradient-stop-list.d.ts +85 -0
- package/library/packages/atoms/src/components/color-picker/components/gradient-stop-list/gradient-stop-list.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/input/input.d.ts +1 -1
- package/library/packages/atoms/src/components/option/option.d.ts +1 -1
- package/library/packages/atoms/src/components/tree/tree.d.ts +2 -2
- package/library/packages/atoms/src/components/video/video.d.ts +0 -1
- package/library/packages/events/src/cx-gradient-change.d.ts +10 -0
- package/library/packages/events/src/cx-gradient-stop-add.d.ts +9 -0
- package/library/packages/events/src/cx-gradient-stop-change.d.ts +10 -0
- package/library/packages/events/src/cx-gradient-stop-remove.d.ts +8 -0
- package/library/packages/events/src/cx-gradient-stop-select.d.ts +8 -0
- package/library/packages/events/src/cx-keydown.d.ts +4 -1
- package/library/packages/events/src/events.d.ts +5 -0
- package/library/packages/molecules/src/multi-select/components/board/board.d.ts +58 -2
- package/library/packages/molecules/src/multi-select/components/board-list-item/board-list-item.d.ts +14 -0
- package/library/packages/molecules/src/multi-select/controllers/filter-controller.d.ts +68 -0
- package/library/packages/molecules/src/multi-select/multi-select.d.ts +211 -0
- package/library/packages/molecules/src/multi-select/utils/base.d.ts +44 -0
- package/library/packages/molecules/src/multi-select/utils/reconcile.d.ts +57 -0
- package/library/packages/organisms/src/bento-grid/bento-grid.d.ts +11 -32
- package/library/packages/organisms/src/content-builder/blocks/audio/audio.d.ts +0 -1
- package/library/packages/organisms/src/content-builder/blocks/image/image.d.ts +4 -27
- package/library/packages/organisms/src/content-builder/content-builder-constants.d.ts +0 -12
- package/library/packages/organisms/src/content-builder/content-builder.d.ts +0 -150
- package/library/packages/organisms/src/content-builder/content-builder.utils.d.ts +0 -20
- package/library/packages/organisms/src/content-builder/plugins/wrapper-container.d.ts +0 -11
- package/library/packages/organisms/src/content-builder-viewer/content-builder-viewer.d.ts +2 -10
- package/library/packages/types/src/board.d.ts +25 -0
- package/library/packages/types/src/color-picker.d.ts +35 -2
- package/library/packages/utils/src/custom-element/i18n.d.ts +8 -0
- package/library/packages/utils/src/gradient/gradient.d.ts +65 -0
- package/library/packages/utils/src/gradient/index.d.ts +1 -0
- package/library/packages/utils/src/index.d.ts +1 -0
- package/library/packages/utils/src/transformation/transformation.d.ts +0 -2
- package/library/react-web-component.d.ts +493 -473
- package/library/utils.js +127 -118
- package/package.json +1 -1
- package/library/packages/molecules/src/multi-select/multi-select.utils.d.ts +0 -3
|
@@ -8,7 +8,7 @@ import { c as F } from "./component.styles.CAS3c9pM.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.rtxrs1c1.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.D1YIxtv-.js";
|
|
2
|
+
import { C as u, D as h } from "./dialog.BbQ4Du0M.js";
|
|
3
3
|
import g from "../components/dropdown.js";
|
|
4
4
|
import { C as x } from "./typography.T72DuoCa.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.CAS3c9pM.js";
|
|
7
7
|
import { c as w } from "./custom-element.L4WJXn1j.js";
|
|
8
|
-
import { L as $ } from "./i18n.
|
|
8
|
+
import { L as $ } from "./i18n.rtxrs1c1.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.CAS3c9pM.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.rtxrs1c1.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.CbUddcgI.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,12 +1,12 @@
|
|
|
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.D1YIxtv-.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.BLXWp6CU.js";
|
|
6
|
-
import { C as CxIconButton } from "./icon-button.
|
|
7
|
-
import { C as CxInput } from "./input.
|
|
6
|
+
import { C as CxIconButton } from "./icon-button.CbUddcgI.js";
|
|
7
|
+
import { C as CxInput } from "./input.D1FFprPl.js";
|
|
8
8
|
import CxMenu from "../components/menu.js";
|
|
9
|
-
import { C as CxMenuItem } from "./menu-item.
|
|
9
|
+
import { C as CxMenuItem } from "./menu-item.0TbnDEDp.js";
|
|
10
10
|
import CxPopup from "../components/popup.js";
|
|
11
11
|
import CxProgressBar from "../components/progress-bar.js";
|
|
12
12
|
import CxResizeObserver from "../components/resize-observer.js";
|
|
@@ -19,11 +19,11 @@ 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.DN2v7-DH.js";
|
|
22
|
-
import { L as LocalizeController } from "./i18n.
|
|
22
|
+
import { L as LocalizeController } from "./i18n.rtxrs1c1.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";
|
|
26
|
-
import { f as fetchCortexApi } from "./transformation.
|
|
26
|
+
import { f as fetchCortexApi } from "./transformation.OaRYixzE.js";
|
|
27
27
|
import "./unsafe-html.Dff7-rCx.js";
|
|
28
28
|
import { r as reactExports, a as React, j as jsxRuntimeExports, w, R as ReactDOM } from "./jsx-runtime.CTpPVMxj.js";
|
|
29
29
|
import { a as getDefaultExportFromCjs, c as commonjsGlobal } from "./_commonjsHelpers.DQNKXVTB.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.A2hE1WoV.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.CAS3c9pM.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.rtxrs1c1.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.BLXWp6CU.js";
|
|
2
|
-
import { C as me } from "./input.
|
|
2
|
+
import { C as me } from "./input.D1FFprPl.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.DB-QLic1.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.CAS3c9pM.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.rtxrs1c1.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.Demn8Xmk.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.D1YIxtv-.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";
|
|
@@ -0,0 +1,176 @@
|
|
|
1
|
+
import { T as f } from "./index.C1chwzNp.js";
|
|
2
|
+
var E = /* @__PURE__ */ ((n) => (n.Hex = "hex", n.Hsl = "hsl", n.Hsv = "hsv", n.Rgb = "rgb", n))(E || {}), h = /* @__PURE__ */ ((n) => (n.Linear = "linear", n.Radial = "radial", n))(h || {}), I = /* @__PURE__ */ ((n) => (n.Gradient = "gradient", n.Solid = "solid", n))(I || {});
|
|
3
|
+
const G = /^(linear|radial)-gradient\s*\(/i, m = {
|
|
4
|
+
"to bottom": 180,
|
|
5
|
+
"to bottom left": 225,
|
|
6
|
+
"to bottom right": 135,
|
|
7
|
+
"to left": 270,
|
|
8
|
+
"to right": 90,
|
|
9
|
+
"to top": 0,
|
|
10
|
+
"to top left": 315,
|
|
11
|
+
"to top right": 45
|
|
12
|
+
}, M = {
|
|
13
|
+
deg: 1,
|
|
14
|
+
grad: 0.9,
|
|
15
|
+
rad: 180 / Math.PI,
|
|
16
|
+
turn: 360
|
|
17
|
+
}, D = 2;
|
|
18
|
+
let b = 0;
|
|
19
|
+
function L() {
|
|
20
|
+
return b += 1, `gradient-stop-${b}`;
|
|
21
|
+
}
|
|
22
|
+
function R(n, t) {
|
|
23
|
+
const e = [];
|
|
24
|
+
let r = 0, o = 0;
|
|
25
|
+
for (let i = 0; i < n.length; i++) {
|
|
26
|
+
const s = n[i];
|
|
27
|
+
if (s === "(") {
|
|
28
|
+
r++;
|
|
29
|
+
continue;
|
|
30
|
+
}
|
|
31
|
+
if (s === ")") {
|
|
32
|
+
r = Math.max(0, r - 1);
|
|
33
|
+
continue;
|
|
34
|
+
}
|
|
35
|
+
s === t && r === 0 && (e.push(n.slice(o, i).trim()), o = i + 1);
|
|
36
|
+
}
|
|
37
|
+
return e.push(n.slice(o).trim()), e.filter((i) => i !== "");
|
|
38
|
+
}
|
|
39
|
+
function N(n) {
|
|
40
|
+
const t = n.indexOf("(");
|
|
41
|
+
if (t === -1)
|
|
42
|
+
return null;
|
|
43
|
+
let e = 0;
|
|
44
|
+
for (let r = t; r < n.length; r++) {
|
|
45
|
+
const o = n[r];
|
|
46
|
+
if (o === "(") {
|
|
47
|
+
e++;
|
|
48
|
+
continue;
|
|
49
|
+
}
|
|
50
|
+
if (o === ")" && (e--, e === 0))
|
|
51
|
+
return n.slice(t + 1, r).trim();
|
|
52
|
+
}
|
|
53
|
+
return null;
|
|
54
|
+
}
|
|
55
|
+
function x(n) {
|
|
56
|
+
const t = n % 360;
|
|
57
|
+
return t < 0 ? t + 360 : t;
|
|
58
|
+
}
|
|
59
|
+
function P(n) {
|
|
60
|
+
const t = n.trim().toLowerCase();
|
|
61
|
+
if (t in m)
|
|
62
|
+
return m[t];
|
|
63
|
+
if (t.startsWith("to ")) {
|
|
64
|
+
const r = t.slice(3).split(/\s+/).sort().join(" "), o = Object.keys(m).find(
|
|
65
|
+
(i) => i.slice(3).split(/\s+/).sort().join(" ") === r
|
|
66
|
+
);
|
|
67
|
+
return o === void 0 ? null : m[o];
|
|
68
|
+
}
|
|
69
|
+
const e = t.match(/^(-?\d*\.?\d+)(deg|grad|rad|turn)?$/);
|
|
70
|
+
if (e) {
|
|
71
|
+
const r = Number.parseFloat(e[1]), o = e[2] ?? "deg";
|
|
72
|
+
return x(r * M[o]);
|
|
73
|
+
}
|
|
74
|
+
return null;
|
|
75
|
+
}
|
|
76
|
+
function T(n) {
|
|
77
|
+
const t = n.trim().toLowerCase();
|
|
78
|
+
return t.startsWith("circle") || t.startsWith("ellipse") || t.startsWith("at ") || t.startsWith("closest-") || t.startsWith("farthest-");
|
|
79
|
+
}
|
|
80
|
+
function _(n) {
|
|
81
|
+
const t = R(n, " ");
|
|
82
|
+
if (t.length === 0)
|
|
83
|
+
return null;
|
|
84
|
+
const r = t[t.length - 1].match(/^(-?\d*\.?\d+)%$/), o = r !== null && t.length > 1, i = o ? t.slice(0, -1).join(" ") : t.join(" ");
|
|
85
|
+
return new f(i).isValid ? {
|
|
86
|
+
color: i,
|
|
87
|
+
position: o ? Number.parseFloat(r[1]) : null
|
|
88
|
+
} : null;
|
|
89
|
+
}
|
|
90
|
+
function $(n) {
|
|
91
|
+
const t = [...n];
|
|
92
|
+
t[0] === null && (t[0] = 0), t[t.length - 1] === null && (t[t.length - 1] = 100);
|
|
93
|
+
let e = 0;
|
|
94
|
+
for (; e < t.length; ) {
|
|
95
|
+
if (t[e] !== null) {
|
|
96
|
+
e++;
|
|
97
|
+
continue;
|
|
98
|
+
}
|
|
99
|
+
let o = e;
|
|
100
|
+
for (; o < t.length && t[o] === null; )
|
|
101
|
+
o++;
|
|
102
|
+
const i = t[e - 1], s = t[o], c = o - e + 1, u = (s - i) / c;
|
|
103
|
+
for (let l = 0; e + l < o; l++)
|
|
104
|
+
t[e + l] = i + u * (l + 1);
|
|
105
|
+
e = o;
|
|
106
|
+
}
|
|
107
|
+
let r = t[0];
|
|
108
|
+
return t.map((o) => (r = Math.max(r, o), r));
|
|
109
|
+
}
|
|
110
|
+
function S(n) {
|
|
111
|
+
return [...n].sort((t, e) => t.position - e.position);
|
|
112
|
+
}
|
|
113
|
+
function W(n) {
|
|
114
|
+
return typeof n == "string" && G.test(n.trim());
|
|
115
|
+
}
|
|
116
|
+
function y(n) {
|
|
117
|
+
if (!W(n))
|
|
118
|
+
return null;
|
|
119
|
+
const t = n.trim(), e = /^linear/i.test(t) ? h.Linear : h.Radial, r = N(t);
|
|
120
|
+
if (r === null)
|
|
121
|
+
return null;
|
|
122
|
+
const o = R(r, ",");
|
|
123
|
+
if (o.length === 0)
|
|
124
|
+
return null;
|
|
125
|
+
let i = e === h.Linear ? 180 : 0, s = o;
|
|
126
|
+
const c = P(o[0]);
|
|
127
|
+
c !== null ? (i = c, s = o.slice(1)) : T(o[0]) && (s = o.slice(1));
|
|
128
|
+
const u = s.map(_);
|
|
129
|
+
if (u.some((a) => a === null))
|
|
130
|
+
return null;
|
|
131
|
+
const l = u;
|
|
132
|
+
if (l.length < D)
|
|
133
|
+
return null;
|
|
134
|
+
const p = $(
|
|
135
|
+
l.map((a) => a.position)
|
|
136
|
+
), d = l.map((a, g) => ({
|
|
137
|
+
color: a.color,
|
|
138
|
+
id: L(),
|
|
139
|
+
position: p[g]
|
|
140
|
+
}));
|
|
141
|
+
return { angle: i, stops: S(d), type: e };
|
|
142
|
+
}
|
|
143
|
+
function A(n) {
|
|
144
|
+
const t = S(n.stops).map((r) => `${r.color} ${Math.round(r.position)}%`).join(", ");
|
|
145
|
+
return n.type === h.Radial ? `radial-gradient(circle at center, ${t})` : `linear-gradient(${Math.round(x(n.angle))}deg, ${t})`;
|
|
146
|
+
}
|
|
147
|
+
function C(n, t) {
|
|
148
|
+
if (n.length === 0)
|
|
149
|
+
return "";
|
|
150
|
+
const e = S(n), r = e[0], o = e[e.length - 1];
|
|
151
|
+
if (t <= r.position)
|
|
152
|
+
return new f(r.color).toRgbString();
|
|
153
|
+
if (t >= o.position)
|
|
154
|
+
return new f(o.color).toRgbString();
|
|
155
|
+
const i = e.findIndex((g) => g.position >= t), s = e[i], c = e[i - 1], u = s.position - c.position, l = u === 0 ? 1 : (t - c.position) / u, p = new f(c.color).toRgb(), d = new f(s.color).toRgb(), a = (g, w) => Math.round(g + (w - g) * l);
|
|
156
|
+
return new f({
|
|
157
|
+
a: p.a + (d.a - p.a) * l,
|
|
158
|
+
b: a(p.b, d.b),
|
|
159
|
+
g: a(p.g, d.g),
|
|
160
|
+
r: a(p.r, d.r)
|
|
161
|
+
}).toRgbString();
|
|
162
|
+
}
|
|
163
|
+
export {
|
|
164
|
+
E as C,
|
|
165
|
+
h as G,
|
|
166
|
+
D as M,
|
|
167
|
+
I as a,
|
|
168
|
+
A as b,
|
|
169
|
+
L as c,
|
|
170
|
+
R as d,
|
|
171
|
+
C as e,
|
|
172
|
+
W as i,
|
|
173
|
+
x as n,
|
|
174
|
+
y as p,
|
|
175
|
+
S as s
|
|
176
|
+
};
|
|
@@ -3,7 +3,7 @@ import { n as c, C as b } from "./lib-cortex-element.CVMmyPMC.js";
|
|
|
3
3
|
import { c as k } from "./component.styles.CAS3c9pM.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.rtxrs1c1.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";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { p as v } from "./purify.es.BIuh5IAZ.js";
|
|
2
|
-
const S = /* @__PURE__ */ new Set(["weekday", "era", "year", "month", "day"]),
|
|
2
|
+
const S = /* @__PURE__ */ new Set(["weekday", "era", "year", "month", "day"]), A = /* @__PURE__ */ new Set(["hour", "minute", "second", "dayPeriod", "timeZoneName"]), u = /* @__PURE__ */ new Set(), T = new MutationObserver(y), n = /* @__PURE__ */ new Map(), g = /* @__PURE__ */ new Map();
|
|
3
3
|
let h = document.documentElement.dir || "ltr", f = document.documentElement.lang || navigator.language, r;
|
|
4
|
-
|
|
4
|
+
T.observe(document.documentElement, {
|
|
5
5
|
attributeFilter: ["dir", "lang"],
|
|
6
6
|
attributes: !0
|
|
7
7
|
});
|
|
@@ -110,7 +110,7 @@ let C = class {
|
|
|
110
110
|
if (s.type !== "literal")
|
|
111
111
|
return s.value;
|
|
112
112
|
const c = a[d - 1], l = a[d + 1];
|
|
113
|
-
return c != null && S.has(c.type) && l != null &&
|
|
113
|
+
return c != null && S.has(c.type) && l != null && A.has(l.type) ? " " : s.value;
|
|
114
114
|
}).join("");
|
|
115
115
|
}
|
|
116
116
|
/** Outputs a localized number in the specified format. */
|
|
@@ -161,6 +161,7 @@ const b = {
|
|
|
161
161
|
addControl: "Add control",
|
|
162
162
|
addCurrent: "Add current",
|
|
163
163
|
addFolderCard: "Add folder card",
|
|
164
|
+
addGradientStop: "Add stop",
|
|
164
165
|
addLimitExceeded: (e) => `Cannot add more than ${e} fields at a time. Please modify your selection. Then add another set of fields.`,
|
|
165
166
|
addMarker: "Add marker",
|
|
166
167
|
addPageCard: "Add page card",
|
|
@@ -634,6 +635,10 @@ const b = {
|
|
|
634
635
|
goToFirstPage: "Go to first page",
|
|
635
636
|
goToLastPage: "Go to last page",
|
|
636
637
|
goToSlide: (e, t) => `Go to slide ${e} of ${t}`,
|
|
638
|
+
gradient: "Gradient",
|
|
639
|
+
gradientAngle: "Gradient angle",
|
|
640
|
+
gradientStopNumber: (e) => `Color stop ${e}`,
|
|
641
|
+
gradientStops: "Gradient color stops",
|
|
637
642
|
grid: "Grid",
|
|
638
643
|
groupBy: "Group by",
|
|
639
644
|
guttersWidth: "Gutters width",
|
|
@@ -644,6 +649,7 @@ const b = {
|
|
|
644
649
|
height: "Height",
|
|
645
650
|
heightMode: "Height mode",
|
|
646
651
|
help: "Help",
|
|
652
|
+
hex: "Hex",
|
|
647
653
|
hideCode: "Hide code",
|
|
648
654
|
hideColumn: "Hide column",
|
|
649
655
|
hidePassword: "Hide password",
|
|
@@ -947,6 +953,7 @@ const b = {
|
|
|
947
953
|
quality: "Quality",
|
|
948
954
|
qualityHelpText: "From 1 to 100. 1 = Worst. 100 = Best. Supported Image Formats: JPG, JPEG.",
|
|
949
955
|
quote: "Quote",
|
|
956
|
+
radial: "Radial",
|
|
950
957
|
radixPoint: "Radix Point",
|
|
951
958
|
read: "read",
|
|
952
959
|
readingMode: "Reading mode",
|
|
@@ -962,6 +969,7 @@ const b = {
|
|
|
962
969
|
remove: "Remove",
|
|
963
970
|
removeBlock: "Remove block",
|
|
964
971
|
removeFolder: (e) => e > 1 ? `Remove ${e} folders` : "Remove folder",
|
|
972
|
+
removeGradientStop: "Remove color stop",
|
|
965
973
|
renderAudio: "Render audio",
|
|
966
974
|
replace: "Replace",
|
|
967
975
|
replaceAll: "Replace all",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as r, C as p } from "./lib-cortex-element.CVMmyPMC.js";
|
|
2
2
|
import { c as g } from "./component.styles.CAS3c9pM.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.rtxrs1c1.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.CAS3c9pM.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.rtxrs1c1.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";
|
|
@@ -3,7 +3,7 @@ import { c as He } from "./component.styles.CAS3c9pM.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.rtxrs1c1.js";
|
|
7
7
|
import { w as M } from "./watch.DJF5K-8U.js";
|
|
8
8
|
import { a as Ze } from "./url.CGdWC06g.js";
|
|
9
9
|
import { i as se, E as X, x as L } from "./lit-element.jLBm65_O.js";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { C as Q } from "./typography.T72DuoCa.js";
|
|
2
2
|
import { n as y, C as ee } from "./lib-cortex-element.CVMmyPMC.js";
|
|
3
3
|
import { c as ae } from "./component.styles.CAS3c9pM.js";
|
|
4
|
-
import { C as Ee, s as ve, F as Z, a as Ce } from "./folder-select.
|
|
5
|
-
import { e as U, r as n1, S as m1, E as le } from "./transformation.
|
|
4
|
+
import { C as Ee, s as ve, F as Z, a as Ce } from "./folder-select.D8_6pC8Y.js";
|
|
5
|
+
import { e as U, r as n1, S as m1, E as le } from "./transformation.OaRYixzE.js";
|
|
6
6
|
import { c as ie } from "./custom-element.L4WJXn1j.js";
|
|
7
|
-
import { L as W } from "./i18n.
|
|
7
|
+
import { L as W } from "./i18n.rtxrs1c1.js";
|
|
8
8
|
import { w as O } from "./watch.DJF5K-8U.js";
|
|
9
9
|
import { B as c1, E as ue, i as te, x as g } from "./lit-element.jLBm65_O.js";
|
|
10
10
|
import { r as u } from "./state.CSDxrqLd.js";
|
|
@@ -13,22 +13,22 @@ import { b as Ke } from "./_baseIteratee.sC2wLi2m.js";
|
|
|
13
13
|
import { a as d1 } from "./toString.B1zKIiZc.js";
|
|
14
14
|
import { b as s1 } from "./cloneDeep.tKGbEwzn.js";
|
|
15
15
|
import { c as o1 } from "./_baseClone.ipmFlCAx.js";
|
|
16
|
-
import { I as je, C as Ve, a as h1, b as He, S as z, D as g1, c as l1, A as Ie, g as C1, i as y1, F as x1, d as b1, t as k1, e as p1, f as u1, h as f1, j as A1, k as B1, l as D1, m as F1, n as E1, o as v1, p as $1, q as w1, r as S1, O as _1 } from "./types.
|
|
17
|
-
import { C as ce } from "./button.
|
|
16
|
+
import { I as je, C as Ve, a as h1, b as He, S as z, D as g1, c as l1, A as Ie, g as C1, i as y1, F as x1, d as b1, t as k1, e as p1, f as u1, h as f1, j as A1, k as B1, l as D1, m as F1, n as E1, o as v1, p as $1, q as w1, r as S1, O as _1 } from "./types.DrJgdbwu.js";
|
|
17
|
+
import { C as ce } from "./button.D1YIxtv-.js";
|
|
18
18
|
import I1 from "../components/button-group.js";
|
|
19
19
|
import P1 from "../components/card.js";
|
|
20
20
|
import Ue from "../components/checkbox.js";
|
|
21
|
-
import { C as se, D as fe, O as We, a as T1, H as R1, z as z1, o as L1 } from "./dialog.
|
|
21
|
+
import { C as se, D as fe, O as We, a as T1, H as R1, z as z1, o as L1 } from "./dialog.BbQ4Du0M.js";
|
|
22
22
|
import Je from "../components/divider.js";
|
|
23
23
|
import q1 from "../components/dropdown.js";
|
|
24
24
|
import $e from "../components/grid.js";
|
|
25
25
|
import we from "../components/grid-item.js";
|
|
26
26
|
import { C as O1 } from "./icon.BLXWp6CU.js";
|
|
27
|
-
import { C as oe } from "./input.
|
|
27
|
+
import { C as oe } from "./input.D1FFprPl.js";
|
|
28
28
|
import M1 from "../components/line-clamp.js";
|
|
29
29
|
import N1 from "../components/menu.js";
|
|
30
|
-
import { C as G1 } from "./menu-item.
|
|
31
|
-
import { C as Ye, a as K1 } from "./option.
|
|
30
|
+
import { C as G1 } from "./menu-item.0TbnDEDp.js";
|
|
31
|
+
import { C as Ye, a as K1 } from "./option.CyorNG0S.js";
|
|
32
32
|
import Xe from "../components/radio.js";
|
|
33
33
|
import j1 from "../components/radio-card.js";
|
|
34
34
|
import Ze from "../components/radio-group.js";
|
|
@@ -36,14 +36,14 @@ import Se from "../components/select.js";
|
|
|
36
36
|
import de from "../components/space.js";
|
|
37
37
|
import V1 from "../components/switch.js";
|
|
38
38
|
import H1 from "../components/tab.js";
|
|
39
|
-
import { C as U1 } from "./tab-group.
|
|
39
|
+
import { C as U1 } from "./tab-group.C98CWzEH.js";
|
|
40
40
|
import W1 from "../components/tab-panel.js";
|
|
41
41
|
import J1 from "../components/textarea.js";
|
|
42
42
|
import Y1 from "../components/tooltip.js";
|
|
43
43
|
import X1 from "../components/visually-hidden.js";
|
|
44
44
|
import Z1 from "../components/bicolor-picker.js";
|
|
45
45
|
import Q1 from "../components/border-input-group.js";
|
|
46
|
-
import { C as e0, a as a0 } from "./confirm-popover
|
|
46
|
+
import { C as e0, a as a0 } from "./confirm-popover.CJXyEa5A.js";
|
|
47
47
|
import i0 from "../components/corner-position-input-group.js";
|
|
48
48
|
import Qe from "../components/dynamic-select.js";
|
|
49
49
|
import t0 from "../components/padding-input-group.js";
|
|
@@ -59,11 +59,11 @@ import { n as v } from "./when.Dr1es41R.js";
|
|
|
59
59
|
import { a as l0 } from "./_baseXor.DixEm6JQ.js";
|
|
60
60
|
import { a as C0, i as Le, b as y0 } from "./isArrayLikeObject.D7afXo-f.js";
|
|
61
61
|
import { i as x0 } from "./isEmpty.DtTJTUcf.js";
|
|
62
|
-
import { a as Ae, F as b0, b as k0, c as qe, d as Oe, e as p0, i as u0, f as Me, u as Be } from "./asset-link-format.
|
|
62
|
+
import { a as Ae, F as b0, b as k0, c as qe, d as Oe, e as p0, i as u0, f as Me, u as Be } from "./asset-link-format.BnE0FbUH.js";
|
|
63
63
|
import f0 from "../components/color-picker.js";
|
|
64
|
-
import { C as _e } from "./icon-button.
|
|
64
|
+
import { C as _e } from "./icon-button.CbUddcgI.js";
|
|
65
65
|
import A0 from "../components/spinner.js";
|
|
66
|
-
import { a as B0, d as D0 } from "./color-swatch-group.
|
|
66
|
+
import { a as B0, d as D0 } from "./color-swatch-group.GEu5gVrg.js";
|
|
67
67
|
import { c as ne, C as me, p as F0, a as E0, b as v0, g as ye } from "./color.LzSGBy7o.js";
|
|
68
68
|
import { o as e1 } from "./map.D8heArFD.js";
|
|
69
69
|
import { v as a1 } from "./v4.CKZ6klMF.js";
|
|
@@ -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.DN2v7-DH.js";
|
|
7
|
-
import { L as ct } from "./i18n.
|
|
7
|
+
import { L as ct } from "./i18n.rtxrs1c1.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.CbUddcgI.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.rtxrs1c1.js";
|
|
5
5
|
import { w as Ne } from "./watch.DJF5K-8U.js";
|
|
6
6
|
import { s as Kn } from "./string.Demn8Xmk.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 r, C as L } from "./lib-cortex-element.CVMmyPMC.js";
|
|
2
2
|
import { c as M } from "./component.styles.CAS3c9pM.js";
|
|
3
3
|
import { c as E } from "./custom-element.L4WJXn1j.js";
|
|
4
|
-
import { d as k, L as P } from "./i18n.
|
|
4
|
+
import { d as k, L as P } from "./i18n.rtxrs1c1.js";
|
|
5
5
|
import { H as z, g as R } from "./slot.j5oheLJC.js";
|
|
6
6
|
import { w as b } from "./watch.DJF5K-8U.js";
|
|
7
7
|
import { i as D, x as h, E as S } from "./lit-element.jLBm65_O.js";
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import { n as s, C as x } from "./lib-cortex-element.CVMmyPMC.js";
|
|
2
2
|
import { c as m } from "./component.styles.CAS3c9pM.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.rtxrs1c1.js";
|
|
5
5
|
import { w as d } from "./watch.DJF5K-8U.js";
|
|
6
|
-
import { i as
|
|
6
|
+
import { i as b, x as h } from "./lit-element.jLBm65_O.js";
|
|
7
7
|
import { r as f } from "./state.CSDxrqLd.js";
|
|
8
|
-
import { e as
|
|
8
|
+
import { e as _ } from "./query.BBf1UFkC.js";
|
|
9
9
|
import { e as y } from "./class-map.BiVq-cVR.js";
|
|
10
10
|
import { n as u } from "./when.Dr1es41R.js";
|
|
11
|
-
import { C as
|
|
12
|
-
import
|
|
13
|
-
var
|
|
14
|
-
const C =
|
|
15
|
-
var L = Object.defineProperty, E = Object.getOwnPropertyDescriptor, o = (t, n, i,
|
|
16
|
-
for (var a =
|
|
17
|
-
(p = t[c]) && (a = (
|
|
18
|
-
return
|
|
11
|
+
import { C as k } from "./icon.BLXWp6CU.js";
|
|
12
|
+
import w from "../components/space.js";
|
|
13
|
+
var l = /* @__PURE__ */ ((t) => (t.Left = "left", t.Right = "right", t))(l || {});
|
|
14
|
+
const C = b`:host{-webkit-user-select:none;user-select:none;display:block}:host(:focus){outline:none}.option{font-family:var(--option-font-family), var(--cx-font-sans);font-size:var(--cx-font-size-small);font-weight:var(--option-font-weight,var(--cx-font-weight-regular));line-height:var(--cx-line-height-large);letter-spacing:var(--cx-letter-spacing-normal);color:var(--option-color,var(--cx-color-neutral-700));padding:var(--cx-spacing-x-small) var(--cx-spacing-medium) var(--cx-spacing-x-small) var(--cx-spacing-x-small);transition:var(--cx-transition-fast) fill;cursor:pointer;align-items:center;display:flex;position:relative}.option:not(.option--show-check){padding-inline:var(--cx-spacing-small)}.option--hover:not(.option--disabled){background-color:var(--cx-menu-item-background-color-hover)}.option--current,.option--current.option--disabled{background-color:var(--option-current-background-color,var(--cx-menu-item-background-color-hover,transparent));opacity:1}.option--selected{background-color:var(--option-current-background-color,transparent);color:var(--option-selected-color,var(--cx-color-primary));font-weight:var(--option-selected-font-weight,var(--cx-font-weight-regular))}.option--disabled{opacity:.5;cursor:default;outline:none}.option__content{flex:1}.option__label{line-height:var(--cx-line-height-medium);flex:auto;display:inline-block}.option .option__check{visibility:hidden;flex:none;justify-content:center;align-items:center;padding-inline-end:var(--cx-spacing-2x-small);display:none}.option--show-check .option__check{display:block}.option--show-check.option--selected .option__check{visibility:visible}.option__help-text{color:var(--option-help-text-color,var(--cx-color-neutral-600));font-weight:var(--option-help-text-font-weight,var(--cx-font-weight-regular))}.option--selected .option__content .option__help-text{color:var(--option-selected-help-text-color,var(--cx-color-primary));font-weight:var(--option-selected-help-text-font-weight,var(--cx-font-weight-regular))}.option__prefix,.option__suffix{flex:none;align-items:center;display:flex}.option__prefix::slotted(*){margin-inline-end:var(--cx-spacing-x-small)}.option__suffix::slotted(*){margin-inline-start:var(--cx-spacing-x-small)}.option__prefix{align-self:var(--prefix-alignment,center)}.option__suffix{align-self:var(--suffix-alignment,center)}.option__check{align-self:var(--check-alignment,center)}@media (forced-colors:active){:host(:hover:not([aria-disabled=true])) .option{outline-offset:-1px;outline:1px dashed selecteditem}}`;
|
|
15
|
+
var L = Object.defineProperty, E = Object.getOwnPropertyDescriptor, o = (t, n, i, r) => {
|
|
16
|
+
for (var a = r > 1 ? void 0 : r ? E(n, i) : n, c = t.length - 1, p; c >= 0; c--)
|
|
17
|
+
(p = t[c]) && (a = (r ? p(n, i, a) : p(a)) || a);
|
|
18
|
+
return r && a && L(n, i, a), a;
|
|
19
19
|
};
|
|
20
20
|
let e = class extends x {
|
|
21
21
|
constructor() {
|
|
22
|
-
super(...arguments), this.localize = new g(this), this.current = !1, this.selected = !1, this.hasHover = !1, this.value = "", this.disabled = !1, this.showCheck = !1, this.checkPlacement =
|
|
22
|
+
super(...arguments), this.localize = new g(this), this.current = !1, this.selected = !1, this.hasHover = !1, this.value = "", this.disabled = !1, this.showCheck = !1, this.checkPlacement = l.Left;
|
|
23
23
|
}
|
|
24
24
|
runFirstUpdated() {
|
|
25
25
|
this.setAttribute("role", "option"), this.setAttribute("aria-selected", "false");
|
|
@@ -71,18 +71,18 @@ let e = class extends x {
|
|
|
71
71
|
"option--selected": this.selected,
|
|
72
72
|
"option--show-check": this.showCheck
|
|
73
73
|
})} @mouseenter=${this.handleMouseEnter} @mouseleave=${this.handleMouseLeave}>${u(
|
|
74
|
-
this.checkPlacement ===
|
|
74
|
+
this.checkPlacement === l.Left,
|
|
75
75
|
() => h`<cx-icon part="checked-icon" class="option__check" name="check" library="system" aria-hidden="true"></cx-icon>`
|
|
76
76
|
)}<slot part="prefix" name="prefix" class="option__prefix"></slot><cx-space part="content" class="option__content" direction="vertical" spacing="3x-small"><slot part="label" class="option__label" @slotchange=${this.handleDefaultSlotChange}></slot><slot part="help-text" name="help-text" class="option__help-text"></slot></cx-space><slot part="suffix" name="suffix" class="option__suffix"></slot>${u(
|
|
77
|
-
this.checkPlacement ===
|
|
77
|
+
this.checkPlacement === l.Right,
|
|
78
78
|
() => h`<cx-icon part="checked-icon" class="option__check" name="check" library="system" aria-hidden="true"></cx-icon>`
|
|
79
79
|
)}</div>`;
|
|
80
80
|
}
|
|
81
81
|
};
|
|
82
82
|
e.styles = [m, C];
|
|
83
|
-
e.dependencies = { "cx-icon":
|
|
83
|
+
e.dependencies = { "cx-icon": k, "cx-space": w };
|
|
84
84
|
o([
|
|
85
|
-
|
|
85
|
+
_(".option__label")
|
|
86
86
|
], e.prototype, "defaultSlot", 2);
|
|
87
87
|
o([
|
|
88
88
|
f()
|
|
@@ -119,5 +119,5 @@ e = o([
|
|
|
119
119
|
], e);
|
|
120
120
|
export {
|
|
121
121
|
e as C,
|
|
122
|
-
|
|
122
|
+
l as a
|
|
123
123
|
};
|