@orangelogic/design-system 3.36.0 → 3.38.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/assets/validation.worker-DnJlaA8S.js +1 -0
- package/library/chunks/{bicolor-picker.B4ZD7ay_.js → bicolor-picker.BFLMj79r.js} +1 -1
- package/library/chunks/{border-input-group.CMO_vZr7.js → border-input-group.DvjGBsxF.js} +1 -1
- package/library/chunks/{color-picker.DcOFcqNc.js → color-picker.CJL_5JjX.js} +2 -2
- package/library/chunks/{color-swatch-group.WK1lxWBb.js → color-swatch-group.NBdhiXFI.js} +15 -16
- package/library/chunks/{config-manager.TFxmyX9O.js → config-manager.DSN_CtAN.js} +10 -10
- package/library/chunks/{config-manager.utils.D89hYpCw.js → config-manager.utils.08u3_NXs.js} +12 -12
- package/library/chunks/{configs-controller.TDcTRz6j.js → configs-controller.qLdjsXb7.js} +98 -122
- package/library/chunks/{confirm-popover.Bhuho1eH.js → confirm-popover.Difhn86O.js} +1 -1
- package/library/chunks/{document-viewer.Stz7LwUo.js → document-viewer.c03KTUv2.js} +3 -3
- package/library/chunks/{dropdown.DAkv7EHP.js → dropdown.jv7u3Wm8.js} +1 -1
- package/library/chunks/{file-on-demand.DPD5c2WX.js → file-on-demand.7OPAGIG4.js} +2 -2
- package/library/chunks/{menu-item.d6CiFKnX.js → menu-item.BpILLN4i.js} +31 -31
- package/library/chunks/{menu.uZIhl1-k.js → menu.BPTg0Ebu.js} +1 -1
- package/library/chunks/{shadow-input-group.CNLTwiHw.js → shadow-input-group.ByN6pEvN.js} +1 -1
- package/library/chunks/{src.D7fZFJgH.js → src.BPWnRgJw.js} +6 -6
- package/library/chunks/{tab-group.LErcQpn1.js → tab-group.n9Wud7bJ.js} +3 -3
- package/library/components/atoms.js +7 -7
- package/library/components/bicolor-picker.js +1 -1
- package/library/components/border-input-group.js +1 -1
- package/library/components/color-picker.js +1 -1
- package/library/components/color-swatch-group.js +1 -1
- package/library/components/confirm-popover.js +1 -1
- package/library/components/document-viewer.js +1 -1
- package/library/components/dropdown.js +1 -1
- package/library/components/file-on-demand.js +1 -1
- package/library/components/menu-item.js +1 -1
- package/library/components/menu.js +1 -1
- package/library/components/molecules.js +4 -4
- package/library/components/organisms.js +2 -2
- package/library/components/shadow-input-group.js +1 -1
- package/library/components/tab-group.js +1 -1
- package/library/components/types.js +31 -20
- package/library/package.json +1 -1
- package/library/packages/atoms/src/components/menu-item/menu-item.d.ts +2 -2
- package/library/packages/molecules/src/view-and-sort/view-and-sort.d.ts +3 -5
- package/library/packages/organisms/src/content-builder/blocks/search-box/search-box.d.ts +1 -1
- package/library/packages/organisms/src/downloader/data/core/WorkerProxy.d.ts +1 -0
- package/library/packages/organisms/src/downloader/data/core/worker/app/DownloadManager.d.ts +6 -0
- package/library/packages/organisms/src/downloader/downloader.d.ts +2 -0
- package/library/packages/types/src/menu-item.d.ts +10 -3
- package/library/react-web-component.d.ts +3 -3
- package/package.json +1 -1
- package/library/assets/validation.worker-BSuTSsWh.js +0 -1
|
@@ -25,7 +25,7 @@ import { t as oe } from "./option.CxsY_LQ-.js";
|
|
|
25
25
|
import { t as se } from "./space.Dd8jezXK.js";
|
|
26
26
|
import { t as ce } from "./select.DLMCyAHm.js";
|
|
27
27
|
import { t as le } from "./tab.B7cI6tex.js";
|
|
28
|
-
import { t as T } from "./tab-group.
|
|
28
|
+
import { t as T } from "./tab-group.n9Wud7bJ.js";
|
|
29
29
|
import { t as ue } from "./tab-panel.BxeoKuSv.js";
|
|
30
30
|
import { t as E } from "./dialog.DyVvpdaY.js";
|
|
31
31
|
import { t as de } from "./divider.CqSNZCU8.js";
|
|
@@ -34,7 +34,7 @@ import { o as D, u as O } from "./url.CZO_DV8Y.js";
|
|
|
34
34
|
import k from "../components/format-bytes.js";
|
|
35
35
|
import { t as pe } from "./relative-time.Tmj08T5g.js";
|
|
36
36
|
import { a as A, i as me, n as he, t as j } from "./tree.0n9ApKdO.js";
|
|
37
|
-
import { t as ge } from "./confirm-popover.
|
|
37
|
+
import { t as ge } from "./confirm-popover.Difhn86O.js";
|
|
38
38
|
import { t as _e } from "./_baseIteratee.DWc2-Bvm.js";
|
|
39
39
|
import { t as ve } from "./choose.C2vpqhLc.js";
|
|
40
40
|
import { t as ye } from "./_baseXor.Ca5K0ORC.js";
|
|
@@ -19,8 +19,8 @@ var C = /* @__PURE__ */ function(e) {
|
|
|
19
19
|
}({}), w = /* @__PURE__ */ function(e) {
|
|
20
20
|
return e.Checkbox = "menuitemcheckbox", e.Item = "menuitem", e.Radio = "menuitemradio", e;
|
|
21
21
|
}({}), T = /* @__PURE__ */ function(e) {
|
|
22
|
-
return e.Checkbox = "checkbox", e.Normal = "normal", e;
|
|
23
|
-
}({}), E = t`:host{--submenu-offset:0px;--prefix-font-size:var(--cx-font-size-small);--prefix-color:var(--cx-color-neutral-500);--label-color:var(--cx-color-neutral);--suffix-color:var(--cx-color-neutral);--font-weight:var(--cx-font-weight-regular);display:block}:host([inert]){display:none}.menu-item{font-family:var(--cx-font-sans);font-size:var(--cx-font-size-small);font-weight:var(--font-weight,var(--cx-font-weight-regular));line-height:var(--cx-line-height-large);letter-spacing:var(--cx-letter-spacing-normal);color:var(--cx-color-neutral);padding:var(--cx-spacing-x-small) var(--cx-spacing-small);transition:var(--cx-transition-fast) fill;background-color:var(--cx-menu-item-background-color,unset);-webkit-user-select:none;user-select:none;white-space:nowrap;cursor:pointer;align-items:stretch;text-decoration:none;display:flex;position:relative}.menu-item.menu-item--disabled{cursor:default;outline:none}.menu-item.menu-item--disabled .menu-item__label,.menu-item.menu-item--disabled .menu-item__prefix,.menu-item.menu-item--disabled .menu-item__chevron,.menu-item.menu-item--disabled .menu-item__check{opacity:.5}.menu-item.menu-item--disabled .menu-item__suffix:not(:slotted(cx-tooltip)){opacity:.5}.menu-item.menu-item--loading{cursor:wait;outline:none}.menu-item.menu-item--loading :not(cx-spinner){opacity:.5}.menu-item--loading cx-spinner{--indicator-color:currentColor;--track-width:1px;opacity:1;font-size:.75em;position:absolute;top:calc(50% - .5em);left:.65rem}.menu-item .menu-item__label{color:var(--label-color,var(--cx-color-neutral));text-overflow:ellipsis;flex:auto;margin:auto;display:inline-block;overflow:hidden}.menu-item--checked .menu-item__label{color:var(--checked-label-color,var(--cx-color-primary))}.menu-item .menu-item__prefix{color:var(--prefix-color,var(--cx-color-neutral-500));font-size:var(--prefix-font-size,var(--cx-font-size-small));flex:none;align-items:center;display:flex}.menu-item--checked{--prefix-color:var(--cx-color-primary);--suffix-color:var(--cx-color-primary)}.menu-item--checked .menu-item__check{color:var(--checked-icon-color,var(--cx-color-primary))}.menu-item .menu-item__prefix::slotted(*){margin-inline-end:var(--cx-spacing-x-small)}.menu-item .menu-item__suffix{color:var(--suffix-color);flex:none;align-items:center;display:flex}.menu-item .menu-item__suffix::slotted(*){margin-inline-start:var(--cx-spacing-medium)}.menu-item--submenu-expanded:after{content:"";z-index:calc(var(--cx-z-index-dropdown) - 1);clip-path:polygon(var(--safe-triangle-cursor-x,0) var(--safe-triangle-cursor-y,0), var(--safe-triangle-submenu-start-x,0) var(--safe-triangle-submenu-start-y,0), var(--safe-triangle-submenu-end-x,0) var(--safe-triangle-submenu-end-y,0));position:fixed;inset:0}@media (pointer:none),(pointer:coarse){.menu-item--submenu-expanded:after{display:none}}:host(:focus-visible){outline:none}:host(:hover:not([aria-disabled=true],:focus-visible,.disable-hover)) .menu-item,.menu-item--submenu-expanded{background-color:var(--cx-menu-item-background-color-hover);color:var(--cx-color-neutral-1000)}:host(:not([aria-disabled=true])) .menu-item--active{background-color:var(--cx-menu-item-background-color-active,var(--cx-menu-item-background-color-hover));color:var(--cx-color-neutral-1000)}:host(:hover:not([aria-disabled=true],:focus-visible,.disable-hover)) .menu-item--active{background-color:var(--cx-menu-item-background-color-active-hover,var(--cx-menu-item-background-color-active,var(--cx-menu-item-background-color-hover)))}:host(:focus-visible) .menu-item{outline:var(--cx-focus-ring);outline-offset:calc(-1 * var(--cx-focus-ring-width));background-color:var(--cx-menu-item-background-color-hover);opacity:1}.menu-item .menu-item__check,.menu-item .menu-item__chevron{width:var(--checked-icon-size,1.5em);visibility:hidden;flex:none;justify-content:center;align-items:center}.menu-item .menu-item__check{display:var(--checked-icon-display,flex);margin-inline-end:var(--cx-spacing-2x-small)}.menu-item .menu-item__check--suffix{margin-inline:auto 0;padding-inline-start:var(--cx-spacing-2x-small)}.menu-item .menu-item__check--always-show{visibility:visible}.menu-item .menu-item__chevron{display:var(--submenu-icon-display,flex)}.menu-item--checked .menu-item__check,.menu-item--has-submenu .menu-item__chevron{visibility:visible}cx-popup::part(popup){border:var(--cx-panel-border-width) solid var(--cx-popup-border-color);border-radius:var(--cx-border-radius-large);box-shadow:var(--cx-shadow-large);z-index:var(--cx-z-index-dropdown);margin-left:var(--submenu-offset,0px);overflow:hidden}.menu-item--rtl cx-popup::part(popup){margin-left:calc(-1 * var(--submenu-offset))}@media (forced-colors:active){:host(:hover:not([aria-disabled=true])) .menu-item,:host(:focus-visible) .menu-item{outline-offset:-1px;outline:1px dashed selecteditem}}::slotted(cx-menu){max-width:var(--auto-size-available-width)!important;max-height:var(--auto-size-available-height)!important}`,
|
|
22
|
+
return e.Checkbox = "checkbox", e.Normal = "normal", e.Selectable = "selectable", e;
|
|
23
|
+
}({}), E = /* @__PURE__ */ new Set(["checkbox", "selectable"]), D = t`:host{--submenu-offset:0px;--prefix-font-size:var(--cx-font-size-small);--prefix-color:var(--cx-color-neutral-500);--label-color:var(--cx-color-neutral);--suffix-color:var(--cx-color-neutral);--font-weight:var(--cx-font-weight-regular);display:block}:host([inert]){display:none}.menu-item{font-family:var(--cx-font-sans);font-size:var(--cx-font-size-small);font-weight:var(--font-weight,var(--cx-font-weight-regular));line-height:var(--cx-line-height-large);letter-spacing:var(--cx-letter-spacing-normal);color:var(--cx-color-neutral);padding:var(--cx-spacing-x-small) var(--cx-spacing-small);transition:var(--cx-transition-fast) fill;background-color:var(--cx-menu-item-background-color,unset);-webkit-user-select:none;user-select:none;white-space:nowrap;cursor:pointer;align-items:stretch;text-decoration:none;display:flex;position:relative}.menu-item.menu-item--disabled{cursor:default;outline:none}.menu-item.menu-item--disabled .menu-item__label,.menu-item.menu-item--disabled .menu-item__prefix,.menu-item.menu-item--disabled .menu-item__chevron,.menu-item.menu-item--disabled .menu-item__check{opacity:.5}.menu-item.menu-item--disabled .menu-item__suffix:not(:slotted(cx-tooltip)){opacity:.5}.menu-item.menu-item--loading{cursor:wait;outline:none}.menu-item.menu-item--loading :not(cx-spinner){opacity:.5}.menu-item--loading cx-spinner{--indicator-color:currentColor;--track-width:1px;opacity:1;font-size:.75em;position:absolute;top:calc(50% - .5em);left:.65rem}.menu-item .menu-item__label{color:var(--label-color,var(--cx-color-neutral));text-overflow:ellipsis;flex:auto;margin:auto;display:inline-block;overflow:hidden}.menu-item--checked .menu-item__label{color:var(--checked-label-color,var(--cx-color-primary))}.menu-item .menu-item__prefix{color:var(--prefix-color,var(--cx-color-neutral-500));font-size:var(--prefix-font-size,var(--cx-font-size-small));flex:none;align-items:center;display:flex}.menu-item--checked{--prefix-color:var(--cx-color-primary);--suffix-color:var(--cx-color-primary)}.menu-item--checked .menu-item__check{color:var(--checked-icon-color,var(--cx-color-primary))}.menu-item .menu-item__prefix::slotted(*){margin-inline-end:var(--cx-spacing-x-small)}.menu-item .menu-item__suffix{color:var(--suffix-color);flex:none;align-items:center;display:flex}.menu-item .menu-item__suffix::slotted(*){margin-inline-start:var(--cx-spacing-medium)}.menu-item--submenu-expanded:after{content:"";z-index:calc(var(--cx-z-index-dropdown) - 1);clip-path:polygon(var(--safe-triangle-cursor-x,0) var(--safe-triangle-cursor-y,0), var(--safe-triangle-submenu-start-x,0) var(--safe-triangle-submenu-start-y,0), var(--safe-triangle-submenu-end-x,0) var(--safe-triangle-submenu-end-y,0));position:fixed;inset:0}@media (pointer:none),(pointer:coarse){.menu-item--submenu-expanded:after{display:none}}:host(:focus-visible){outline:none}:host(:hover:not([aria-disabled=true],:focus-visible,.disable-hover)) .menu-item,.menu-item--submenu-expanded{background-color:var(--cx-menu-item-background-color-hover);color:var(--cx-color-neutral-1000)}:host(:not([aria-disabled=true])) .menu-item--active{background-color:var(--cx-menu-item-background-color-active,var(--cx-menu-item-background-color-hover));color:var(--cx-color-neutral-1000)}:host(:hover:not([aria-disabled=true],:focus-visible,.disable-hover)) .menu-item--active{background-color:var(--cx-menu-item-background-color-active-hover,var(--cx-menu-item-background-color-active,var(--cx-menu-item-background-color-hover)))}:host(:focus-visible) .menu-item{outline:var(--cx-focus-ring);outline-offset:calc(-1 * var(--cx-focus-ring-width));background-color:var(--cx-menu-item-background-color-hover);opacity:1}.menu-item .menu-item__check,.menu-item .menu-item__chevron{width:var(--checked-icon-size,1.5em);visibility:hidden;flex:none;justify-content:center;align-items:center}.menu-item .menu-item__check{display:var(--checked-icon-display,flex);margin-inline-end:var(--cx-spacing-2x-small)}.menu-item .menu-item__check--suffix{margin-inline:auto 0;padding-inline-start:var(--cx-spacing-2x-small)}.menu-item .menu-item__check--always-show{visibility:visible}.menu-item .menu-item__chevron{display:var(--submenu-icon-display,flex)}.menu-item--checked .menu-item__check,.menu-item--has-submenu .menu-item__chevron{visibility:visible}cx-popup::part(popup){border:var(--cx-panel-border-width) solid var(--cx-popup-border-color);border-radius:var(--cx-border-radius-large);box-shadow:var(--cx-shadow-large);z-index:var(--cx-z-index-dropdown);margin-left:var(--submenu-offset,0px);overflow:hidden}.menu-item--rtl cx-popup::part(popup){margin-left:calc(-1 * var(--submenu-offset))}@media (forced-colors:active){:host(:hover:not([aria-disabled=true])) .menu-item,:host(:focus-visible) .menu-item{outline-offset:-1px;outline:1px dashed selecteditem}}::slotted(cx-menu){max-width:var(--auto-size-available-width)!important;max-height:var(--auto-size-available-height)!important}`, O = class {
|
|
24
24
|
constructor(e, t) {
|
|
25
25
|
this.popupRef = S(), this.parent = null, this.enableSubmenuTimer = -1, this.isHorizontalMenu = !1, this.isConnected = !1, this.isPopupConnected = !1, this.skidding = 0, this.submenuOpenDelay = 100, this.focusVisibilityTimeoutMs = 1e4, this.lazyLoadObserver = null, this.pendingFocusCancel = null, (this.host = e).addController(this), this.hasSlotController = t, this.handleMouseMove = this.handleMouseMove.bind(this), this.handleMouseOver = this.handleMouseOver.bind(this), this.handleKeyDown = this.handleKeyDown.bind(this), this.handleClick = this.handleClick.bind(this), this.handleSubmenuIconClick = this.handleSubmenuIconClick.bind(this), this.handleDocumentMouseDown = this.handleDocumentMouseDown.bind(this), this.handleMouseLeave = this.handleMouseLeave.bind(this), this.handlePopupMouseover = this.handlePopupMouseover.bind(this), this.handlePopupReposition = this.handlePopupReposition.bind(this);
|
|
26
26
|
}
|
|
@@ -192,15 +192,15 @@ var C = /* @__PURE__ */ function(e) {
|
|
|
192
192
|
let n = this.host.submenuPlacement ?? (t ? "left-start" : "right-start");
|
|
193
193
|
return e`<cx-popup ${x(this.popupRef)} placement=${n} anchor="anchor" part="submenu-popup" flip flip-fallback-strategy="best-fit" skidding=${this.skidding} strategy="overlay" auto-size="both" auto-size-padding="10" ?shift=${!!this.host.shiftBoundary} .flipBoundary=${this.host.flipBoundary} .shiftBoundary=${this.host.shiftBoundary} .autoSizeBoundary=${this.host.autoSizeBoundary}><slot name="submenu"></slot></cx-popup>`;
|
|
194
194
|
}
|
|
195
|
-
},
|
|
196
|
-
static #e = this.styles = [l,
|
|
195
|
+
}, k = class extends o {
|
|
196
|
+
static #e = this.styles = [l, D];
|
|
197
197
|
static #t = this.dependencies = {
|
|
198
198
|
"cx-icon": v,
|
|
199
199
|
"cx-popup": c,
|
|
200
200
|
"cx-spinner": y
|
|
201
201
|
};
|
|
202
202
|
constructor() {
|
|
203
|
-
super(), this.type = T.Normal, this.submenuTrigger = "both", this.checked = !1, this.noUncheck = !1, this.value = "", this.href = "", this.rel = "noreferrer noopener", this.loading = !1, this.disabled = !1, this.active = !1, this.current = void 0, this.readonly = !1, this.menu = "", this.alwaysShowCheckedIcon = !1, this.checkPlacement = C.Suffix, this.lazy = !1, this.localize = new f(this), this.hasSlotController = new m(this, "submenu", "submenu-icon"), this.submenuController = new
|
|
203
|
+
super(), this.type = T.Normal, this.submenuTrigger = "both", this.checked = !1, this.noUncheck = !1, this.value = "", this.href = "", this.rel = "noreferrer noopener", this.loading = !1, this.disabled = !1, this.active = !1, this.current = void 0, this.readonly = !1, this.menu = "", this.alwaysShowCheckedIcon = !1, this.checkPlacement = C.Suffix, this.lazy = !1, this.localize = new f(this), this.hasSlotController = new m(this, "submenu", "submenu-icon"), this.submenuController = new O(this, this.hasSlotController), this.handleDocumentWheel = (e) => {
|
|
204
204
|
let t = e.composedPath();
|
|
205
205
|
this.submenuController.isExpanded() && (!this.submenuController.popup || !t.includes(this.submenuController.popup)) && (e.preventDefault(), this.submenuController.disableSubmenu());
|
|
206
206
|
}, this.handleHostClick = this.handleHostClick.bind(this), this.handleMouseOver = this.handleMouseOver.bind(this);
|
|
@@ -233,8 +233,8 @@ var C = /* @__PURE__ */ function(e) {
|
|
|
233
233
|
e.stopPropagation();
|
|
234
234
|
}
|
|
235
235
|
handleCheckedChange() {
|
|
236
|
-
if (this.checked && this.type
|
|
237
|
-
this.checked = !1, console.error("The checked attribute can only be used on menu items with type=\"checkbox\"", this);
|
|
236
|
+
if (this.checked && !E.has(this.type)) {
|
|
237
|
+
this.checked = !1, console.error("The checked attribute can only be used on menu items with type=\"checkbox\" or type=\"selectable\"", this);
|
|
238
238
|
return;
|
|
239
239
|
}
|
|
240
240
|
this.type === T.Checkbox ? this.setAttribute("aria-checked", this.checked ? "true" : "false") : this.removeAttribute("aria-checked");
|
|
@@ -246,7 +246,7 @@ var C = /* @__PURE__ */ function(e) {
|
|
|
246
246
|
this.current ? this.setAttribute("aria-current", this.current) : this.removeAttribute("aria-current");
|
|
247
247
|
}
|
|
248
248
|
handleTypeChange() {
|
|
249
|
-
this.type ===
|
|
249
|
+
this.type === T.Checkbox ? (this.setAttribute("role", this.itemRole ?? w.Checkbox), this.setAttribute("aria-checked", this.checked ? "true" : "false")) : (this.setAttribute("role", this.itemRole ?? w.Item), this.removeAttribute("aria-checked"));
|
|
250
250
|
}
|
|
251
251
|
getTextLabel() {
|
|
252
252
|
return p(this.defaultSlot);
|
|
@@ -269,7 +269,7 @@ var C = /* @__PURE__ */ function(e) {
|
|
|
269
269
|
"menu-item--loading": this.loading,
|
|
270
270
|
"menu-item--rtl": r,
|
|
271
271
|
"menu-item--submenu-expanded": i
|
|
272
|
-
})} aria-haspopup=${this.isSubmenu()} href=${_(this.href)} target=${_(this.target)} download=${_(this.download)} rel=${_(this.rel)} aria-label=${this.getTextLabel()} ?inert=${this.disabled} @click=${this.handleAnchorClick}>${t}</a>` : e`<div id="anchor" part="base" class=${g({
|
|
272
|
+
})} aria-haspopup=${this.isSubmenu()} href=${_(this.href)} target=${_(this.target)} download=${_(this.download)} rel=${_(this.rel)} tabindex="-1" aria-label=${this.getTextLabel()} ?inert=${this.disabled} @click=${this.handleAnchorClick}>${t}</a>` : e`<div id="anchor" part="base" class=${g({
|
|
273
273
|
"menu-item": !0,
|
|
274
274
|
"menu-item--active": this.active,
|
|
275
275
|
"menu-item--checkbox": this.type === T.Checkbox,
|
|
@@ -297,75 +297,75 @@ var C = /* @__PURE__ */ function(e) {
|
|
|
297
297
|
`);
|
|
298
298
|
}
|
|
299
299
|
};
|
|
300
|
-
i([s("slot:not([name])"), a("design:type", typeof HTMLSlotElement > "u" ? Object : HTMLSlotElement)],
|
|
300
|
+
i([s("slot:not([name])"), a("design:type", typeof HTMLSlotElement > "u" ? Object : HTMLSlotElement)], k.prototype, "defaultSlot", void 0), i([s("a#anchor", !0), a("design:type", Object)], k.prototype, "anchor", void 0), i([s(".menu-item"), a("design:type", typeof HTMLElement > "u" ? Object : HTMLElement)], k.prototype, "menuItem", void 0), i([s(".menu-item__chevron"), a("design:type", typeof HTMLElement > "u" ? Object : HTMLElement)], k.prototype, "submenuIcon", void 0), i([r(), a("design:type", T === void 0 ? Object : T)], k.prototype, "type", void 0), i([r({
|
|
301
301
|
attribute: "item-role",
|
|
302
302
|
type: String
|
|
303
|
-
}), a("design:type", w === void 0 ? Object : w)],
|
|
303
|
+
}), a("design:type", w === void 0 ? Object : w)], k.prototype, "itemRole", void 0), i([r({
|
|
304
304
|
attribute: "submenu-trigger",
|
|
305
305
|
type: String
|
|
306
|
-
}), a("design:type", String)],
|
|
306
|
+
}), a("design:type", String)], k.prototype, "submenuTrigger", void 0), i([r({
|
|
307
307
|
reflect: !0,
|
|
308
308
|
type: Boolean
|
|
309
|
-
}), a("design:type", Object)],
|
|
309
|
+
}), a("design:type", Object)], k.prototype, "checked", void 0), i([r({
|
|
310
310
|
attribute: "no-uncheck",
|
|
311
311
|
reflect: !0,
|
|
312
312
|
type: Boolean
|
|
313
|
-
}), a("design:type", Object)],
|
|
313
|
+
}), a("design:type", Object)], k.prototype, "noUncheck", void 0), i([r(), a("design:type", Object)], k.prototype, "value", void 0), i([r(), a("design:type", Object)], k.prototype, "href", void 0), i([r(), a("design:type", String)], k.prototype, "target", void 0), i([r(), a("design:type", Object)], k.prototype, "rel", void 0), i([r(), a("design:type", String)], k.prototype, "download", void 0), i([r({
|
|
314
314
|
reflect: !0,
|
|
315
315
|
type: Boolean
|
|
316
|
-
}), a("design:type", Object)],
|
|
316
|
+
}), a("design:type", Object)], k.prototype, "loading", void 0), i([r({
|
|
317
317
|
reflect: !0,
|
|
318
318
|
type: Boolean
|
|
319
|
-
}), a("design:type", Object)],
|
|
319
|
+
}), a("design:type", Object)], k.prototype, "disabled", void 0), i([r({
|
|
320
320
|
reflect: !0,
|
|
321
321
|
type: Boolean
|
|
322
|
-
}), a("design:type", Object)],
|
|
322
|
+
}), a("design:type", Object)], k.prototype, "active", void 0), i([r({
|
|
323
323
|
reflect: !0,
|
|
324
324
|
type: String
|
|
325
|
-
}), a("design:type", Object)],
|
|
325
|
+
}), a("design:type", Object)], k.prototype, "current", void 0), i([r({
|
|
326
326
|
reflect: !0,
|
|
327
327
|
type: Boolean
|
|
328
|
-
}), a("design:type", Object)],
|
|
328
|
+
}), a("design:type", Object)], k.prototype, "readonly", void 0), i([r({
|
|
329
329
|
attribute: "flip-boundary",
|
|
330
330
|
type: Object
|
|
331
|
-
}), a("design:type", Object)],
|
|
331
|
+
}), a("design:type", Object)], k.prototype, "flipBoundary", void 0), i([r({
|
|
332
332
|
attribute: "shift-boundary",
|
|
333
333
|
type: Object
|
|
334
|
-
}), a("design:type", Object)],
|
|
334
|
+
}), a("design:type", Object)], k.prototype, "shiftBoundary", void 0), i([r({
|
|
335
335
|
attribute: "auto-size-boundary",
|
|
336
336
|
type: Object
|
|
337
|
-
}), a("design:type", Object)],
|
|
337
|
+
}), a("design:type", Object)], k.prototype, "autoSizeBoundary", void 0), i([r({ reflect: !0 }), a("design:type", Object)], k.prototype, "menu", void 0), i([r({
|
|
338
338
|
attribute: "always-show-checked-icon",
|
|
339
339
|
reflect: !0,
|
|
340
340
|
type: Boolean
|
|
341
|
-
}), a("design:type", Object)],
|
|
341
|
+
}), a("design:type", Object)], k.prototype, "alwaysShowCheckedIcon", void 0), i([r({
|
|
342
342
|
attribute: "check-placement",
|
|
343
343
|
reflect: !0,
|
|
344
344
|
type: String
|
|
345
|
-
}), a("design:type", C === void 0 ? Object : C)],
|
|
345
|
+
}), a("design:type", C === void 0 ? Object : C)], k.prototype, "checkPlacement", void 0), i([r({ attribute: "submenu-placement" }), a("design:type", String)], k.prototype, "submenuPlacement", void 0), i([r({
|
|
346
346
|
reflect: !0,
|
|
347
347
|
type: Boolean
|
|
348
|
-
}), a("design:type", Object)],
|
|
348
|
+
}), a("design:type", Object)], k.prototype, "lazy", void 0), i([
|
|
349
349
|
h("checked"),
|
|
350
350
|
a("design:type", Function),
|
|
351
351
|
a("design:paramtypes", []),
|
|
352
352
|
a("design:returntype", void 0)
|
|
353
|
-
],
|
|
353
|
+
], k.prototype, "handleCheckedChange", null), i([
|
|
354
354
|
h("disabled"),
|
|
355
355
|
a("design:type", Function),
|
|
356
356
|
a("design:paramtypes", []),
|
|
357
357
|
a("design:returntype", void 0)
|
|
358
|
-
],
|
|
358
|
+
], k.prototype, "handleDisabledChange", null), i([
|
|
359
359
|
h("current"),
|
|
360
360
|
a("design:type", Function),
|
|
361
361
|
a("design:paramtypes", []),
|
|
362
362
|
a("design:returntype", void 0)
|
|
363
|
-
],
|
|
363
|
+
], k.prototype, "handleCurrentChange", null), i([
|
|
364
364
|
h(["type", "itemRole"]),
|
|
365
365
|
a("design:type", Function),
|
|
366
366
|
a("design:paramtypes", []),
|
|
367
367
|
a("design:returntype", void 0)
|
|
368
|
-
],
|
|
369
|
-
var
|
|
368
|
+
], k.prototype, "handleTypeChange", null), k = i([u("cx-menu-item"), a("design:paramtypes", [])], k);
|
|
369
|
+
var A = k;
|
|
370
370
|
//#endregion
|
|
371
|
-
export {
|
|
371
|
+
export { E as n, T as r, A as t };
|
|
@@ -5,7 +5,7 @@ import { t as c } from "./component.styles.0xM1ZmBs.js";
|
|
|
5
5
|
import { t as l } from "./custom-element.BEMYNDK1.js";
|
|
6
6
|
import { t as u } from "./i18n.CpiuF-f4.js";
|
|
7
7
|
import { t as d } from "./when.BUskJLtZ.js";
|
|
8
|
-
import { r as f, t as p } from "./menu-item.
|
|
8
|
+
import { r as f, t as p } from "./menu-item.BpILLN4i.js";
|
|
9
9
|
//#region ../../packages/types/src/menu.ts
|
|
10
10
|
var m = /* @__PURE__ */ function(e) {
|
|
11
11
|
return e.Default = "default", e.Multiple = "multiple", e;
|
|
@@ -6,7 +6,7 @@ import { t as c } from "./repeat.CKv9FPlC.js";
|
|
|
6
6
|
import { t as l } from "./input.HC75Gdv_.js";
|
|
7
7
|
import { t as u } from "./space.Dd8jezXK.js";
|
|
8
8
|
import { t as d } from "./input-group.Dmd8XcxL.js";
|
|
9
|
-
import { t as f } from "./bicolor-picker.
|
|
9
|
+
import { t as f } from "./bicolor-picker.BFLMj79r.js";
|
|
10
10
|
//#region ../../packages/molecules/src/shadow-input-group/shadow-input-group.styles.ts
|
|
11
11
|
var p = t``, m = class extends a {
|
|
12
12
|
constructor(...e) {
|
|
@@ -23,19 +23,19 @@ import "./breadcrumb-item.nHAFmgtO.js";
|
|
|
23
23
|
import "./button-group.CPfXrqyq.js";
|
|
24
24
|
import "./card.3c-X4hqR.js";
|
|
25
25
|
import "./checkbox.C6vsHW9n.js";
|
|
26
|
-
import "./dropdown.
|
|
26
|
+
import "./dropdown.jv7u3Wm8.js";
|
|
27
27
|
import "./input.HC75Gdv_.js";
|
|
28
|
-
import "./menu.
|
|
29
|
-
import "./menu-item.
|
|
28
|
+
import "./menu.BPTg0Ebu.js";
|
|
29
|
+
import "./menu-item.BpILLN4i.js";
|
|
30
30
|
import "./textarea.Bc4eCJgT.js";
|
|
31
31
|
import "./option.CxsY_LQ-.js";
|
|
32
32
|
import "./space.Dd8jezXK.js";
|
|
33
33
|
import "./select.DLMCyAHm.js";
|
|
34
34
|
import "./tab.B7cI6tex.js";
|
|
35
|
-
import "./tab-group.
|
|
35
|
+
import "./tab-group.n9Wud7bJ.js";
|
|
36
36
|
import "./tab-panel.BxeoKuSv.js";
|
|
37
37
|
import "./visually-hidden.Bv3SInZp.js";
|
|
38
|
-
import "./color-picker.
|
|
38
|
+
import "./color-picker.CJL_5JjX.js";
|
|
39
39
|
import "./copy-button.DXNp4KvI.js";
|
|
40
40
|
import "./date-calendar.Dobpjwzs.js";
|
|
41
41
|
import "./details.DRv08ocO.js";
|
|
@@ -44,7 +44,7 @@ import "./divider.CqSNZCU8.js";
|
|
|
44
44
|
import "./diff.C5J0fzbu.js";
|
|
45
45
|
import "./drawer.rdGcXxzU.js";
|
|
46
46
|
import "./progress-bar.Br8Zi53n.js";
|
|
47
|
-
import "./document-viewer.
|
|
47
|
+
import "./document-viewer.c03KTUv2.js";
|
|
48
48
|
import "./image.BjLoAnzR.js";
|
|
49
49
|
import "./skeleton.BtwugOTG.js";
|
|
50
50
|
import "./dot-pagination.rTg08FAr.js";
|
|
@@ -14,9 +14,9 @@ import { t as _ } from "./style-map.DPGQIxip.js";
|
|
|
14
14
|
import { t as v } from "./button.BE-fTtOZ.js";
|
|
15
15
|
import { d as y } from "./dom.dDaS97WU.js";
|
|
16
16
|
import { t as b } from "./resize-observer.D9EHlnZI.js";
|
|
17
|
-
import { t as x } from "./dropdown.
|
|
18
|
-
import { t as S } from "./menu.
|
|
19
|
-
import { t as C } from "./menu-item.
|
|
17
|
+
import { t as x } from "./dropdown.jv7u3Wm8.js";
|
|
18
|
+
import { t as S } from "./menu.BPTg0Ebu.js";
|
|
19
|
+
import { t as C } from "./menu-item.BpILLN4i.js";
|
|
20
20
|
import { n as w } from "./scroll.CEH_a4pm.js";
|
|
21
21
|
import { t as T } from "./tab.B7cI6tex.js";
|
|
22
22
|
import { t as E } from "./parse.CDrJ-NY7.js";
|
|
@@ -8,7 +8,7 @@ import { t as c } from "../chunks/alert.C-yzkTnx.js";
|
|
|
8
8
|
import { t as l } from "../chunks/am-chart.COOKOvT1.js";
|
|
9
9
|
import { t as u } from "../chunks/animated-image.w6VdagCh.js";
|
|
10
10
|
import { t as d } from "../chunks/animation.CRLxJUWm.js";
|
|
11
|
-
import { n as f, r as p, t as m } from "../chunks/src.
|
|
11
|
+
import { n as f, r as p, t as m } from "../chunks/src.BPWnRgJw.js";
|
|
12
12
|
import { t as h } from "../chunks/button.BE-fTtOZ.js";
|
|
13
13
|
import { t as g } from "../chunks/tooltip.EVa9qa8X.js";
|
|
14
14
|
import { t as _ } from "../chunks/resize-observer.D9EHlnZI.js";
|
|
@@ -25,19 +25,19 @@ import { t as D } from "../chunks/breadcrumb-item.nHAFmgtO.js";
|
|
|
25
25
|
import { t as O } from "../chunks/button-group.CPfXrqyq.js";
|
|
26
26
|
import { t as k } from "../chunks/card.3c-X4hqR.js";
|
|
27
27
|
import { t as A } from "../chunks/checkbox.C6vsHW9n.js";
|
|
28
|
-
import { t as j } from "../chunks/dropdown.
|
|
28
|
+
import { t as j } from "../chunks/dropdown.jv7u3Wm8.js";
|
|
29
29
|
import { t as M } from "../chunks/input.HC75Gdv_.js";
|
|
30
|
-
import { t as N } from "../chunks/menu.
|
|
31
|
-
import { t as P } from "../chunks/menu-item.
|
|
30
|
+
import { t as N } from "../chunks/menu.BPTg0Ebu.js";
|
|
31
|
+
import { t as P } from "../chunks/menu-item.BpILLN4i.js";
|
|
32
32
|
import { t as F } from "../chunks/textarea.Bc4eCJgT.js";
|
|
33
33
|
import { t as I } from "../chunks/option.CxsY_LQ-.js";
|
|
34
34
|
import { t as L } from "../chunks/space.Dd8jezXK.js";
|
|
35
35
|
import { t as R } from "../chunks/select.DLMCyAHm.js";
|
|
36
36
|
import { t as z } from "../chunks/tab.B7cI6tex.js";
|
|
37
|
-
import { t as B } from "../chunks/tab-group.
|
|
37
|
+
import { t as B } from "../chunks/tab-group.n9Wud7bJ.js";
|
|
38
38
|
import { t as V } from "../chunks/tab-panel.BxeoKuSv.js";
|
|
39
39
|
import { t as H } from "../chunks/visually-hidden.Bv3SInZp.js";
|
|
40
|
-
import { t as U } from "../chunks/color-picker.
|
|
40
|
+
import { t as U } from "../chunks/color-picker.CJL_5JjX.js";
|
|
41
41
|
import { t as W } from "../chunks/copy-button.DXNp4KvI.js";
|
|
42
42
|
import { t as G } from "../chunks/date-calendar.Dobpjwzs.js";
|
|
43
43
|
import { t as K } from "../chunks/details.DRv08ocO.js";
|
|
@@ -46,7 +46,7 @@ import { t as J } from "../chunks/divider.CqSNZCU8.js";
|
|
|
46
46
|
import { t as Y } from "../chunks/diff.C5J0fzbu.js";
|
|
47
47
|
import { t as X } from "../chunks/drawer.rdGcXxzU.js";
|
|
48
48
|
import { t as Z } from "../chunks/progress-bar.Br8Zi53n.js";
|
|
49
|
-
import { t as Q } from "../chunks/document-viewer.
|
|
49
|
+
import { t as Q } from "../chunks/document-viewer.c03KTUv2.js";
|
|
50
50
|
import { t as $ } from "../chunks/image.BjLoAnzR.js";
|
|
51
51
|
import { t as ee } from "../chunks/skeleton.BtwugOTG.js";
|
|
52
52
|
import { t as te } from "../chunks/dot-pagination.rTg08FAr.js";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../chunks/bicolor-picker.
|
|
1
|
+
import { t as e } from "../chunks/bicolor-picker.BFLMj79r.js";
|
|
2
2
|
export { e as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../chunks/border-input-group.
|
|
1
|
+
import { t as e } from "../chunks/border-input-group.DvjGBsxF.js";
|
|
2
2
|
export { e as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../chunks/color-picker.
|
|
1
|
+
import { t as e } from "../chunks/color-picker.CJL_5JjX.js";
|
|
2
2
|
export { e as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../chunks/color-swatch-group.
|
|
1
|
+
import { t as e } from "../chunks/color-swatch-group.NBdhiXFI.js";
|
|
2
2
|
export { e as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../chunks/confirm-popover.
|
|
1
|
+
import { t as e } from "../chunks/confirm-popover.Difhn86O.js";
|
|
2
2
|
export { e as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../chunks/document-viewer.
|
|
1
|
+
import { t as e } from "../chunks/document-viewer.c03KTUv2.js";
|
|
2
2
|
export { e as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../chunks/dropdown.
|
|
1
|
+
import { t as e } from "../chunks/dropdown.jv7u3Wm8.js";
|
|
2
2
|
export { e as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../chunks/file-on-demand.
|
|
1
|
+
import { t as e } from "../chunks/file-on-demand.7OPAGIG4.js";
|
|
2
2
|
export { e as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../chunks/menu-item.
|
|
1
|
+
import { t as e } from "../chunks/menu-item.BpILLN4i.js";
|
|
2
2
|
export { e as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../chunks/menu.
|
|
1
|
+
import { t as e } from "../chunks/menu.BPTg0Ebu.js";
|
|
2
2
|
export { e as default };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { t as e } from "../chunks/bicolor-picker.
|
|
2
|
-
import { t } from "../chunks/border-input-group.
|
|
1
|
+
import { t as e } from "../chunks/bicolor-picker.BFLMj79r.js";
|
|
2
|
+
import { t } from "../chunks/border-input-group.DvjGBsxF.js";
|
|
3
3
|
import { t as n } from "../chunks/color-swatch.CjsFtiDs.js";
|
|
4
|
-
import { t as r } from "../chunks/confirm-popover.
|
|
4
|
+
import { t as r } from "../chunks/confirm-popover.Difhn86O.js";
|
|
5
5
|
import { t as i } from "../chunks/corner-position-input-group.80bovr6F.js";
|
|
6
6
|
import { t as a } from "../chunks/cropper.D4ymxgab.js";
|
|
7
7
|
import { t as o } from "../chunks/dynamic-select.CyzcAHU5.js";
|
|
@@ -9,7 +9,7 @@ import { t as s } from "../chunks/folder-select.C4CxdyRw.js";
|
|
|
9
9
|
import { t as c } from "../chunks/masonry.MH1B7um_.js";
|
|
10
10
|
import { t as l } from "../chunks/padding-input-group.DYHH1M0o.js";
|
|
11
11
|
import { t as u } from "../chunks/position-picker.B3klGTsy.js";
|
|
12
|
-
import { t as d } from "../chunks/shadow-input-group.
|
|
12
|
+
import { t as d } from "../chunks/shadow-input-group.ByN6pEvN.js";
|
|
13
13
|
import { t as f } from "../chunks/share-option-list.CP5eOort.js";
|
|
14
14
|
import { t as p } from "../chunks/sidebar.C7hLNDp-.js";
|
|
15
15
|
import { t as m } from "../chunks/size-input-group.PcWfpR6-.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { t as e } from "../chunks/asset-link-format.DwCsUsTb.js";
|
|
2
|
-
import { t } from "../chunks/color-swatch-group.
|
|
3
|
-
import { t as n } from "../chunks/file-on-demand.
|
|
2
|
+
import { t } from "../chunks/color-swatch-group.NBdhiXFI.js";
|
|
3
|
+
import { t as n } from "../chunks/file-on-demand.7OPAGIG4.js";
|
|
4
4
|
export { e as CxAssetLinkFormat, t as CxColorSwatchGroup, n as CxFileOnDemand };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../chunks/shadow-input-group.
|
|
1
|
+
import { t as e } from "../chunks/shadow-input-group.ByN6pEvN.js";
|
|
2
2
|
export { e as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../chunks/tab-group.
|
|
1
|
+
import { t as e } from "../chunks/tab-group.n9Wud7bJ.js";
|
|
2
2
|
export { e as default };
|
|
@@ -24,7 +24,7 @@ import { t as ue } from "../chunks/alert.C-yzkTnx.js";
|
|
|
24
24
|
import { t as de } from "../chunks/am-chart.COOKOvT1.js";
|
|
25
25
|
import { t as fe } from "../chunks/animated-image.w6VdagCh.js";
|
|
26
26
|
import { t as I } from "../chunks/animation.CRLxJUWm.js";
|
|
27
|
-
import { n as pe, r as me, t as he } from "../chunks/src.
|
|
27
|
+
import { n as pe, r as me, t as he } from "../chunks/src.BPWnRgJw.js";
|
|
28
28
|
import { t as ge } from "../chunks/style-map.DPGQIxip.js";
|
|
29
29
|
import { n as _e, t as ve } from "../chunks/button.BE-fTtOZ.js";
|
|
30
30
|
import { c as ye, i as be, l as xe, o as Se, r as Ce, s as we } from "../chunks/resizable-component.styles.v9pbLDG5.js";
|
|
@@ -38,7 +38,7 @@ import { t as kt } from "../chunks/resize-observer.D9EHlnZI.js";
|
|
|
38
38
|
import { t as At } from "../chunks/line-clamp.CUDArhQk.js";
|
|
39
39
|
import { t as jt } from "../chunks/tag.pKuKheLJ.js";
|
|
40
40
|
import { t as Mt } from "../chunks/array-line-clamp.C1AjzjRt.js";
|
|
41
|
-
import { C as Nt, D as Pt, E as Ft, S as It, T as Lt, a as Rt, b as zt, d as Bt, f as Vt, l as Ht, n as Ut, o as Wt, u as Gt, v as Kt, w as qt, x as Jt, y as Yt } from "../chunks/config-manager.utils.
|
|
41
|
+
import { C as Nt, D as Pt, E as Ft, S as It, T as Lt, a as Rt, b as zt, d as Bt, f as Vt, l as Ht, n as Ut, o as Wt, u as Gt, v as Kt, w as qt, x as Jt, y as Yt } from "../chunks/config-manager.utils.08u3_NXs.js";
|
|
42
42
|
import { n as Xt, t as Zt } from "../chunks/position-picker.dY_vgF_H.js";
|
|
43
43
|
import { a as Qt, i as $t, n as en, o as tn, r as nn, s as rn, t as an } from "../chunks/src.BJhIYoMP.js";
|
|
44
44
|
import { a as on, c as sn, i as cn, n as ln, o as un, r as dn, t as fn, u as pn } from "../chunks/time.p1t0NCwj.js";
|
|
@@ -60,12 +60,12 @@ import { a as Kn, c as qn, i as Jn, l as Yn, n as Xn, o as Zn, r as Qn, s as $n,
|
|
|
60
60
|
import { t as tr } from "../chunks/drag.s0AcVpKh.js";
|
|
61
61
|
import { n as nr, t as rr } from "../chunks/math.od1DVmRk.js";
|
|
62
62
|
import { t as ir } from "../chunks/repeat.CKv9FPlC.js";
|
|
63
|
-
import { t as ar } from "../chunks/dropdown.
|
|
63
|
+
import { t as ar } from "../chunks/dropdown.jv7u3Wm8.js";
|
|
64
64
|
import { t as or } from "../chunks/focus-when-visible.DKscgyKo.js";
|
|
65
65
|
import { n as sr, t as cr } from "../chunks/tabbable.Bflg1dha.js";
|
|
66
66
|
import { n as lr, t as ur } from "../chunks/input.HC75Gdv_.js";
|
|
67
|
-
import { t as dr } from "../chunks/menu.
|
|
68
|
-
import { n as fr, r as pr, t as mr } from "../chunks/menu-item.
|
|
67
|
+
import { t as dr } from "../chunks/menu.BPTg0Ebu.js";
|
|
68
|
+
import { n as fr, r as pr, t as mr } from "../chunks/menu-item.BpILLN4i.js";
|
|
69
69
|
import { n as hr, t as gr } from "../chunks/ref.CU1NC5AM.js";
|
|
70
70
|
import { t as _r } from "../chunks/textarea.Bc4eCJgT.js";
|
|
71
71
|
import { t as vr } from "../chunks/option.CxsY_LQ-.js";
|
|
@@ -76,13 +76,13 @@ import { t as Er } from "../chunks/user-agent.D2bRhUeS.js";
|
|
|
76
76
|
import { t as Dr } from "../chunks/unsafe-html.Cb838aX7.js";
|
|
77
77
|
import { t as Or } from "../chunks/select.DLMCyAHm.js";
|
|
78
78
|
import { t as kr } from "../chunks/tab.B7cI6tex.js";
|
|
79
|
-
import { a as Ar, i as jr, n as Mr, r as Nr, t as Pr } from "../chunks/tab-group.
|
|
79
|
+
import { a as Ar, i as jr, n as Mr, r as Nr, t as Pr } from "../chunks/tab-group.n9Wud7bJ.js";
|
|
80
80
|
import { t as Fr } from "../chunks/parse.CDrJ-NY7.js";
|
|
81
81
|
import { t as Ir } from "../chunks/guard.Cf17k6Vx.js";
|
|
82
82
|
import { t as Lr } from "../chunks/map.ByDuLduF.js";
|
|
83
83
|
import { t as Rr } from "../chunks/tab-panel.BxeoKuSv.js";
|
|
84
84
|
import { t as zr } from "../chunks/visually-hidden.Bv3SInZp.js";
|
|
85
|
-
import { t as Br } from "../chunks/color-picker.
|
|
85
|
+
import { t as Br } from "../chunks/color-picker.CJL_5JjX.js";
|
|
86
86
|
import { t as Vr } from "../chunks/copy-button.DXNp4KvI.js";
|
|
87
87
|
import { S as Hr, _ as Ur, a as Wr, b as Gr, c as Kr, d as qr, f as Jr, g as Yr, h as Xr, i as Zr, l as Qr, m as $r, n as ei, o as ti, p as ni, r as ri, s as ii, t as ai, u as oi, v as si, x as ci, y as li } from "../chunks/date.BL4L64Hx.js";
|
|
88
88
|
import { t as ui } from "../chunks/date-calendar.Dobpjwzs.js";
|
|
@@ -94,7 +94,7 @@ import { t as hi } from "../chunks/diff.C5J0fzbu.js";
|
|
|
94
94
|
import { t as gi } from "../chunks/capitalize.BT_EavGy.js";
|
|
95
95
|
import { t as _i } from "../chunks/drawer.rdGcXxzU.js";
|
|
96
96
|
import { t as vi } from "../chunks/progress-bar.Br8Zi53n.js";
|
|
97
|
-
import { t as yi } from "../chunks/document-viewer.
|
|
97
|
+
import { t as yi } from "../chunks/document-viewer.c03KTUv2.js";
|
|
98
98
|
import { a as bi, c as xi, d as Si, f as Ci, i as wi, l as Ti, n as Ei, o as Di, p as Oi, r as ki, s as Ai, t as ji, u as Mi } from "../chunks/url.CZO_DV8Y.js";
|
|
99
99
|
import { a as Ni, c as Pi, d as Fi, f as Ii, h as Li, i as Ri, l as zi, m as Bi, n as Vi, o as Hi, p as Ui, r as Wi, s as Gi, t as Ki, u as qi } from "../chunks/color.CIOzHtLK.js";
|
|
100
100
|
import { t as Ji } from "../chunks/converters.CFh-tT4P.js";
|
|
@@ -144,10 +144,10 @@ import { t as vs } from "../chunks/timecode.Bte9Ww5o.js";
|
|
|
144
144
|
import { a as ys, i as bs, o as xs } from "../chunks/tree.0n9ApKdO.js";
|
|
145
145
|
import { t as Ss } from "../chunks/v4.JyXW8GUB.js";
|
|
146
146
|
import { n as Cs, t as ws } from "../chunks/video.BVMZglAW.js";
|
|
147
|
-
import { t as Ts } from "../chunks/bicolor-picker.
|
|
148
|
-
import { t as Es } from "../chunks/border-input-group.
|
|
147
|
+
import { t as Ts } from "../chunks/bicolor-picker.BFLMj79r.js";
|
|
148
|
+
import { t as Es } from "../chunks/border-input-group.DvjGBsxF.js";
|
|
149
149
|
import { t as Ds } from "../chunks/color-swatch.CjsFtiDs.js";
|
|
150
|
-
import { t as Os } from "../chunks/confirm-popover.
|
|
150
|
+
import { t as Os } from "../chunks/confirm-popover.Difhn86O.js";
|
|
151
151
|
import { t as ks } from "../chunks/corner-position-input-group.80bovr6F.js";
|
|
152
152
|
import { t as As } from "../chunks/cropper.D4ymxgab.js";
|
|
153
153
|
import { t as js } from "../chunks/toNumber.BBjIwSoo.js";
|
|
@@ -159,18 +159,18 @@ import { t as Rs } from "../chunks/choose.C2vpqhLc.js";
|
|
|
159
159
|
import { t as zs } from "../chunks/masonry.MH1B7um_.js";
|
|
160
160
|
import { t as Bs } from "../chunks/padding-input-group.DYHH1M0o.js";
|
|
161
161
|
import { t as Vs } from "../chunks/position-picker.B3klGTsy.js";
|
|
162
|
-
import { t as Hs } from "../chunks/shadow-input-group.
|
|
162
|
+
import { t as Hs } from "../chunks/shadow-input-group.ByN6pEvN.js";
|
|
163
163
|
import { t as Us } from "../chunks/share-option-list.CP5eOort.js";
|
|
164
164
|
import { t as Ws } from "../chunks/sidebar.C7hLNDp-.js";
|
|
165
165
|
import { t as Gs } from "../chunks/size-input-group.PcWfpR6-.js";
|
|
166
166
|
import { t as Ks } from "../chunks/stepper-wizard.D0bqPHhx.js";
|
|
167
167
|
import { t as qs } from "../chunks/typeface.BSwJtcyV.js";
|
|
168
168
|
import { T as Js, _ as Ys, a as Xs, b as Zs, c as Qs, d as $s, l as ec, m as tc, n as nc, o as rc, s as ic, t as ac, v as oc } from "../chunks/asset-link-format.DwCsUsTb.js";
|
|
169
|
-
import { c as sc, h as cc, l as lc, m as uc, p as dc, t as fc, u as pc } from "../chunks/color-swatch-group.
|
|
169
|
+
import { c as sc, h as cc, l as lc, m as uc, p as dc, t as fc, u as pc } from "../chunks/color-swatch-group.NBdhiXFI.js";
|
|
170
170
|
import { n as mc } from "../chunks/isArrayLikeObject.Da3IzQeH.js";
|
|
171
|
-
import { t as hc } from "../chunks/file-on-demand.
|
|
171
|
+
import { t as hc } from "../chunks/file-on-demand.7OPAGIG4.js";
|
|
172
172
|
import "../events.js";
|
|
173
|
-
import { $ as gc, A as _c, D as vc, E as yc, F as bc, G as xc, H as Sc, I as Cc, M as eee, N as tee, O as nee, P as ree, Q as iee, S as wc, T as aee, U as Tc, W as oee, X as Ec, Z as Dc, _ as Oc, a as see, b as cee, c as lee, d as kc, et as Ac, h as jc, i as Mc, j as uee, k as dee, l as fee, m as pee, r as mee, s as Nc, t as Pc, tt as Fc, u as Ic, v as Lc, w as Rc, x as zc } from "../chunks/configs-controller.
|
|
173
|
+
import { $ as gc, A as _c, D as vc, E as yc, F as bc, G as xc, H as Sc, I as Cc, M as eee, N as tee, O as nee, P as ree, Q as iee, S as wc, T as aee, U as Tc, W as oee, X as Ec, Z as Dc, _ as Oc, a as see, b as cee, c as lee, d as kc, et as Ac, h as jc, i as Mc, j as uee, k as dee, l as fee, m as pee, r as mee, s as Nc, t as Pc, tt as Fc, u as Ic, v as Lc, w as Rc, x as zc } from "../chunks/configs-controller.qLdjsXb7.js";
|
|
174
174
|
import { i as Bc } from "../chunks/timer.M6Aa3L_j.js";
|
|
175
175
|
import { a as Vc, c as Hc, d as Uc, f as Wc, i as Gc, l as Kc, n as qc, o as Jc, r as Yc, s as Xc, t as Zc, u as Qc } from "../chunks/src.CLGAM3OO.js";
|
|
176
176
|
import { t as $c } from "../chunks/value.C4_tUrAq.js";
|
|
@@ -28410,6 +28410,9 @@ var wO = class extends d {
|
|
|
28410
28410
|
isSelectableOption(e) {
|
|
28411
28411
|
return !!e.group && !e.type && !e.submenu?.length && !e.icon;
|
|
28412
28412
|
}
|
|
28413
|
+
resolveMenuItemType(e) {
|
|
28414
|
+
return e.type === "switch" ? pr.Checkbox : this.isSelectableOption(e) ? pr.Selectable : pr.Normal;
|
|
28415
|
+
}
|
|
28413
28416
|
render() {
|
|
28414
28417
|
return r`<!-- Set auto-width-factor to 0.5 to account for submenu --><cx-dropdown auto-width-factor="0.5" stay-open-on-select hoist><slot name="trigger" slot="trigger"><cx-button slot="trigger" variant=${this.triggerButtonVariant} caret size=${this.triggerButtonSize} class="dropdown__trigger-button">${this.label}</cx-button></slot>${ir(this.items, (e) => e.title, (e) => this.renderMenuSection(e))}</cx-dropdown>`;
|
|
28415
28418
|
}
|
|
@@ -28432,11 +28435,11 @@ var wO = class extends d {
|
|
|
28432
28435
|
let n = e.value === "sort", o = e.value === "groupBy";
|
|
28433
28436
|
return a?.length ? n || o ? r`${i} ${a[1]?.label ?? ""}
|
|
28434
28437
|
${a[1] ? `(${a[0]?.label})` : a[0]?.label ?? ""}` : r`${i} ${e.label} (${a[0].label})` : t ? r`${i}<span class="horizontal-text">${e.label}</span>` : e.type === "switch" ? r`${i}<cx-line-clamp lines="1">${e.label}</cx-line-clamp>` : r`${i} ${e.label}`;
|
|
28435
|
-
}, s = e.selected ? e.selectedTip : e.unselectedTip, c = e.type === "switch", l = this.
|
|
28438
|
+
}, s = e.selected ? e.selectedTip : e.unselectedTip, c = e.type === "switch", l = this.resolveMenuItemType(e), u = fr.has(l), d = r`<cx-menu-item type=${l} ?checked=${u && !!e.selected} class=${j({
|
|
28436
28439
|
"disable-chevron": !e.submenu,
|
|
28437
28440
|
"disable-hover": e.type === "button",
|
|
28438
28441
|
selected: !!e.selected && e.type !== "switch" || !!a?.length || !!e.forceHighlight
|
|
28439
|
-
})} data-group=${e.group} data-event-name=${e.eventName} ?data-setting=${e.icon === "settings"} ?disabled=${e.disabled}
|
|
28442
|
+
})} data-group=${e.group} data-event-name=${e.eventName} ?data-setting=${e.icon === "settings"} ?disabled=${e.disabled} .value=${e.value}>${e.type === "button" ? r`<cx-button size="medium" ?disabled=${e.disabled} @click=${this.handleButtonClick}>${i} ${e.label}</cx-button>` : o()}
|
|
28440
28443
|
${e.type === "switch" ? r`<cx-switch slot="suffix" inert aria-hidden="true" show-icon ?checked=${e.selected || !1} ?disabled=${e.disabled}></cx-switch>` : ""}
|
|
28441
28444
|
${e.submenu?.length ? r`<div slot="suffix" class="submenu-indicator"><span>${Pse(e.submenu)}</span></div><cx-menu slot="submenu" aria-label=${e.label}>${e.disabled ? "" : e.submenu.map((e) => this.renderMenuSection(e))}</cx-menu>` : ""}
|
|
28442
28445
|
${n ? r`<cx-tooltip slot="suffix" content=${n} ?disabled=${!n} hoist><cx-icon class="menu-item__tooltip__icon" name="info" tabindex="0" label=${n}></cx-icon></cx-tooltip>` : ""}
|
|
@@ -94889,7 +94892,7 @@ var ATe = [
|
|
|
94889
94892
|
return this.mappedSupportedLanguages.length > 1;
|
|
94890
94893
|
}
|
|
94891
94894
|
ensureConfigUi() {
|
|
94892
|
-
return this.configUiPromise ??= Promise.all([import("../chunks/config-manager.
|
|
94895
|
+
return this.configUiPromise ??= Promise.all([import("../chunks/config-manager.DSN_CtAN.js"), import("../chunks/configs-controller.qLdjsXb7.js").then((e) => e.n)]).then(async ([, e]) => {
|
|
94893
94896
|
this.configsController ??= new e.default(this.localize), await customElements.whenDefined("cx-config-manager"), await this.configManager?.updateComplete;
|
|
94894
94897
|
});
|
|
94895
94898
|
}
|
|
@@ -102588,6 +102591,9 @@ var q7 = "downloader_chunkSize", J7 = "downloader_rocketMode", yDe = class {
|
|
|
102588
102591
|
handleCookiesRejected() {
|
|
102589
102592
|
return this.invoke("handleCookiesRejected", []);
|
|
102590
102593
|
}
|
|
102594
|
+
handleCookiesAccepted() {
|
|
102595
|
+
return this.invoke("handleCookiesAccepted", []);
|
|
102596
|
+
}
|
|
102591
102597
|
async registerDownload(e) {
|
|
102592
102598
|
return this.invoke("registerDownload", [e]);
|
|
102593
102599
|
}
|
|
@@ -103182,7 +103188,7 @@ var n9 = {
|
|
|
103182
103188
|
[V5.Failed]: 0,
|
|
103183
103189
|
[V5.Paused]: 0,
|
|
103184
103190
|
[V5.WaitingServerProcessing]: 0
|
|
103185
|
-
}, this.isAllDownloadingFilesCompleted = !1, this.updateFilesInterval = null, this.checkDefaultRootNameInterval = null, this.checkCookiesRejectedInterval = void 0, this.cancelSingle = (e) => {
|
|
103191
|
+
}, this.isAllDownloadingFilesCompleted = !1, this.updateFilesInterval = null, this.checkDefaultRootNameInterval = null, this.checkCookiesRejectedInterval = void 0, this.checkCookiesAcceptedInterval = void 0, this.cancelSingle = (e) => {
|
|
103186
103192
|
this.manager?.cancelFile(e);
|
|
103187
103193
|
}, this.onCancelAll = async () => {
|
|
103188
103194
|
await this.manager?.cancelAllFiles(Object.keys(this.allFiles).filter((e) => this.allFiles[e].status !== V5.Cancelled));
|
|
@@ -103379,7 +103385,12 @@ var n9 = {
|
|
|
103379
103385
|
}
|
|
103380
103386
|
setCheckCookiesRejectedInterval() {
|
|
103381
103387
|
this.checkCookiesRejectedInterval && clearInterval(this.checkCookiesRejectedInterval), this.checkCookiesRejectedInterval = setInterval(() => {
|
|
103382
|
-
this.cookiesForDownloaderV2Rejected && (this.manager?.handleCookiesRejected(), clearInterval(this.checkCookiesRejectedInterval));
|
|
103388
|
+
this.cookiesForDownloaderV2Rejected && (this.manager?.handleCookiesRejected(), clearInterval(this.checkCookiesRejectedInterval), this.setCheckCookiesAcceptedInterval());
|
|
103389
|
+
}, 1e3);
|
|
103390
|
+
}
|
|
103391
|
+
setCheckCookiesAcceptedInterval() {
|
|
103392
|
+
this.checkCookiesAcceptedInterval && clearInterval(this.checkCookiesAcceptedInterval), this.checkCookiesAcceptedInterval = setInterval(() => {
|
|
103393
|
+
this.cookiesForDownloaderV2Rejected || (this.manager?.handleCookiesAccepted(), clearInterval(this.checkCookiesAcceptedInterval), this.setCheckCookiesRejectedInterval());
|
|
103383
103394
|
}, 1e3);
|
|
103384
103395
|
}
|
|
103385
103396
|
async updateSortedFiles() {
|
package/library/package.json
CHANGED
|
@@ -46,9 +46,9 @@ export default class CxMenuItem extends CortexElement {
|
|
|
46
46
|
anchor: HTMLAnchorElement | null;
|
|
47
47
|
menuItem: HTMLElement;
|
|
48
48
|
submenuIcon: HTMLElement;
|
|
49
|
-
/** The type of menu item to render. To use `checked`, this value must be set to `checkbox`. */
|
|
49
|
+
/** The type of menu item to render. To use `checked`, this value must be set to `checkbox` or `selectable`. */
|
|
50
50
|
type: MenuItemType;
|
|
51
|
-
/** Overrides the ARIA role derived from `type`.
|
|
51
|
+
/** Overrides the ARIA role derived from `type`. */
|
|
52
52
|
itemRole?: MenuItemRole;
|
|
53
53
|
/** The trigger type for the submenu. */
|
|
54
54
|
submenuTrigger: 'hover' | 'click' | 'both';
|