@orangelogic/design-system 3.70.0 → 3.72.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/{array-line-clamp.Cjkk2XeX.js → array-line-clamp.B1e77kEp.js} +2 -2
- package/library/chunks/{asset-link-format.B1hJaXGj.js → asset-link-format.H-8Ub7b2.js} +3 -3
- package/library/chunks/{bicolor-picker.nNsuMEn_.js → bicolor-picker.D0UMRORe.js} +1 -1
- package/library/chunks/{block-width.BjN9-8SG.js → block-width.BMFtjxt1.js} +25 -25
- package/library/chunks/{border-input-group.D2olfZEk.js → border-input-group.Bg4qoMFr.js} +2 -2
- package/library/chunks/{button.Cgunf6cP.js → button.DeRJNqpr.js} +1 -1
- package/library/chunks/button.styles.qqO2jzGj.js +5 -0
- package/library/chunks/{color-picker.DplW525w.js → color-picker.mgtzKjol.js} +6 -6
- package/library/chunks/{color-swatch-group.DgsZQWED.js → color-swatch-group.CefCwg8T.js} +11 -11
- package/library/chunks/{color-swatch.DIIrsEFp.js → color-swatch.-69F8jvl.js} +1 -1
- package/library/chunks/{config-manager.Dqp8ETZb.js → config-manager.l4GuPN9t.js} +23 -23
- package/library/chunks/{configs-controller.TnA890cs.js → configs-controller.Dc2KbPnm.js} +5 -5
- package/library/chunks/{confirm-popover.CHs9wF9b.js → confirm-popover.DYtD5qtp.js} +3 -3
- package/library/chunks/{corner-position-input-group.B8e7wxWC.js → corner-position-input-group.lsTSrT61.js} +2 -2
- package/library/chunks/{dialog.DVLWODoq.js → dialog.CfbeRoZl.js} +471 -460
- package/library/chunks/{document-viewer.CdSiBcGj.js → document-viewer.PpoBWYf2.js} +6 -6
- package/library/chunks/{drawer.CO5T5Y3N.js → drawer.DdZl0Tae.js} +37 -26
- package/library/chunks/{dropdown.wDZHlJpV.js → dropdown.rDfUb1b3.js} +2 -2
- package/library/chunks/{dynamic-select.DNYE60j1.js → dynamic-select.BLoP9tvq.js} +2 -2
- package/library/chunks/{element-clamp.BEcFOVGV.js → element-clamp.BXz2Lc5M.js} +1 -1
- package/library/chunks/{file-on-demand.CmAvdsRv.js → file-on-demand.BzGGpvIi.js} +9 -9
- package/library/chunks/{folder-select.DmhVucHZ.js → folder-select.ovN7047C.js} +6 -6
- package/library/chunks/{input.Fmdh6pnf.js → input.w9KQVNnx.js} +1 -0
- package/library/chunks/{line-clamp.QYln-UUK.js → line-clamp.DAhcB8_D.js} +1 -1
- package/library/chunks/{menu-item.DcN5ujBQ.js → menu-item.CX4NV4BU.js} +3 -1
- package/library/chunks/{menu.EBYRr4cO.js → menu.Al_SBJNI.js} +1 -1
- package/library/chunks/{padding-input-group.E8trRZI5.js → padding-input-group.BTjH4scb.js} +1 -1
- package/library/chunks/{pagination.2kAQwMrS.js → pagination.B17Ykd-G.js} +3 -3
- package/library/chunks/{radio-button.33LAnxuV.js → radio-button.D6wrpaQc.js} +1 -1
- package/library/chunks/{radio-card.2fdvifwL.js → radio-card.B7uO9Xs1.js} +1 -1
- package/library/chunks/{select.xDcOCLTR.js → select.BivTPBtv.js} +3 -3
- package/library/chunks/{shadow-input-group.Bnt4Xm8J.js → shadow-input-group.kaLCMX3c.js} +2 -2
- package/library/chunks/{size-input-group.C16sezUf.js → size-input-group.CFgOvLnO.js} +2 -2
- package/library/chunks/{src.vkWq4L8i.js → src.D9YCEfGw.js} +23 -23
- package/library/chunks/step.C-T63mG1.js +96 -0
- package/library/chunks/{stepper-wizard.BnRJXduo.js → stepper-wizard.BCmR5WiA.js} +8 -5
- package/library/chunks/{stepper.fAZR0Kj_.js → stepper.DR3oqUpm.js} +1 -1
- package/library/chunks/{tab-group.Ck40knPa.js → tab-group.DRQ_5LSk.js} +5 -5
- package/library/chunks/{tab.CyEGqvGj.js → tab.uRk_KNV2.js} +1 -1
- package/library/chunks/{tag.DJEoemdS.js → tag.B6BfN7x-.js} +1 -1
- package/library/chunks/{tree.BJ6AVr2e.js → tree.CQFXx5Sq.js} +2 -2
- package/library/chunks/{typeface.Ov3KGqRk.js → typeface.BHErcYfd.js} +1 -1
- package/library/components/array-line-clamp.js +1 -1
- package/library/components/asset-link-format.js +1 -1
- package/library/components/atoms.js +26 -26
- package/library/components/bicolor-picker.js +1 -1
- package/library/components/border-input-group.js +1 -1
- package/library/components/button.js +1 -1
- package/library/components/color-picker.js +1 -1
- package/library/components/color-swatch-group.js +1 -1
- package/library/components/color-swatch.js +1 -1
- package/library/components/confirm-popover.js +1 -1
- package/library/components/corner-position-input-group.js +1 -1
- package/library/components/dialog.js +1 -1
- package/library/components/document-viewer.js +1 -1
- package/library/components/drawer.js +1 -1
- package/library/components/dropdown.js +1 -1
- package/library/components/dynamic-select.js +1 -1
- package/library/components/element-clamp.js +1 -1
- package/library/components/file-on-demand.js +1 -1
- package/library/components/folder-select.js +1 -1
- package/library/components/input.js +1 -1
- package/library/components/line-clamp.js +1 -1
- package/library/components/menu-item.js +1 -1
- package/library/components/menu.js +1 -1
- package/library/components/molecules.js +12 -12
- package/library/components/organisms.js +3 -3
- package/library/components/padding-input-group.js +1 -1
- package/library/components/pagination.js +1 -1
- package/library/components/radio-button.js +1 -1
- package/library/components/radio-card.js +1 -1
- package/library/components/select.js +1 -1
- package/library/components/shadow-input-group.js +1 -1
- package/library/components/size-input-group.js +1 -1
- package/library/components/step.js +1 -1
- package/library/components/stepper-wizard.js +1 -1
- package/library/components/stepper.js +1 -1
- package/library/components/tab-group.js +1 -1
- package/library/components/tab.js +1 -1
- package/library/components/tag.js +1 -1
- package/library/components/tree-item.js +1 -1
- package/library/components/tree.js +1 -1
- package/library/components/typeface.js +1 -1
- package/library/components/types.js +52 -52
- package/library/css/ol-base.css +6 -6
- package/library/css/ol-dark.css +2 -2
- package/library/css/ol-light.css +4 -4
- package/library/package.json +1 -1
- package/library/packages/atoms/src/components/button/button.d.ts +1 -1
- package/library/packages/atoms/src/components/dialog/dialog.d.ts +9 -0
- package/library/packages/atoms/src/components/drawer/drawer.d.ts +9 -0
- package/library/packages/atoms/src/components/input/input.d.ts +4 -1
- package/library/packages/atoms/src/components/menu-item/menu-item.d.ts +4 -2
- package/library/packages/atoms/src/components/step/step.d.ts +5 -0
- package/library/packages/hybrid/rich-text/src/rich-text.d.ts +1 -1
- package/library/packages/molecules/src/stepper-wizard/stepper-wizard.d.ts +4 -0
- package/library/react-web-component.d.ts +9 -1
- package/package.json +1 -1
- package/library/chunks/button.styles.DB_kR8yB.js +0 -5
- package/library/chunks/step.DbrSxSnw.js +0 -93
|
@@ -11,18 +11,18 @@ import { t as icon_button_default } from "./icon-button.Dd-oDRfX.js";
|
|
|
11
11
|
import { t as n$1 } from "./when.BUskJLtZ.js";
|
|
12
12
|
import { t as icon_default } from "./icon.CeQpEaQz.js";
|
|
13
13
|
import { t as spinner_default } from "./spinner.o3Rjsff7.js";
|
|
14
|
-
import { t as button_default } from "./button.
|
|
14
|
+
import { t as button_default } from "./button.DeRJNqpr.js";
|
|
15
15
|
import { a as ResizeDirection, i as HeightMode, n as ResizableElement, t as resizable_component_styles_default } from "./resizable-component.styles.v9pbLDG5.js";
|
|
16
16
|
import { t as tooltip_default } from "./tooltip.fZNjia6Z.js";
|
|
17
17
|
import { t as resize_observer_default } from "./resize-observer.D9EHlnZI.js";
|
|
18
18
|
import { a as ObjectFit } from "./src.BJhIYoMP.js";
|
|
19
19
|
import { t as typography_default } from "./typography.B0mkhqTB.js";
|
|
20
|
-
import { t as dropdown_default } from "./dropdown.
|
|
20
|
+
import { t as dropdown_default } from "./dropdown.rDfUb1b3.js";
|
|
21
21
|
import { t as focusWhenVisible } from "./focus-when-visible.DKscgyKo.js";
|
|
22
|
-
import { t as input_default } from "./input.
|
|
23
|
-
import { t as menu_default } from "./menu.
|
|
24
|
-
import { t as menu_item_default } from "./menu-item.
|
|
25
|
-
import { t as drawer_default } from "./drawer.
|
|
22
|
+
import { t as input_default } from "./input.w9KQVNnx.js";
|
|
23
|
+
import { t as menu_default } from "./menu.Al_SBJNI.js";
|
|
24
|
+
import { t as menu_item_default } from "./menu-item.CX4NV4BU.js";
|
|
25
|
+
import { t as drawer_default } from "./drawer.DdZl0Tae.js";
|
|
26
26
|
import { t as progress_bar_default } from "./progress-bar.BJfkoZ6G.js";
|
|
27
27
|
import { fetchCortexApi } from "../utils.js";
|
|
28
28
|
import { a as require_react, n as w, r as require_client, t as require_jsx_runtime } from "./jsx-runtime.BqxT1jD6.js";
|
|
@@ -12,25 +12,26 @@ import { r as _, t as v } from "./animation-registry.DKd2AOcC.js";
|
|
|
12
12
|
import { t as y } from "./icon-button.Dd-oDRfX.js";
|
|
13
13
|
import { t as b } from "./if-defined.B29V_rEp.js";
|
|
14
14
|
import { t as x } from "./when.BUskJLtZ.js";
|
|
15
|
-
import {
|
|
16
|
-
import { t as w } from "./
|
|
17
|
-
import { t as T } from "./
|
|
15
|
+
import { t as S } from "./focus-when-visible.DKscgyKo.js";
|
|
16
|
+
import { r as C, t as w } from "./scroll.CEH_a4pm.js";
|
|
17
|
+
import { t as T } from "./modal.CrMcpGz2.js";
|
|
18
|
+
import { t as E } from "./capitalize.BT_EavGy.js";
|
|
18
19
|
//#region ../../packages/atoms/src/components/drawer/drawer.styles.ts
|
|
19
|
-
var
|
|
20
|
+
var D = t`:host{--size:25rem;--header-spacing:var(--cx-spacing-large);--body-spacing:var(--cx-spacing-large);--footer-spacing:var(--cx-spacing-large);--font-family:var(--cx-font-sans);display:contents}.drawer{top:0;pointer-events:none;width:0;height:0;inset-inline-start:0;overflow:hidden}.drawer--open{width:100%;height:100%}.drawer--persistent.drawer--open{width:var(--size);min-width:var(--size)}.drawer--contained{z-index:initial;position:absolute}.drawer--persistent{position:relative}.drawer--fixed{z-index:var(--cx-z-index-drawer);position:fixed}.drawer__panel{z-index:2;background-color:var(--cx-panel-background-color);max-width:100%;max-height:100%;box-shadow:var(--cx-shadow-large);pointer-events:all;flex-direction:column;display:flex;position:absolute;overflow:auto}.drawer__panel:focus{outline:none}.drawer--top .drawer__panel{top:0;inset-inline-end:auto;bottom:auto;width:100%;height:var(--size);inset-inline-start:0}.drawer--end .drawer__panel{top:0;inset-inline-end:0;bottom:auto;width:var(--size);height:100%;inset-inline-start:auto}.drawer--bottom .drawer__panel{top:auto;inset-inline-end:auto;bottom:0;width:100%;height:var(--size);inset-inline-start:0}.drawer--start .drawer__panel{top:0;inset-inline-end:auto;bottom:auto;width:var(--size);height:100%;inset-inline-start:0}.drawer__header{gap:var(--cx-spacing-small);padding:var(--header-spacing);border-bottom:solid 1px var(--cx-input-border-color);font-family:var(--font-family);display:flex}.drawer__header__content{flex:auto}.drawer__title{font:inherit;font-size:var(--cx-font-size-large);font-weight:var(--cx-font-weight-semibold);line-height:var(--cx-line-height-medium);align-items:center;margin:0;display:flex}.drawer__header-actions{justify-content:end;gap:var(--cx-spacing-2x-small);flex-wrap:wrap;flex-shrink:0;display:flex}.drawer__header-actions cx-icon-button,.drawer__header-actions ::slotted(cx-icon-button){font-size:var(--cx-font-size-medium);flex:none;align-items:center;display:flex}.drawer__description{font-family:var(--font-family);font-size:var(--cx-font-size-small);color:var(--cx-color-neutral-700)}.drawer__description ::slotted(*){margin:0}.drawer__body{padding:var(--body-spacing);-webkit-overflow-scrolling:touch;font-family:var(--font-family);flex:auto;display:block;overflow:auto}.drawer__footer{text-align:right;padding:var(--footer-spacing);font-family:var(--font-family)}.drawer__footer ::slotted(cx-button:not(:last-of-type)){margin-inline-end:var(--cx-spacing-x-small)}.drawer:not(.drawer--has-footer) .drawer__footer{display:none}.drawer__overlay{background-color:var(--cx-overlay-background-color);pointer-events:all;display:block;position:fixed;inset:0}.drawer--contained .drawer__overlay{opacity:0;position:absolute}.drawer--contained.drawer--ignore-parent-width.drawer--open{width:0;overflow:visible}.drawer--ignore-parent-width .drawer__panel{max-width:none}.drawer__overlay--disabled{display:none}@media (forced-colors:active){.drawer__panel{border:solid 1px var(--cx-color-neutral-0)}}`, O = 2e3, k = class extends o {
|
|
20
21
|
constructor(...e) {
|
|
21
|
-
super(...e), this.hasSlotController = new m(this, "description", "footer"), this.localize = new p(this), this.modal = new
|
|
22
|
+
super(...e), this.hasSlotController = new m(this, "description", "footer"), this.localize = new p(this), this.modal = new T(this), this.cancelDeferredInitialFocus = null, this.isClosing = !1, this.open = !1, this.label = "", this.placement = "end", this.contained = !1, this.ignoreParentWidth = !1, this.noHeader = !1, this.variant = "overlay", this.noCloseButton = !1, this.handleDocumentKeyDown = (e) => {
|
|
22
23
|
this.contained || e.key === "Escape" && this.modal.isActive() && this.open && (e.stopImmediatePropagation(), this.requestClose("keyboard"));
|
|
23
24
|
}, this.handleDocumentPointerDown = (e) => {
|
|
24
25
|
this.open && this.contained && this.ignoreParentWidth && (e.composedPath().includes(this.panel) || this.requestClose("overlay"));
|
|
25
26
|
};
|
|
26
27
|
}
|
|
27
|
-
static #e = this.styles = [c,
|
|
28
|
+
static #e = this.styles = [c, D];
|
|
28
29
|
static #t = this.dependencies = { "cx-icon-button": y };
|
|
29
30
|
connectedUpdatedCallback() {
|
|
30
|
-
this.drawer.hidden = !this.open, this.open && (this.addOpenListeners(), this.contained || (this.modal.activate(),
|
|
31
|
+
this.drawer.hidden = !this.open, this.open && (this.addOpenListeners(), this.contained || (this.modal.activate(), w(this)));
|
|
31
32
|
}
|
|
32
33
|
disconnectedCallback() {
|
|
33
|
-
super.disconnectedCallback(), this.modal.deactivate(), this.originalTrigger = null,
|
|
34
|
+
super.disconnectedCallback(), this.clearDeferredInitialFocus(), this.modal.deactivate(), this.originalTrigger = null, C(this), this.removeOpenListeners();
|
|
34
35
|
}
|
|
35
36
|
willUpdate(e) {
|
|
36
37
|
super.willUpdate(e), e.has("open") && (e.get("open") && !this.open ? this.isClosing = !0 : this.open && (this.isClosing = !1));
|
|
@@ -58,17 +59,17 @@ var E = t`:host{--size:25rem;--header-spacing:var(--cx-spacing-large);--body-spa
|
|
|
58
59
|
});
|
|
59
60
|
}
|
|
60
61
|
async handleOpenChange() {
|
|
61
|
-
if (this.open) {
|
|
62
|
-
this.emit("cx-show"), this.addOpenListeners(), this.originalTrigger = document.activeElement, this.contained || (this.modal.activate(),
|
|
62
|
+
if (this.clearDeferredInitialFocus(), this.open) {
|
|
63
|
+
this.emit("cx-show"), this.addOpenListeners(), this.originalTrigger = document.activeElement, this.contained || (this.modal.activate(), w(this));
|
|
63
64
|
let e = this.querySelector("[autofocus]");
|
|
64
65
|
e && e.removeAttribute("autofocus"), await Promise.all([u(this.drawer), u(this.overlay)]), this.drawer.hidden = !1, requestAnimationFrame(() => {
|
|
65
|
-
this.emit("cx-initial-focus", { cancelable: !0 }).defaultPrevented || (e
|
|
66
|
+
this.emit("cx-initial-focus", { cancelable: !0 }).defaultPrevented || this.focusInitialTarget(e ?? this.panel), e && e.setAttribute("autofocus", "");
|
|
66
67
|
});
|
|
67
|
-
let t = v(this, `drawer.show${
|
|
68
|
+
let t = v(this, `drawer.show${E(this.placement)}`, { dir: this.localize.dir() }), n = v(this, "drawer.overlay.show", { dir: this.localize.dir() });
|
|
68
69
|
await Promise.all([l(this.panel, t.keyframes, t.options), this.contained ? Promise.resolve() : l(this.overlay, n.keyframes, n.options)]), this.emit("cx-after-show");
|
|
69
70
|
} else {
|
|
70
|
-
this.emit("cx-hide"), this.removeOpenListeners(), this.contained || (this.modal.deactivate(),
|
|
71
|
-
let e = v(this, `drawer.hide${
|
|
71
|
+
this.emit("cx-hide"), this.removeOpenListeners(), this.contained || (this.modal.deactivate(), C(this)), await Promise.all([u(this.drawer), u(this.overlay)]);
|
|
72
|
+
let e = v(this, `drawer.hide${E(this.placement)}`, { dir: this.localize.dir() }), t = v(this, "drawer.overlay.hide", { dir: this.localize.dir() });
|
|
72
73
|
await Promise.all([(this.contained ? Promise.resolve() : l(this.overlay, t.keyframes, t.options)).then(() => {
|
|
73
74
|
this.overlay.hidden = !0;
|
|
74
75
|
}), l(this.panel, e.keyframes, e.options).then(() => {
|
|
@@ -79,7 +80,7 @@ var E = t`:host{--size:25rem;--header-spacing:var(--cx-spacing-large);--body-spa
|
|
|
79
80
|
}
|
|
80
81
|
}
|
|
81
82
|
handleNoModalChange() {
|
|
82
|
-
this.open && !this.contained && (this.modal.activate(),
|
|
83
|
+
this.open && !this.contained && (this.modal.activate(), w(this)), this.open && this.contained && (this.modal.deactivate(), C(this));
|
|
83
84
|
}
|
|
84
85
|
async show() {
|
|
85
86
|
if (!this.open) return this.open = !0, d(this, "cx-after-show");
|
|
@@ -93,6 +94,16 @@ var E = t`:host{--size:25rem;--header-spacing:var(--cx-spacing-large);--body-spa
|
|
|
93
94
|
handleCloseButtonClick() {
|
|
94
95
|
this.requestClose("close-button");
|
|
95
96
|
}
|
|
97
|
+
focusInitialTarget(e) {
|
|
98
|
+
if (this.clearDeferredInitialFocus(), typeof e.checkVisibility != "function" || e.checkVisibility({ visibilityProperty: !0 })) {
|
|
99
|
+
e.focus({ preventScroll: !0 });
|
|
100
|
+
return;
|
|
101
|
+
}
|
|
102
|
+
this.cancelDeferredInitialFocus = S(e, O);
|
|
103
|
+
}
|
|
104
|
+
clearDeferredInitialFocus() {
|
|
105
|
+
this.cancelDeferredInitialFocus?.(), this.cancelDeferredInitialFocus = null;
|
|
106
|
+
}
|
|
96
107
|
render() {
|
|
97
108
|
let t = this.variant === "persistent";
|
|
98
109
|
return e`<div part="base" class=${g({
|
|
@@ -114,39 +125,39 @@ var E = t`:host{--size:25rem;--header-spacing:var(--cx-spacing-large);--body-spa
|
|
|
114
125
|
})} @click=${this.handleOverlayClick} tabindex="-1"></div><div part="panel" class="drawer__panel" role="dialog" aria-modal="true" aria-hidden=${this.open ? "false" : "true"} aria-label=${b(this.noHeader ? this.label : void 0)} aria-labelledby=${b(this.noHeader ? void 0 : "title")} tabindex="0">${this.noHeader ? "" : e`<header part="header" class="drawer__header"><div class="drawer__header__content"><h2 part="title" class="drawer__title" id="title"><!-- If there's no label, use an invisible character to prevent the header from collapsing --><slot name="label">${this.label.length > 0 ? this.label : ""}</slot></h2>${x(this.hasSlotController.test("description"), () => e`<div part="description" class="drawer__description"><slot name="description"></slot></div>`)}</div><div part="header-actions" class="drawer__header-actions"><slot name="header-actions"></slot>${x(!this.noCloseButton, () => e`<cx-icon-button part="close-button" exportparts="base:close-button__base" class="drawer__close" name="close" label=${this.localize.term("close")} @click=${this.handleCloseButtonClick}></cx-icon-button>`)}</div></header>`}<slot part="body" class="drawer__body"></slot><footer part="footer" class="drawer__footer"><slot name="footer"></slot></footer></div></div>`;
|
|
115
126
|
}
|
|
116
127
|
};
|
|
117
|
-
i([s(".drawer"), a("design:type", typeof HTMLElement > "u" ? Object : HTMLElement)],
|
|
128
|
+
i([s(".drawer"), a("design:type", typeof HTMLElement > "u" ? Object : HTMLElement)], k.prototype, "drawer", void 0), i([s(".drawer__panel"), a("design:type", typeof HTMLElement > "u" ? Object : HTMLElement)], k.prototype, "panel", void 0), i([s(".drawer__overlay"), a("design:type", typeof HTMLElement > "u" ? Object : HTMLElement)], k.prototype, "overlay", void 0), i([r(), a("design:type", Object)], k.prototype, "isClosing", void 0), i([n({
|
|
118
129
|
reflect: !0,
|
|
119
130
|
type: Boolean
|
|
120
|
-
}), a("design:type", Object)],
|
|
131
|
+
}), a("design:type", Object)], k.prototype, "open", void 0), i([n({ reflect: !0 }), a("design:type", Object)], k.prototype, "label", void 0), i([n({ reflect: !0 }), a("design:type", String)], k.prototype, "placement", void 0), i([n({
|
|
121
132
|
reflect: !0,
|
|
122
133
|
type: Boolean
|
|
123
|
-
}), a("design:type", Object)],
|
|
134
|
+
}), a("design:type", Object)], k.prototype, "contained", void 0), i([n({
|
|
124
135
|
attribute: "ignore-parent-width",
|
|
125
136
|
reflect: !0,
|
|
126
137
|
type: Boolean
|
|
127
|
-
}), a("design:type", Object)],
|
|
138
|
+
}), a("design:type", Object)], k.prototype, "ignoreParentWidth", void 0), i([n({
|
|
128
139
|
attribute: "no-header",
|
|
129
140
|
reflect: !0,
|
|
130
141
|
type: Boolean
|
|
131
|
-
}), a("design:type", Object)],
|
|
142
|
+
}), a("design:type", Object)], k.prototype, "noHeader", void 0), i([n({
|
|
132
143
|
reflect: !0,
|
|
133
144
|
type: String
|
|
134
|
-
}), a("design:type", Object)],
|
|
145
|
+
}), a("design:type", Object)], k.prototype, "variant", void 0), i([n({
|
|
135
146
|
attribute: "no-close-button",
|
|
136
147
|
reflect: !0,
|
|
137
148
|
type: Boolean
|
|
138
|
-
}), a("design:type", Object)],
|
|
149
|
+
}), a("design:type", Object)], k.prototype, "noCloseButton", void 0), i([
|
|
139
150
|
h("open", { waitUntilFirstUpdate: !0 }),
|
|
140
151
|
a("design:type", Function),
|
|
141
152
|
a("design:paramtypes", []),
|
|
142
153
|
a("design:returntype", Promise)
|
|
143
|
-
],
|
|
154
|
+
], k.prototype, "handleOpenChange", null), i([
|
|
144
155
|
h("contained", { waitUntilFirstUpdate: !0 }),
|
|
145
156
|
a("design:type", Function),
|
|
146
157
|
a("design:paramtypes", []),
|
|
147
158
|
a("design:returntype", void 0)
|
|
148
|
-
],
|
|
149
|
-
var
|
|
159
|
+
], k.prototype, "handleNoModalChange", null), k = i([f("cx-drawer")], k);
|
|
160
|
+
var A = k;
|
|
150
161
|
_("drawer.showTop", {
|
|
151
162
|
keyframes: [{
|
|
152
163
|
opacity: 0,
|
|
@@ -286,4 +297,4 @@ _("drawer.showTop", {
|
|
|
286
297
|
options: { duration: 250 }
|
|
287
298
|
});
|
|
288
299
|
//#endregion
|
|
289
|
-
export {
|
|
300
|
+
export { A as t };
|
|
@@ -13,8 +13,8 @@ import { r as _, t as v } from "./animation-registry.DKd2AOcC.js";
|
|
|
13
13
|
import { t as y } from "./if-defined.B29V_rEp.js";
|
|
14
14
|
import { t as b } from "./focus-when-visible.DKscgyKo.js";
|
|
15
15
|
import { t as x } from "./tabbable.Bflg1dha.js";
|
|
16
|
-
import { t as S } from "./input.
|
|
17
|
-
import { t as C } from "./menu.
|
|
16
|
+
import { t as S } from "./input.w9KQVNnx.js";
|
|
17
|
+
import { t as C } from "./menu.Al_SBJNI.js";
|
|
18
18
|
import { t as w } from "./textarea.BgWdR_7D.js";
|
|
19
19
|
//#region ../../packages/utils/src/custom-element/escapable-overlays.ts
|
|
20
20
|
var T = [], E = class {
|
|
@@ -9,11 +9,11 @@ import { t as d } from "./icon-button.Dd-oDRfX.js";
|
|
|
9
9
|
import { t as f } from "./if-defined.B29V_rEp.js";
|
|
10
10
|
import { t as p } from "./when.BUskJLtZ.js";
|
|
11
11
|
import { t as m } from "./style-map.DPGQIxip.js";
|
|
12
|
-
import { t as h } from "./button.
|
|
12
|
+
import { t as h } from "./button.DeRJNqpr.js";
|
|
13
13
|
import { t as g } from "./debounce.Ci-xdsHE.js";
|
|
14
14
|
import { t as _ } from "./repeat.CKv9FPlC.js";
|
|
15
15
|
import { n as v, t as y } from "./option.DckbOkYC.js";
|
|
16
|
-
import { t as b } from "./select.
|
|
16
|
+
import { t as b } from "./select.BivTPBtv.js";
|
|
17
17
|
import { t as x } from "./map.ByDuLduF.js";
|
|
18
18
|
import { t as S } from "./keyed.zYwdaCfO.js";
|
|
19
19
|
import { t as C } from "./_baseIteratee.DWc2-Bvm.js";
|
|
@@ -8,7 +8,7 @@ import { t as m } from "./i18n.BJ2p4em8.js";
|
|
|
8
8
|
import { t as h } from "./watch.Ub5r8btz.js";
|
|
9
9
|
import { t as g } from "./class-map.D8nsNOVJ.js";
|
|
10
10
|
import { n as _, t as v } from "./animation-registry.DKd2AOcC.js";
|
|
11
|
-
import { t as y } from "./button.
|
|
11
|
+
import { t as y } from "./button.DeRJNqpr.js";
|
|
12
12
|
//#region ../../packages/atoms/src/components/element-clamp/element-clamp.styles.ts
|
|
13
13
|
var b = t`:host{--toggler-color:var(--cx-color-primary);display:block;overflow:hidden}.element-clamp{overflow-anchor:none}.element-clamp--disabled{opacity:.5}.element-clamp-icon{transition:var(--cx-transition-medium) rotate ease;flex:none;align-items:center;display:flex}.details--open .element-clamp-icon{rotate:90deg}.details--open.details--rtl .element-clamp-icon{rotate:-90deg}.element-clamp--open slot[name=expand-icon],.element-clamp:not(.element-clamp--open) slot[name=collapse-icon]{display:none}.element-clamp__content{display:block;overflow:hidden}.toggler{margin-top:var(--cx-spacing-2x-small);display:block}.toggler::part(base){color:var(--toggler-color);font-weight:var(--cx-font-weight-medium);text-transform:none;width:auto}.toggler::part(label){padding-left:0}`, x = class extends o {
|
|
14
14
|
static #e = this.styles = [c, b];
|
|
@@ -11,30 +11,30 @@ import { t as _ } from "./when.BUskJLtZ.js";
|
|
|
11
11
|
import { t as v } from "./icon.CeQpEaQz.js";
|
|
12
12
|
import { t as ee } from "./spinner.o3Rjsff7.js";
|
|
13
13
|
import { t as te } from "./style-map.DPGQIxip.js";
|
|
14
|
-
import { t as ne } from "./button.
|
|
14
|
+
import { t as ne } from "./button.DeRJNqpr.js";
|
|
15
15
|
import { d as y } from "./string.DAuTpyw8.js";
|
|
16
16
|
import { t as re } from "./debounce.Ci-xdsHE.js";
|
|
17
17
|
import { t as b } from "./tooltip.fZNjia6Z.js";
|
|
18
|
-
import { t as x } from "./line-clamp.
|
|
18
|
+
import { t as x } from "./line-clamp.DAhcB8_D.js";
|
|
19
19
|
import { t as S } from "./number.CNp5LKkv.js";
|
|
20
20
|
import { t as C } from "./typography.B0mkhqTB.js";
|
|
21
21
|
import { t as ie } from "./avatar.Ce0OZHBT.js";
|
|
22
22
|
import { t as w } from "./repeat.CKv9FPlC.js";
|
|
23
|
-
import { t as ae } from "./input.
|
|
23
|
+
import { t as ae } from "./input.w9KQVNnx.js";
|
|
24
24
|
import { t as oe } from "./option.DckbOkYC.js";
|
|
25
25
|
import { t as se } from "./space.Dd8jezXK.js";
|
|
26
|
-
import { t as ce } from "./select.
|
|
27
|
-
import { t as le } from "./tab.
|
|
28
|
-
import { t as T } from "./tab-group.
|
|
26
|
+
import { t as ce } from "./select.BivTPBtv.js";
|
|
27
|
+
import { t as le } from "./tab.uRk_KNV2.js";
|
|
28
|
+
import { t as T } from "./tab-group.DRQ_5LSk.js";
|
|
29
29
|
import { t as ue } from "./tab-panel.BxeoKuSv.js";
|
|
30
|
-
import { t as E } from "./dialog.
|
|
30
|
+
import { t as E } from "./dialog.CfbeRoZl.js";
|
|
31
31
|
import { t as de } from "./divider.CqSNZCU8.js";
|
|
32
32
|
import { t as fe } from "./progress-bar.BJfkoZ6G.js";
|
|
33
33
|
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.BSSaZxeD.js";
|
|
36
|
-
import { a as A, i as me, n as he, t as j } from "./tree.
|
|
37
|
-
import { t as ge } from "./confirm-popover.
|
|
36
|
+
import { a as A, i as me, n as he, t as j } from "./tree.CQFXx5Sq.js";
|
|
37
|
+
import { t as ge } from "./confirm-popover.DYtD5qtp.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";
|
|
@@ -10,18 +10,18 @@ import { t as p } from "./if-defined.B29V_rEp.js";
|
|
|
10
10
|
import { t as m } from "./when.BUskJLtZ.js";
|
|
11
11
|
import { t as h } from "./icon.CeQpEaQz.js";
|
|
12
12
|
import { t as g } from "./style-map.DPGQIxip.js";
|
|
13
|
-
import { t as _ } from "./button.
|
|
13
|
+
import { t as _ } from "./button.DeRJNqpr.js";
|
|
14
14
|
import { c as v, d as y, i as b } from "./string.DAuTpyw8.js";
|
|
15
15
|
import { t as x } from "./debounce.Ci-xdsHE.js";
|
|
16
|
-
import { t as S } from "./line-clamp.
|
|
17
|
-
import { t as C } from "./tag.
|
|
16
|
+
import { t as S } from "./line-clamp.DAhcB8_D.js";
|
|
17
|
+
import { t as C } from "./tag.B6BfN7x-.js";
|
|
18
18
|
import { t as w } from "./repeat.CKv9FPlC.js";
|
|
19
|
-
import { t as T } from "./input.
|
|
19
|
+
import { t as T } from "./input.w9KQVNnx.js";
|
|
20
20
|
import { t as E } from "./space.Dd8jezXK.js";
|
|
21
|
-
import { t as D } from "./select.
|
|
21
|
+
import { t as D } from "./select.BivTPBtv.js";
|
|
22
22
|
import { t as O } from "./template.Cyvih0XQ.js";
|
|
23
23
|
import { n as k } from "./asset-link-format.DhdgEsA0.js";
|
|
24
|
-
import { a as A, i as j } from "./tree.
|
|
24
|
+
import { a as A, i as j } from "./tree.CQFXx5Sq.js";
|
|
25
25
|
import { c as M, f as N, p as P } from "./endpoints.jOHOmF_t.js";
|
|
26
26
|
import { t as F } from "./choose.C2vpqhLc.js";
|
|
27
27
|
//#region ../../node_modules/axios/index.js
|
|
@@ -2240,6 +2240,7 @@ i([s(".input__control"), a("design:type", typeof HTMLInputElement > "u" ? Object
|
|
|
2240
2240
|
type: String
|
|
2241
2241
|
}), a("design:type", String)], $.prototype, "autoCorrect", void 0), i([n(), a("design:type", Object)], $.prototype, "autocomplete", void 0), i([n({
|
|
2242
2242
|
attribute: "autofocus",
|
|
2243
|
+
reflect: !0,
|
|
2243
2244
|
type: Boolean
|
|
2244
2245
|
}), a("design:type", Boolean)], $.prototype, "autoFocus", void 0), i([n({
|
|
2245
2246
|
attribute: "enterkeyhint",
|
|
@@ -3,7 +3,7 @@ import { a as n, i as r, n as i, r as a, t as o } from "./cortex-element.DTrNUtd
|
|
|
3
3
|
import { t as s } from "./query.B1yi7t71.js";
|
|
4
4
|
import { t as c } from "./component.styles.0xM1ZmBs.js";
|
|
5
5
|
import { t as l } from "./custom-element.BEMYNDK1.js";
|
|
6
|
-
import "./button.
|
|
6
|
+
import "./button.DeRJNqpr.js";
|
|
7
7
|
import { c as u } from "./browser.Ct4pHP9I.js";
|
|
8
8
|
import { t as d } from "./debounce.Ci-xdsHE.js";
|
|
9
9
|
import "./tooltip.fZNjia6Z.js";
|
|
@@ -20,7 +20,7 @@ var C = /* @__PURE__ */ function(e) {
|
|
|
20
20
|
return e.Checkbox = "menuitemcheckbox", e.Item = "menuitem", e.Radio = "menuitemradio", e;
|
|
21
21
|
}({}), T = /* @__PURE__ */ function(e) {
|
|
22
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;
|
|
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;top:calc(50% - .5em);opacity:1;font-size:.75em;position:absolute;inset-inline-end:1.5em}.menu-item--loading:not(.menu-item--has-submenu){padding-inline-end:calc(var(--cx-spacing-small) + 1.5em)}.menu-item--loading.menu-item--has-submenu .menu-item__chevron{display:flex}.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:not(.menu-item--checkbox,.menu-item--selectable) .menu-item__check:not(.menu-item__check--always-show),.menu-item:not(.menu-item--has-submenu) .menu-item__chevron{width:0;margin:0;padding:0;overflow:hidden}.menu-item--checked .menu-item__check,.menu-item--has-submenu .menu-item__chevron{visibility:visible}.menu-item--loading .menu-item__chevron,.menu-item--loading .menu-item__check--suffix{visibility:hidden}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
|
}
|
|
@@ -268,6 +268,7 @@ var C = /* @__PURE__ */ function(e) {
|
|
|
268
268
|
"menu-item--has-submenu": this.isSubmenu(),
|
|
269
269
|
"menu-item--loading": this.loading,
|
|
270
270
|
"menu-item--rtl": r,
|
|
271
|
+
"menu-item--selectable": this.type === T.Selectable,
|
|
271
272
|
"menu-item--submenu-expanded": i
|
|
272
273
|
})} 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
274
|
"menu-item": !0,
|
|
@@ -278,6 +279,7 @@ var C = /* @__PURE__ */ function(e) {
|
|
|
278
279
|
"menu-item--has-submenu": this.isSubmenu(),
|
|
279
280
|
"menu-item--loading": this.loading,
|
|
280
281
|
"menu-item--rtl": r,
|
|
282
|
+
"menu-item--selectable": this.type === T.Selectable,
|
|
281
283
|
"menu-item--submenu-expanded": i
|
|
282
284
|
})} aria-haspopup=${this.isSubmenu()} aria-label=${this.getTextLabel()}>${t}</div>`;
|
|
283
285
|
}
|
|
@@ -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.BJ2p4em8.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.CX4NV4BU.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;
|
|
@@ -3,7 +3,7 @@ import { a as n, n as r, r as i, t as a } from "./cortex-element.DTrNUtdr.js";
|
|
|
3
3
|
import { t as o } from "./component.styles.0xM1ZmBs.js";
|
|
4
4
|
import { t as s } from "./custom-element.BEMYNDK1.js";
|
|
5
5
|
import { t as c } from "./repeat.CKv9FPlC.js";
|
|
6
|
-
import { t as l } from "./input.
|
|
6
|
+
import { t as l } from "./input.w9KQVNnx.js";
|
|
7
7
|
import { t as u } from "./parse.CDrJ-NY7.js";
|
|
8
8
|
import { t as d } from "./input-group.Dmd8XcxL.js";
|
|
9
9
|
//#region ../../packages/molecules/src/padding-input-group/padding-input-group.styles.ts
|
|
@@ -7,15 +7,15 @@ import { t as u } from "./watch.Ub5r8btz.js";
|
|
|
7
7
|
import { t as d } from "./class-map.D8nsNOVJ.js";
|
|
8
8
|
import { n as f, t as p } from "./icon-button.Dd-oDRfX.js";
|
|
9
9
|
import { t as m } from "./when.BUskJLtZ.js";
|
|
10
|
-
import { t as h } from "./button.
|
|
10
|
+
import { t as h } from "./button.DeRJNqpr.js";
|
|
11
11
|
import { t as g } from "./tooltip.fZNjia6Z.js";
|
|
12
12
|
import { t as _ } from "./typography.B0mkhqTB.js";
|
|
13
13
|
import { t as v } from "./math.od1DVmRk.js";
|
|
14
14
|
import { t as y } from "./repeat.CKv9FPlC.js";
|
|
15
|
-
import { t as b } from "./input.
|
|
15
|
+
import { t as b } from "./input.w9KQVNnx.js";
|
|
16
16
|
import { t as x } from "./option.DckbOkYC.js";
|
|
17
17
|
import { t as S } from "./space.Dd8jezXK.js";
|
|
18
|
-
import { t as C } from "./select.
|
|
18
|
+
import { t as C } from "./select.BivTPBtv.js";
|
|
19
19
|
//#region ../../packages/types/src/pagination.ts
|
|
20
20
|
var w = /* @__PURE__ */ function(e) {
|
|
21
21
|
return e.Both = "both", e.Pages = "pages", e.Rows = "rows", e;
|
|
@@ -8,7 +8,7 @@ import { t as u } from "./watch.Ub5r8btz.js";
|
|
|
8
8
|
import { t as d } from "./class-map.D8nsNOVJ.js";
|
|
9
9
|
import { t as f } from "./if-defined.B29V_rEp.js";
|
|
10
10
|
import { n as p } from "./static-html.Ce8Avr_g.js";
|
|
11
|
-
import { t as m } from "./button.styles.
|
|
11
|
+
import { t as m } from "./button.styles.qqO2jzGj.js";
|
|
12
12
|
//#region ../../packages/atoms/src/components/radio-button/radio-button.styles.ts
|
|
13
13
|
var h = e`
|
|
14
14
|
${m}
|
|
@@ -6,7 +6,7 @@ import { t as l } from "./custom-element.BEMYNDK1.js";
|
|
|
6
6
|
import { t as u } from "./slot.CZUlACxT.js";
|
|
7
7
|
import { t as d } from "./watch.Ub5r8btz.js";
|
|
8
8
|
import { t as f } from "./class-map.D8nsNOVJ.js";
|
|
9
|
-
import { t as p } from "./line-clamp.
|
|
9
|
+
import { t as p } from "./line-clamp.DAhcB8_D.js";
|
|
10
10
|
import { t as m } from "./card.3c-X4hqR.js";
|
|
11
11
|
import { t as h } from "./radio.DhPbmKbQ.js";
|
|
12
12
|
//#region ../../packages/atoms/src/components/radio-card/radio-card.styles.ts
|
|
@@ -14,8 +14,8 @@ import { t as x } from "./when.BUskJLtZ.js";
|
|
|
14
14
|
import { t as S } from "./icon.CeQpEaQz.js";
|
|
15
15
|
import { t as C } from "./spinner.o3Rjsff7.js";
|
|
16
16
|
import { t as w } from "./form.JYXtmwQ2.js";
|
|
17
|
-
import { t as T } from "./line-clamp.
|
|
18
|
-
import { t as E } from "./tag.
|
|
17
|
+
import { t as T } from "./line-clamp.DAhcB8_D.js";
|
|
18
|
+
import { t as E } from "./tag.B6BfN7x-.js";
|
|
19
19
|
import { t as D } from "./typography.B0mkhqTB.js";
|
|
20
20
|
import { t as O } from "./form-control.styles.Cec6lJbi.js";
|
|
21
21
|
import { t as k } from "./default-value.opqQgoRT.js";
|
|
@@ -379,7 +379,7 @@ var F = (e) => !(document.createElement(e.tagName).constructor === HTMLElement |
|
|
|
379
379
|
"select__display-input--large": this.size === "large",
|
|
380
380
|
"select__display-input--medium": this.size === "medium",
|
|
381
381
|
"select__display-input--small": this.size === "small"
|
|
382
|
-
})} type="text" placeholder=${this.placeholder} .disabled=${this.disabled} ?readonly=${this.inputBehavior === "none" && !this.allowFreetext} .value=${this.displayLabel} autocomplete="off" spellcheck="false" autocapitalize="off" aria-controls="listbox" aria-expanded=${this.open ? "true" : "false"} aria-haspopup="listbox" aria-label=${r ? void 0 : this.dataset.label} aria-labelledby="label" aria-disabled=${this.disabled ? "true" : "false"} aria-describedby="help-text" role="combobox" tabindex="0" @focus=${this.handleFocus} @input=${this.handleInput} @blur=${this.handleBlur}></span><input class="select__value-input" type="text" ?disabled=${this.disabled} ?required=${this.required} .value=${Array.isArray(this.value) ? this.value.join(", ") : this.value} tabindex="-1" aria-hidden="true" @focus=${this.focus} @invalid=${this.handleInvalid}>${x(this.loading, () => e`<cx-spinner part="spinner" role="status" aria-live="polite"></cx-spinner>`)}
|
|
382
|
+
})} type="text" placeholder=${c ? "" : this.placeholder} .disabled=${this.disabled} ?readonly=${this.inputBehavior === "none" && !this.allowFreetext} .value=${this.displayLabel} autocomplete="off" spellcheck="false" autocapitalize="off" aria-controls="listbox" aria-expanded=${this.open ? "true" : "false"} aria-haspopup="listbox" aria-label=${r ? void 0 : this.dataset.label} aria-labelledby="label" aria-disabled=${this.disabled ? "true" : "false"} aria-describedby="help-text" role="combobox" tabindex="0" @focus=${this.handleFocus} @input=${this.handleInput} @blur=${this.handleBlur}></span><input class="select__value-input" type="text" ?disabled=${this.disabled} ?required=${this.required} .value=${Array.isArray(this.value) ? this.value.join(", ") : this.value} tabindex="-1" aria-hidden="true" @focus=${this.focus} @invalid=${this.handleInvalid}>${x(this.loading, () => e`<cx-spinner part="spinner" role="status" aria-live="polite"></cx-spinner>`)}
|
|
383
383
|
${x(a, () => e`<button part="clear-button" class="select__clear" type="button" aria-label=${this.localize.term("clearEntry")} @mousedown=${this.handleClearMouseDown} @click=${this.handleClearClick} tabindex="-1"><slot name="clear-icon"><cx-icon name="cancel"></cx-icon></slot></button>`)}<slot name="suffix" part="suffix" class="select__suffix"></slot><slot name="expand-icon" part="expand-icon" class="select__expand-icon"><cx-icon name="arrow_drop_down"></cx-icon></slot></div><div id="listbox" role="listbox" aria-expanded=${this.open ? "true" : "false"} ?hidden=${!this.open || this.disabled} aria-multiselectable=${this.multiple ? "true" : "false"} aria-labelledby="label" part="listbox" class="select__listbox" tabindex="-1" @mouseup=${this.handleOptionClick} @slotchange=${this.handleDefaultSlotChange}><slot></slot>${x(this.shouldShowNoOptionsMessage, () => e`<cx-typography variant="body3" class="select__no-options" role="option">${this.noOptionText}</cx-typography>`)}</div></cx-popup></div><div part="form-control-help-text" id="help-text" class="form-control__help-text" aria-hidden=${i ? "false" : "true"}><slot name="help-text">${this.helpText}</slot></div></div>`;
|
|
384
384
|
}
|
|
385
385
|
};
|
|
@@ -3,10 +3,10 @@ import { a as n, n as r, r as i, t as a } from "./cortex-element.DTrNUtdr.js";
|
|
|
3
3
|
import { t as o } from "./component.styles.0xM1ZmBs.js";
|
|
4
4
|
import { t as s } from "./custom-element.BEMYNDK1.js";
|
|
5
5
|
import { t as c } from "./repeat.CKv9FPlC.js";
|
|
6
|
-
import { t as l } from "./input.
|
|
6
|
+
import { t as l } from "./input.w9KQVNnx.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.D0UMRORe.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) {
|
|
@@ -9,9 +9,9 @@ import { t as f } from "./icon-button.Dd-oDRfX.js";
|
|
|
9
9
|
import { t as p } from "./when.BUskJLtZ.js";
|
|
10
10
|
import { t as m } from "./tooltip.fZNjia6Z.js";
|
|
11
11
|
import { t as h } from "./default-value.opqQgoRT.js";
|
|
12
|
-
import { t as g } from "./input.
|
|
12
|
+
import { t as g } from "./input.w9KQVNnx.js";
|
|
13
13
|
import { t as _ } from "./space.Dd8jezXK.js";
|
|
14
|
-
import { t as v } from "./select.
|
|
14
|
+
import { t as v } from "./select.BivTPBtv.js";
|
|
15
15
|
//#region ../../packages/types/src/size-input-group.ts
|
|
16
16
|
var y = /* @__PURE__ */ function(e) {
|
|
17
17
|
return e.Percentage = "percentage", e.Pixel = "pixel", e;
|
|
@@ -7,12 +7,12 @@ import "./alert.D8Gwfkvy.js";
|
|
|
7
7
|
import "./am-chart.COOKOvT1.js";
|
|
8
8
|
import "./animated-image.w6VdagCh.js";
|
|
9
9
|
import { n as t, r as n } from "./animation.CRLxJUWm.js";
|
|
10
|
-
import "./button.
|
|
10
|
+
import "./button.DeRJNqpr.js";
|
|
11
11
|
import "./tooltip.fZNjia6Z.js";
|
|
12
12
|
import "./resize-observer.D9EHlnZI.js";
|
|
13
|
-
import "./line-clamp.
|
|
14
|
-
import "./tag.
|
|
15
|
-
import "./array-line-clamp.
|
|
13
|
+
import "./line-clamp.DAhcB8_D.js";
|
|
14
|
+
import "./tag.B6BfN7x-.js";
|
|
15
|
+
import "./array-line-clamp.B1e77kEp.js";
|
|
16
16
|
import "./typography.B0mkhqTB.js";
|
|
17
17
|
import "./audio.DOJNYr0C.js";
|
|
18
18
|
import "./avatar.Ce0OZHBT.js";
|
|
@@ -23,39 +23,39 @@ import "./breadcrumb-item.nHAFmgtO.js";
|
|
|
23
23
|
import "./button-group.CPfXrqyq.js";
|
|
24
24
|
import "./card.3c-X4hqR.js";
|
|
25
25
|
import "./checkbox.aFoOxk2j.js";
|
|
26
|
-
import "./dropdown.
|
|
27
|
-
import "./input.
|
|
28
|
-
import "./menu.
|
|
29
|
-
import "./menu-item.
|
|
26
|
+
import "./dropdown.rDfUb1b3.js";
|
|
27
|
+
import "./input.w9KQVNnx.js";
|
|
28
|
+
import "./menu.Al_SBJNI.js";
|
|
29
|
+
import "./menu-item.CX4NV4BU.js";
|
|
30
30
|
import "./textarea.BgWdR_7D.js";
|
|
31
31
|
import "./option.DckbOkYC.js";
|
|
32
32
|
import "./space.Dd8jezXK.js";
|
|
33
|
-
import "./select.
|
|
34
|
-
import "./tab.
|
|
35
|
-
import "./tab-group.
|
|
33
|
+
import "./select.BivTPBtv.js";
|
|
34
|
+
import "./tab.uRk_KNV2.js";
|
|
35
|
+
import "./tab-group.DRQ_5LSk.js";
|
|
36
36
|
import "./tab-panel.BxeoKuSv.js";
|
|
37
37
|
import "./visually-hidden.Bv3SInZp.js";
|
|
38
|
-
import "./color-picker.
|
|
38
|
+
import "./color-picker.mgtzKjol.js";
|
|
39
39
|
import "./copy-button.B4Q_8B50.js";
|
|
40
40
|
import "./date-calendar.Dc3XKO0t.js";
|
|
41
41
|
import "./details.BacO3ROq.js";
|
|
42
|
-
import "./dialog.
|
|
42
|
+
import "./dialog.CfbeRoZl.js";
|
|
43
43
|
import "./divider.CqSNZCU8.js";
|
|
44
44
|
import "./diff.DAFtnzhM.js";
|
|
45
|
-
import "./drawer.
|
|
45
|
+
import "./drawer.DdZl0Tae.js";
|
|
46
46
|
import "./progress-bar.BJfkoZ6G.js";
|
|
47
|
-
import "./document-viewer.
|
|
47
|
+
import "./document-viewer.PpoBWYf2.js";
|
|
48
48
|
import "./image.WBQUoc3j.js";
|
|
49
49
|
import "./skeleton.BtwugOTG.js";
|
|
50
50
|
import "./dot-pagination.CH4nRyA8.js";
|
|
51
51
|
import "./dot-status.BATg_Fn-.js";
|
|
52
52
|
import "./e-chart.fGTLKIDX.js";
|
|
53
|
-
import "./element-clamp.
|
|
53
|
+
import "./element-clamp.BXz2Lc5M.js";
|
|
54
54
|
import "../components/format-bytes.js";
|
|
55
55
|
import "../components/format-date.js";
|
|
56
56
|
import "../components/format-number.js";
|
|
57
|
-
import "./grid.CK4PRwur.js";
|
|
58
57
|
import "./format-time.DZCXUWmw.js";
|
|
58
|
+
import "./grid.CK4PRwur.js";
|
|
59
59
|
import "./grid-item.CSieaU5T.js";
|
|
60
60
|
import "./header.Dz7W1DJC.js";
|
|
61
61
|
import "./hub-connection.C0CASy-Q.js";
|
|
@@ -67,22 +67,22 @@ import "./markdown.C1P0ctPs.js";
|
|
|
67
67
|
import "./menu-label.B-FOyfAX.js";
|
|
68
68
|
import "./menu-section.BzzA6L5E.js";
|
|
69
69
|
import "./mutation-observer.CD5prBIP.js";
|
|
70
|
-
import "./pagination.
|
|
70
|
+
import "./pagination.B17Ykd-G.js";
|
|
71
71
|
import "./progress-ring.BSfnNF9M.js";
|
|
72
72
|
import "./qr-code.SwjFPrvB.js";
|
|
73
73
|
import "./radio.DhPbmKbQ.js";
|
|
74
|
-
import "./radio-button.
|
|
75
|
-
import "./radio-card.
|
|
74
|
+
import "./radio-button.D6wrpaQc.js";
|
|
75
|
+
import "./radio-card.B7uO9Xs1.js";
|
|
76
76
|
import "./radio-group.DSnDDjKe.js";
|
|
77
77
|
import "./range.20iIQxEz.js";
|
|
78
78
|
import "./rating.BgUId4FT.js";
|
|
79
79
|
import "./relative-time.BSSaZxeD.js";
|
|
80
80
|
import "./split-panel.CVyqM2Dr.js";
|
|
81
|
-
import "./step.
|
|
82
|
-
import "./stepper.
|
|
81
|
+
import "./step.C-T63mG1.js";
|
|
82
|
+
import "./stepper.DR3oqUpm.js";
|
|
83
83
|
import "./switch.CBho2RVW.js";
|
|
84
84
|
import "./timecode.DME2imtx.js";
|
|
85
|
-
import "./tree.
|
|
85
|
+
import "./tree.CQFXx5Sq.js";
|
|
86
86
|
import "./video.Ba6tAEvb.js";
|
|
87
87
|
//#region ../../packages/atoms/src/components/animation/animations.ts
|
|
88
88
|
function r() {
|