@orangelogic/design-system 2.113.0 → 2.114.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/library/chunks/{asset.HL1qMnhg.js → asset.Drl4D1c7.js} +1 -1
- package/library/chunks/{button.DIvU_uFU.js → button.DwJEeW2t.js} +1 -1
- package/library/chunks/{color-swatch-group.DV5uB8OC.js → color-swatch-group.5Mqr0rNP.js} +7 -7
- package/library/chunks/{color-swatch.BoUZGGs4.js → color-swatch.DVzEaNeL.js} +1 -1
- package/library/chunks/{confirm-popover.DS9HIy3c.js → confirm-popover.BifwpSuf.js} +3 -3
- package/library/chunks/{dialog.DyT-Nai2.js → dialog.BYCWepBc.js} +2 -2
- package/library/chunks/{document-viewer.AiKX3RO6.js → document-viewer.Cui5mV3v.js} +5 -5
- package/library/chunks/{dot-pagination.CKbL6eN_.js → dot-pagination.C4l5vKor.js} +1 -1
- package/library/chunks/{file-on-demand.h8tCgq51.js → file-on-demand.AwMj4AfO.js} +246 -227
- package/library/chunks/{folder-select.eoufobYO.js → folder-select.Bc9x2hMO.js} +4 -4
- package/library/chunks/{header.BUp3_oeJ.js → header.Cf9ujCpg.js} +3 -3
- package/library/chunks/{i18n.C21qyGi6.js → i18n.CH-wak_P.js} +3 -1
- package/library/chunks/{icon-button.DxkJ-cp-.js → icon-button.CQiBjznj.js} +1 -1
- package/library/chunks/{iframe.CwxozWMt.js → iframe.BQPVygBJ.js} +1 -1
- package/library/chunks/{image.B-YcKRop.js → image.cT-FziNS.js} +1 -1
- package/library/chunks/{input.DdeXWD_F.js → input.CH4lKxPM.js} +1 -1
- package/library/chunks/{list-editor.Qx2ecTcL.js → list-editor.BBgFSBlF.js} +9 -9
- package/library/chunks/{option.CcGRV3jj.js → option.Bvh35v8S.js} +10 -10
- package/library/chunks/{pagination.CgAt4Keg.js → pagination.zQ2FFtxB.js} +5 -5
- package/library/chunks/{tab-group.hfUY7YE7.js → tab-group.DvMX02hY.js} +3 -3
- package/library/chunks/{table.CP3oGDY1.js → table.DLrle5SR.js} +5 -5
- package/library/chunks/{tree.YxFs3Tke.js → tree.Btf2Q4YZ.js} +10 -7
- package/library/components/alert.js +2 -2
- package/library/components/asset-link-format.js +6 -6
- package/library/components/atoms.js +129 -131
- package/library/components/audio.js +2 -2
- package/library/components/border-input-group.js +2 -2
- package/library/components/breadcrumb.js +1 -1
- package/library/components/button.js +2 -2
- package/library/components/color-picker.js +3 -3
- package/library/components/color-swatch-group.js +4 -4
- package/library/components/color-swatch.js +2 -2
- package/library/components/confirm-popover.js +4 -4
- package/library/components/copy-button.js +1 -1
- package/library/components/corner-position-input-group.js +3 -3
- package/library/components/date-calendar.js +1 -1
- package/library/components/details.js +1 -1
- package/library/components/dialog.js +3 -3
- package/library/components/divider.js +15 -15
- package/library/components/document-viewer.js +3 -3
- package/library/components/dot-pagination.js +2 -2
- package/library/components/drawer.js +2 -2
- package/library/components/dropdown.js +2 -2
- package/library/components/dynamic-select.js +4 -4
- package/library/components/e-chart.js +1 -1
- package/library/components/element-clamp.js +2 -2
- package/library/components/file-on-demand.js +10 -10
- package/library/components/folder-select.js +4 -4
- package/library/components/format-bytes.js +1 -1
- package/library/components/format-date.js +1 -1
- package/library/components/format-number.js +1 -1
- package/library/components/format-time.js +1 -1
- package/library/components/header.js +2 -2
- package/library/components/icon-button.js +2 -2
- package/library/components/iframe.js +2 -2
- package/library/components/image-comparer.js +1 -1
- package/library/components/image.js +2 -2
- package/library/components/input.js +2 -2
- package/library/components/line-clamp.js +1 -1
- package/library/components/list-editor.js +7 -7
- package/library/components/masonry.js +2 -2
- package/library/components/menu-item.js +1 -1
- package/library/components/menu.js +3 -3
- package/library/components/molecules.js +4 -4
- package/library/components/option.js +2 -2
- package/library/components/organisms.js +2 -2
- package/library/components/padding-input-group.js +1 -1
- package/library/components/pagination.js +6 -6
- package/library/components/popup.js +1 -1
- package/library/components/position-picker.js +1 -1
- package/library/components/progress-bar.js +1 -1
- package/library/components/progress-ring.js +1 -1
- package/library/components/radio-button.js +10 -10
- package/library/components/radio-card.js +6 -6
- package/library/components/radio.js +2 -2
- package/library/components/range.js +1 -1
- package/library/components/rating.js +1 -1
- package/library/components/relative-time.js +1 -1
- package/library/components/resize-observer.js +3 -3
- package/library/components/select.js +7 -7
- package/library/components/shadow-input-group.js +1 -1
- package/library/components/share-option-list.js +10 -10
- package/library/components/sidebar.js +1 -1
- package/library/components/size-input-group.js +3 -3
- package/library/components/spinner.js +1 -1
- package/library/components/split-panel.js +1 -1
- package/library/components/tab-group.js +4 -4
- package/library/components/tab.js +2 -2
- package/library/components/table.js +5 -5
- package/library/components/tag.js +2 -2
- package/library/components/tooltip.js +1 -1
- package/library/components/tree-item.js +2 -2
- package/library/components/tree.js +2 -2
- package/library/components/typeface.js +2 -2
- package/library/components/types.js +29637 -29365
- package/library/components/video.js +2 -2
- package/library/package.json +1 -1
- package/library/packages/atoms/src/components/divider/divider.d.ts +1 -1
- package/library/packages/atoms/src/components/option/option.d.ts +1 -1
- package/library/packages/atoms/src/components/radio/radio.d.ts +1 -1
- package/library/packages/atoms/src/components/radio-button/radio-button.d.ts +1 -1
- package/library/packages/atoms/src/components/radio-card/radio-card.d.ts +1 -1
- package/library/packages/atoms/src/components/tree/tree.d.ts +1 -0
- package/library/packages/atoms/src/index.d.ts +0 -1
- package/library/packages/{atoms/src/components → molecules/src}/faceted-filter/components/facet/facet.d.ts +9 -9
- package/library/packages/{atoms/src/components → molecules/src}/faceted-filter/faceted-filter.d.ts +12 -12
- package/library/packages/molecules/src/icon-picker/icon-picker.d.ts +1 -1
- package/library/packages/molecules/src/index.d.ts +1 -0
- package/library/packages/molecules/src/share-option-list/share-option-list.d.ts +1 -1
- package/library/packages/organisms/src/carousel/carousel.d.ts +1 -0
- package/library/packages/organisms/src/file-on-demand/components/file-on-demand-pinned-status.ts/file-on-demand-pinned-status.d.ts +2 -0
- package/library/packages/organisms/src/file-on-demand/file-on-demand.d.ts +1 -0
- package/library/packages/utils/src/custom-element/i18n.d.ts +3 -1
- package/library/react-web-component.d.ts +49 -49
- package/library/utils.js +1 -1
- package/package.json +1 -1
- package/library/components/faceted-filter.d.ts +0 -3
- package/library/components/faceted-filter.js +0 -295
- /package/library/packages/{atoms/src/components → molecules/src}/faceted-filter/components/facet/facet.styles.d.ts +0 -0
- /package/library/packages/{atoms/src/components → molecules/src}/faceted-filter/faceted-filter.styles.d.ts +0 -0
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import { C as N } from "./icon.DnBh6-56.js";
|
|
2
|
-
import { C as ie } from "./input.
|
|
2
|
+
import { C as ie } from "./input.CH4lKxPM.js";
|
|
3
3
|
import H from "../components/line-clamp.js";
|
|
4
4
|
import oe from "../components/select.js";
|
|
5
5
|
import ce from "../components/tag.js";
|
|
6
|
-
import { C as g, a as ne } from "./tree.
|
|
6
|
+
import { C as g, a as ne } from "./tree.Btf2Q4YZ.js";
|
|
7
7
|
import { n as r, C as U } from "./lib-cortex-element.CVMmyPMC.js";
|
|
8
8
|
import { h as R, F as he, c as de } from "./endpoints.DBlquU2-.js";
|
|
9
9
|
import { M as k } from "./asset-link-format.B0c92pSs.js";
|
|
10
10
|
import { c as j } from "./component.styles.CRO4Odto.js";
|
|
11
11
|
import { c as M } from "./custom-element.L4WJXn1j.js";
|
|
12
|
-
import { L } from "./i18n.
|
|
12
|
+
import { L } from "./i18n.CH-wak_P.js";
|
|
13
13
|
import { w as f } from "./watch.CThbualB.js";
|
|
14
14
|
import { x as m, i as pe } from "./lit-element.jLBm65_O.js";
|
|
15
15
|
import { r as x } from "./state.CSDxrqLd.js";
|
|
16
16
|
import { e as Z } from "./query.BBf1UFkC.js";
|
|
17
17
|
import { r as ue } from "./choose.BTbF6BAn.js";
|
|
18
|
-
import { C as J } from "./button.
|
|
18
|
+
import { C as J } from "./button.DwJEeW2t.js";
|
|
19
19
|
import { d as fe } from "./debounce.CIEhztrj.js";
|
|
20
20
|
import { g as K, p as W, e as me } from "./string.DUgD4c9f.js";
|
|
21
21
|
import { o as y } from "./if-defined.BRoBj_Rp.js";
|
|
@@ -3,7 +3,7 @@ import { n as s, C as k } from "./lib-cortex-element.CVMmyPMC.js";
|
|
|
3
3
|
import { c as b } from "./component.styles.CRO4Odto.js";
|
|
4
4
|
import { i as p } from "./lit-element.jLBm65_O.js";
|
|
5
5
|
import { c as v } from "./custom-element.L4WJXn1j.js";
|
|
6
|
-
import { L as y } from "./i18n.
|
|
6
|
+
import { L as y } from "./i18n.CH-wak_P.js";
|
|
7
7
|
import { w } from "./watch.CThbualB.js";
|
|
8
8
|
import { e as m } from "./query.BBf1UFkC.js";
|
|
9
9
|
import { e as u } from "./class-map.BiVq-cVR.js";
|
|
@@ -581,12 +581,12 @@ let t = class extends k {
|
|
|
581
581
|
return this.hasAnchorLink && (this.anchorLink || this.textContent?.trim().replace(/\s+/g, "-").toLowerCase()) || "";
|
|
582
582
|
}
|
|
583
583
|
runFirstUpdated() {
|
|
584
|
-
setTimeout(() => {
|
|
584
|
+
this.setAttribute("role", "heading"), setTimeout(() => {
|
|
585
585
|
this.scrollToAnchor();
|
|
586
586
|
}, 200);
|
|
587
587
|
}
|
|
588
588
|
runConnectedCallback() {
|
|
589
|
-
this.addEventListener("click", this.handleClick), this.
|
|
589
|
+
this.addEventListener("click", this.handleClick), this.hasAnchorLink && (this.ownerWindow.addEventListener("hashchange", this.scrollToAnchor), this.ownerWindow.addEventListener(
|
|
590
590
|
"cx-cms5-page-ready",
|
|
591
591
|
this.handleCMS5PageReady,
|
|
592
592
|
{
|
|
@@ -239,6 +239,7 @@ const w = {
|
|
|
239
239
|
buttonAriaLabelHelpText: "Used to announce button label through speech. Ignored if button has own label",
|
|
240
240
|
cache: "Cache",
|
|
241
241
|
cacheSizeCannotBeNegative: "Cache size cannot be negative.",
|
|
242
|
+
cacheSizeDescription: "Cache stores your recently accessed and pinned files locally for instant loading.",
|
|
242
243
|
cacheUsageWarning: "Out of cache.",
|
|
243
244
|
cached: "Cached",
|
|
244
245
|
caching: "Caching",
|
|
@@ -918,7 +919,7 @@ const w = {
|
|
|
918
919
|
suggestDeletion: "Suggest deletion",
|
|
919
920
|
superscript: "Superscript",
|
|
920
921
|
syncCanceled: "Sync canceled.",
|
|
921
|
-
|
|
922
|
+
syncFailed: "Sync failed.",
|
|
922
923
|
syncing: "Syncing",
|
|
923
924
|
tabBackground: "Tab background",
|
|
924
925
|
table: "Table",
|
|
@@ -1003,6 +1004,7 @@ const w = {
|
|
|
1003
1004
|
urlValidationMessage: "Please enter a valid URL.",
|
|
1004
1005
|
useKeyboardArrowsToNavigateThroughTheCarousel: "Use the keyboard arrows to navigate through the carousel",
|
|
1005
1006
|
useKeyboardArrowsToNavigateThroughTheGallery: "Use the keyboard arrows to navigate through the gallery",
|
|
1007
|
+
used: "Used",
|
|
1006
1008
|
userAvatar: "User avatar",
|
|
1007
1009
|
userGuide: "User guide",
|
|
1008
1010
|
value: "Value",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as r, C as g } from "./lib-cortex-element.CVMmyPMC.js";
|
|
2
2
|
import { c as p } from "./component.styles.CRO4Odto.js";
|
|
3
3
|
import { c as h } from "./custom-element.L4WJXn1j.js";
|
|
4
|
-
import { L as m } from "./i18n.
|
|
4
|
+
import { L as m } from "./i18n.CH-wak_P.js";
|
|
5
5
|
import { r as f } from "./state.CSDxrqLd.js";
|
|
6
6
|
import { e as v } from "./query.BBf1UFkC.js";
|
|
7
7
|
import { e as y } from "./class-map.BiVq-cVR.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as r, C as d } from "./lib-cortex-element.CVMmyPMC.js";
|
|
2
2
|
import { c as h } from "./component.styles.CRO4Odto.js";
|
|
3
3
|
import { c as y } from "./custom-element.L4WJXn1j.js";
|
|
4
|
-
import { L as u } from "./i18n.
|
|
4
|
+
import { L as u } from "./i18n.CH-wak_P.js";
|
|
5
5
|
import { w as g } from "./watch.CThbualB.js";
|
|
6
6
|
import { i as v, x as p } from "./lit-element.jLBm65_O.js";
|
|
7
7
|
import { e as b } from "./query.BBf1UFkC.js";
|
|
@@ -3,7 +3,7 @@ import { c as Ce } from "./component.styles.CRO4Odto.js";
|
|
|
3
3
|
import { a as Le } from "./index.Cpamj0jB.js";
|
|
4
4
|
import { c as Se } from "./custom-element.L4WJXn1j.js";
|
|
5
5
|
import { d as $e } from "./debounce.CIEhztrj.js";
|
|
6
|
-
import { L as He } from "./i18n.
|
|
6
|
+
import { L as He } from "./i18n.CH-wak_P.js";
|
|
7
7
|
import { w as Z } from "./watch.CThbualB.js";
|
|
8
8
|
import { E as oe, i as re, x as C } from "./lit-element.jLBm65_O.js";
|
|
9
9
|
import { n as y } from "./lib-cortex-element.CVMmyPMC.js";
|
|
@@ -4,7 +4,7 @@ import { f as ot } from "./form-control.styles.CaGWmeAS.js";
|
|
|
4
4
|
import { c as lt } from "./custom-element.L4WJXn1j.js";
|
|
5
5
|
import { d as ht } from "./default-value.COZopaet.js";
|
|
6
6
|
import { F as pt } from "./form.B-5nQJva.js";
|
|
7
|
-
import { L as ct } from "./i18n.
|
|
7
|
+
import { L as ct } from "./i18n.CH-wak_P.js";
|
|
8
8
|
import { H as dt } from "./slot.j5oheLJC.js";
|
|
9
9
|
import { w as V } from "./watch.CThbualB.js";
|
|
10
10
|
import { i as ft, x as E } from "./lit-element.jLBm65_O.js";
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import { C as _ } from "./button.
|
|
2
|
-
import { C as O, D as q } from "./dialog.
|
|
1
|
+
import { C as _ } from "./button.DwJEeW2t.js";
|
|
2
|
+
import { C as O, D as q } from "./dialog.BYCWepBc.js";
|
|
3
3
|
import G from "../components/grid.js";
|
|
4
4
|
import R from "../components/grid-item.js";
|
|
5
|
-
import { C as k } from "./input.
|
|
5
|
+
import { C as k } from "./input.CH4lKxPM.js";
|
|
6
6
|
import j from "../components/line-clamp.js";
|
|
7
|
-
import { C as P } from "./option.
|
|
7
|
+
import { C as P } from "./option.Bvh35v8S.js";
|
|
8
8
|
import F from "../components/radio.js";
|
|
9
9
|
import B from "../components/radio-group.js";
|
|
10
10
|
import K from "../components/select.js";
|
|
11
11
|
import S from "../components/space.js";
|
|
12
|
-
import { C as U, H } from "./table.
|
|
12
|
+
import { C as U, H } from "./table.DLrle5SR.js";
|
|
13
13
|
import { C as E } from "./typography.DJC_UXgs.js";
|
|
14
14
|
import { n as o, C as T } from "./lib-cortex-element.CVMmyPMC.js";
|
|
15
15
|
import V from "../components/dynamic-select.js";
|
|
16
16
|
import { c as L } from "./component.styles.CRO4Odto.js";
|
|
17
17
|
import { c as M } from "./custom-element.L4WJXn1j.js";
|
|
18
18
|
import { d as W } from "./debounce.CIEhztrj.js";
|
|
19
|
-
import { L as D } from "./i18n.
|
|
19
|
+
import { L as D } from "./i18n.CH-wak_P.js";
|
|
20
20
|
import { w as v } from "./watch.CThbualB.js";
|
|
21
21
|
import { a as J } from "./_commonjsHelpers.DQNKXVTB.js";
|
|
22
22
|
import { i as z, x as l } from "./lit-element.jLBm65_O.js";
|
|
@@ -28,9 +28,9 @@ import { o as Z } from "./map.D8heArFD.js";
|
|
|
28
28
|
import { c as x } from "./repeat.DbF2p5ae.js";
|
|
29
29
|
import { n as N } from "./when.Dr1es41R.js";
|
|
30
30
|
import { t as Q } from "./toString.CAY8lys2.js";
|
|
31
|
-
import { C as ee } from "./icon-button.
|
|
32
|
-
import { C as te } from "./image.
|
|
33
|
-
import { a as ae } from "./asset.
|
|
31
|
+
import { C as ee } from "./icon-button.CQiBjznj.js";
|
|
32
|
+
import { C as te } from "./image.cT-FziNS.js";
|
|
33
|
+
import { a as ae } from "./asset.Drl4D1c7.js";
|
|
34
34
|
import { a as ie } from "./index.Cpamj0jB.js";
|
|
35
35
|
import { A as g } from "./content-builder.OsUmm8Wu.js";
|
|
36
36
|
import { b as ne, t as w } from "./string.DUgD4c9f.js";
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { n as s, C as x } from "./lib-cortex-element.CVMmyPMC.js";
|
|
2
2
|
import { c as m } from "./component.styles.CRO4Odto.js";
|
|
3
3
|
import { c as v } from "./custom-element.L4WJXn1j.js";
|
|
4
|
-
import { L as g } from "./i18n.
|
|
4
|
+
import { L as g } from "./i18n.CH-wak_P.js";
|
|
5
5
|
import { w as d } from "./watch.CThbualB.js";
|
|
6
|
-
import { i as
|
|
6
|
+
import { i as _, x as h } from "./lit-element.jLBm65_O.js";
|
|
7
7
|
import { r as f } from "./state.CSDxrqLd.js";
|
|
8
|
-
import { e as
|
|
8
|
+
import { e as b } from "./query.BBf1UFkC.js";
|
|
9
9
|
import { e as y } from "./class-map.BiVq-cVR.js";
|
|
10
10
|
import { n as u } from "./when.Dr1es41R.js";
|
|
11
|
-
import { C as
|
|
12
|
-
import
|
|
11
|
+
import { C as w } from "./icon.DnBh6-56.js";
|
|
12
|
+
import k from "../components/space.js";
|
|
13
13
|
var r = /* @__PURE__ */ ((t) => (t.Left = "left", t.Right = "right", t))(r || {});
|
|
14
|
-
const C =
|
|
14
|
+
const C = _`:host{-webkit-user-select:none;user-select:none;display:block}:host(:focus){outline:none}.option{font-family:var(--cx-font-sans);font-size:var(--cx-font-size-small);font-weight:var(--option-font-weight,var(--cx-font-weight-regular));line-height:var(--cx-line-height-large);letter-spacing:var(--cx-letter-spacing-normal);color:var(--option-color,var(--cx-color-neutral-700));padding:var(--cx-spacing-x-small) var(--cx-spacing-medium) var(--cx-spacing-x-small) var(--cx-spacing-x-small);transition:var(--cx-transition-fast) fill;cursor:pointer;align-items:center;display:flex;position:relative}.option:not(.option--show-check){padding-inline:var(--cx-spacing-small)}.option--hover:not(.option--current):not(.option--disabled){background-color:var(--cx-menu-item-background-color-hover)}.option--current,.option--current.option--disabled{background-color:var(--cx-menu-item-background-color-hover);opacity:1}.option--selected{color:var(--option-selected-color,var(--cx-color-primary));font-weight:var(--option-selected-font-weight,var(--cx-font-weight-regular))}.option--disabled{opacity:.5;cursor:default;outline:none}.option__content{flex:1}.option__label{line-height:var(--cx-line-height-medium);flex:auto;display:inline-block}.option .option__check{visibility:hidden;flex:none;justify-content:center;align-items:center;padding-inline-end:var(--cx-spacing-2x-small);display:none}.option--show-check .option__check{display:block}.option--show-check.option--selected .option__check{visibility:visible}.option__help-text{color:var(--option-help-text-color,var(--cx-color-neutral-600));font-weight:var(--option-help-text-font-weight,var(--cx-font-weight-regular))}.option--selected .option__content .option__help-text{color:var(--option-selected-help-text-color,var(--cx-color-primary));font-weight:var(--option-selected-help-text-font-weight,var(--cx-font-weight-regular))}.option__prefix,.option__suffix{flex:none;align-items:center;display:flex}.option__prefix::slotted(*){margin-inline-end:var(--cx-spacing-x-small)}.option__suffix::slotted(*){margin-inline-start:var(--cx-spacing-x-small)}.option__prefix{align-self:var(--prefix-alignment,center)}.option__suffix{align-self:var(--suffix-alignment,center)}.option__check{align-self:var(--check-alignment,center)}@media (forced-colors:active){:host(:hover:not([aria-disabled=true])) .option{outline-offset:-1px;outline:1px dashed selecteditem}}`;
|
|
15
15
|
var L = Object.defineProperty, E = Object.getOwnPropertyDescriptor, o = (t, n, i, l) => {
|
|
16
16
|
for (var a = l > 1 ? void 0 : l ? E(n, i) : n, c = t.length - 1, p; c >= 0; c--)
|
|
17
17
|
(p = t[c]) && (a = (l ? p(n, i, a) : p(a)) || a);
|
|
@@ -21,8 +21,8 @@ let e = class extends x {
|
|
|
21
21
|
constructor() {
|
|
22
22
|
super(...arguments), this.localize = new g(this), this.current = !1, this.selected = !1, this.hasHover = !1, this.value = "", this.disabled = !1, this.showCheck = !1, this.checkPlacement = r.Left;
|
|
23
23
|
}
|
|
24
|
-
|
|
25
|
-
|
|
24
|
+
runFirstUpdated() {
|
|
25
|
+
this.setAttribute("role", "option"), this.setAttribute("aria-selected", "false");
|
|
26
26
|
}
|
|
27
27
|
handleDefaultSlotChange() {
|
|
28
28
|
const t = this.getTextLabel();
|
|
@@ -80,9 +80,9 @@ let e = class extends x {
|
|
|
80
80
|
}
|
|
81
81
|
};
|
|
82
82
|
e.styles = [m, C];
|
|
83
|
-
e.dependencies = { "cx-icon":
|
|
83
|
+
e.dependencies = { "cx-icon": w, "cx-space": k };
|
|
84
84
|
o([
|
|
85
|
-
|
|
85
|
+
b(".option__label")
|
|
86
86
|
], e.prototype, "defaultSlot", 2);
|
|
87
87
|
o([
|
|
88
88
|
f()
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import b from "../components/space.js";
|
|
2
2
|
import { n as o, C as _ } from "./lib-cortex-element.CVMmyPMC.js";
|
|
3
|
-
import { C as P, I as y } from "./icon-button.
|
|
3
|
+
import { C as P, I as y } from "./icon-button.CQiBjznj.js";
|
|
4
4
|
import { c as f } from "./custom-element.L4WJXn1j.js";
|
|
5
|
-
import { L as z } from "./i18n.
|
|
5
|
+
import { L as z } from "./i18n.CH-wak_P.js";
|
|
6
6
|
import { c as m } from "./math.DqTA6ya4.js";
|
|
7
7
|
import { w as d } from "./watch.CThbualB.js";
|
|
8
8
|
import { i as C, x as s } from "./lit-element.jLBm65_O.js";
|
|
@@ -10,9 +10,9 @@ import { r as S } from "./state.CSDxrqLd.js";
|
|
|
10
10
|
import { e as $ } from "./class-map.BiVq-cVR.js";
|
|
11
11
|
import { c as x } from "./repeat.DbF2p5ae.js";
|
|
12
12
|
import { n as g } from "./when.Dr1es41R.js";
|
|
13
|
-
import { C as w } from "./button.
|
|
14
|
-
import { C as v } from "./input.
|
|
15
|
-
import { C as I } from "./option.
|
|
13
|
+
import { C as w } from "./button.DwJEeW2t.js";
|
|
14
|
+
import { C as v } from "./input.CH4lKxPM.js";
|
|
15
|
+
import { C as I } from "./option.Bvh35v8S.js";
|
|
16
16
|
import B from "../components/select.js";
|
|
17
17
|
import N from "../components/tooltip.js";
|
|
18
18
|
import { C as k } from "./typography.DJC_UXgs.js";
|
|
@@ -2,7 +2,7 @@ import In from "../components/resize-observer.js";
|
|
|
2
2
|
import { n as wt, C as Fn } from "./lib-cortex-element.CVMmyPMC.js";
|
|
3
3
|
import { c as Ln } from "./component.styles.CRO4Odto.js";
|
|
4
4
|
import { c as $n } from "./custom-element.L4WJXn1j.js";
|
|
5
|
-
import { L as Nn } from "./i18n.
|
|
5
|
+
import { L as Nn } from "./i18n.CH-wak_P.js";
|
|
6
6
|
import { s as Zi } from "./scroll.xtO5yojm.js";
|
|
7
7
|
import { w as ft } from "./watch.CThbualB.js";
|
|
8
8
|
import { i as Bn } from "./dom.0RpWet6y.js";
|
|
@@ -17,9 +17,9 @@ import { i as Ji } from "./guard.D4axKaMo.js";
|
|
|
17
17
|
import { o as tr } from "./map.D8heArFD.js";
|
|
18
18
|
import { o as Ue } from "./style-map.llVFPd__.js";
|
|
19
19
|
import { n as Pe } from "./when.Dr1es41R.js";
|
|
20
|
-
import { C as Yn } from "./button.
|
|
20
|
+
import { C as Yn } from "./button.DwJEeW2t.js";
|
|
21
21
|
import Xn from "../components/dropdown.js";
|
|
22
|
-
import { C as qn } from "./icon-button.
|
|
22
|
+
import { C as qn } from "./icon-button.CQiBjznj.js";
|
|
23
23
|
import Gn from "../components/menu.js";
|
|
24
24
|
import Kn from "../components/menu-item.js";
|
|
25
25
|
import jn from "../components/tab.js";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { C as Et } from "./button.
|
|
1
|
+
import { C as Et } from "./button.DwJEeW2t.js";
|
|
2
2
|
import $o from "../components/checkbox.js";
|
|
3
3
|
import Uo from "../components/divider.js";
|
|
4
4
|
import Ko from "../components/format-number.js";
|
|
5
|
-
import { C as Ro } from "./icon-button.
|
|
5
|
+
import { C as Ro } from "./icon-button.CQiBjznj.js";
|
|
6
6
|
import qo from "../components/select.js";
|
|
7
7
|
import us from "../components/space.js";
|
|
8
8
|
import Xo from "../components/spinner.js";
|
|
@@ -13,7 +13,7 @@ import { g as G, a as $s } from "./dom.0RpWet6y.js";
|
|
|
13
13
|
import { x as M, i as te, E as Yo } from "./lit-element.jLBm65_O.js";
|
|
14
14
|
import "./debounce.CIEhztrj.js";
|
|
15
15
|
import "./form.B-5nQJva.js";
|
|
16
|
-
import { L as Zt } from "./i18n.
|
|
16
|
+
import { L as Zt } from "./i18n.CH-wak_P.js";
|
|
17
17
|
import "./purify.es.BIuh5IAZ.js";
|
|
18
18
|
import "./date-picker.D0SJADN6.js";
|
|
19
19
|
import "./content-builder.OsUmm8Wu.js";
|
|
@@ -25,7 +25,7 @@ import { o as ut } from "./style-map.llVFPd__.js";
|
|
|
25
25
|
import { T as er, C as tr } from "./typography.DJC_UXgs.js";
|
|
26
26
|
import { a as ir } from "./_commonjsHelpers.DQNKXVTB.js";
|
|
27
27
|
import { d as sr } from "./debounce.C_J-9zJi.js";
|
|
28
|
-
import { C as or, P as rr } from "./pagination.
|
|
28
|
+
import { C as or, P as rr } from "./pagination.zQ2FFtxB.js";
|
|
29
29
|
import { c as Rt } from "./custom-element.L4WJXn1j.js";
|
|
30
30
|
import { w as ne } from "./watch.CThbualB.js";
|
|
31
31
|
import { r as _e } from "./state.CSDxrqLd.js";
|
|
@@ -40,7 +40,7 @@ import ii from "../components/dropdown.js";
|
|
|
40
40
|
import si from "../components/menu.js";
|
|
41
41
|
import oi from "../components/menu-item.js";
|
|
42
42
|
import ar from "../components/menu-section.js";
|
|
43
|
-
import { C as lr } from "./input.
|
|
43
|
+
import { C as lr } from "./input.CH4lKxPM.js";
|
|
44
44
|
import { H as hr } from "./slot.j5oheLJC.js";
|
|
45
45
|
class fe {
|
|
46
46
|
constructor(e) {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { C as R, n as l } from "./lib-cortex-element.CVMmyPMC.js";
|
|
2
2
|
import { c as N } from "./component.styles.CRO4Odto.js";
|
|
3
3
|
import { c as G } from "./custom-element.L4WJXn1j.js";
|
|
4
|
-
import { L as M } from "./i18n.
|
|
4
|
+
import { L as M } from "./i18n.CH-wak_P.js";
|
|
5
5
|
import { c as K } from "./math.DqTA6ya4.js";
|
|
6
6
|
import { w as f } from "./watch.CThbualB.js";
|
|
7
7
|
import { i as Z, x as b, E as D } from "./lit-element.jLBm65_O.js";
|
|
8
8
|
import { r as y } from "./state.CSDxrqLd.js";
|
|
9
9
|
import { e as x } from "./query.BBf1UFkC.js";
|
|
10
|
-
import { s as
|
|
10
|
+
import { s as U, a as z, b as $ } from "./event.BeKOsirN.js";
|
|
11
11
|
import { e as C } from "./class-map.BiVq-cVR.js";
|
|
12
12
|
import { o as E } from "./if-defined.BRoBj_Rp.js";
|
|
13
13
|
import { l as W } from "./live.SCz6M8Gs.js";
|
|
@@ -194,11 +194,11 @@ let o = class extends R {
|
|
|
194
194
|
), this.isLeaf = !this.lazy && this.getChildrenItems().length === 0, this.handleExpandedChange();
|
|
195
195
|
}
|
|
196
196
|
async animateCollapse() {
|
|
197
|
-
this.emit("cx-collapse"), await
|
|
197
|
+
this.emit("cx-collapse"), await U(this.childrenContainer);
|
|
198
198
|
const { keyframes: e, options: t } = P(this, "tree-item.collapse", {
|
|
199
199
|
dir: this.localize.dir()
|
|
200
200
|
});
|
|
201
|
-
await
|
|
201
|
+
await z(
|
|
202
202
|
this.childrenContainer,
|
|
203
203
|
$(e, this.childrenContainer.scrollHeight),
|
|
204
204
|
t
|
|
@@ -222,11 +222,11 @@ let o = class extends R {
|
|
|
222
222
|
e.has("selected") && !e.has("indeterminate") && (this.indeterminate = !1);
|
|
223
223
|
}
|
|
224
224
|
async animateExpand() {
|
|
225
|
-
this.emit("cx-expand"), await
|
|
225
|
+
this.emit("cx-expand"), await U(this.childrenContainer), this.childrenContainer.hidden = !1;
|
|
226
226
|
const { keyframes: e, options: t } = P(this, "tree-item.expand", {
|
|
227
227
|
dir: this.localize.dir()
|
|
228
228
|
});
|
|
229
|
-
await
|
|
229
|
+
await z(
|
|
230
230
|
this.childrenContainer,
|
|
231
231
|
$(e, this.childrenContainer.scrollHeight),
|
|
232
232
|
t
|
|
@@ -550,8 +550,11 @@ let c = class extends R {
|
|
|
550
550
|
constructor() {
|
|
551
551
|
super(), this.sortable = !1, this.sortableGroup = null, this.disabledSortableGroup = !1, this.selection = "single", this.disabledAutoExpand = !1, this.autoExpandToSelected = !1, this.expandButtonPlacement = "start", this.noForwardExpandButtonPlacement = !1, this.forceOnChange = !1, this.labelSelectSingle = !1, this.noDragInside = !1, this.focusable = !1, this.clickTarget = null, this.localize = new M(this), this.sortableInstance = null, this.handleSortableUpdate = this.handleSortableUpdate.bind(this), this.handleSortableStart = this.handleSortableStart.bind(this), this.handleSortableEnd = this.handleSortableEnd.bind(this), this.handleFocusIn = this.handleFocusIn.bind(this), this.handleFocusOut = this.handleFocusOut.bind(this), this.handleSlotChange = this.handleSlotChange.bind(this), this.handleTreeChanged = this.handleTreeChanged.bind(this), this.initTreeItem = this.initTreeItem.bind(this);
|
|
552
552
|
}
|
|
553
|
+
runFirstUpdated() {
|
|
554
|
+
this.setAttribute("role", "tree"), this.setAttribute("tabindex", "0");
|
|
555
|
+
}
|
|
553
556
|
runConnectedCallback() {
|
|
554
|
-
if (this.addEventListener("focusin", this.handleFocusIn), this.addEventListener("focusout", this.handleFocusOut), this.addEventListener("cx-lazy-change", this.handleSlotChange), this.
|
|
557
|
+
if (this.addEventListener("focusin", this.handleFocusIn), this.addEventListener("focusout", this.handleFocusOut), this.addEventListener("cx-lazy-change", this.handleSlotChange), this.mutationObserver = new MutationObserver(this.handleTreeChanged), this.mutationObserver.observe(this, { childList: !0, subtree: !0 }), this.autoExpandToSelected) {
|
|
555
558
|
const e = ne(() => {
|
|
556
559
|
customElements.whenDefined("cx-tree-item").then(() => {
|
|
557
560
|
this.selectedItems.forEach((t) => {
|
|
@@ -2,7 +2,7 @@ import { n as s, C as x } from "../chunks/lib-cortex-element.CVMmyPMC.js";
|
|
|
2
2
|
import { c as b } from "../chunks/component.styles.CRO4Odto.js";
|
|
3
3
|
import { s as u, a as p, w as m } from "../chunks/event.BeKOsirN.js";
|
|
4
4
|
import { c as y } from "../chunks/custom-element.L4WJXn1j.js";
|
|
5
|
-
import { L as C } from "../chunks/i18n.
|
|
5
|
+
import { L as C } from "../chunks/i18n.CH-wak_P.js";
|
|
6
6
|
import { H as T } from "../chunks/slot.j5oheLJC.js";
|
|
7
7
|
import { w } from "../chunks/watch.CThbualB.js";
|
|
8
8
|
import { i as I, x as h } from "../chunks/lit-element.jLBm65_O.js";
|
|
@@ -10,7 +10,7 @@ import { r as A } from "../chunks/state.CSDxrqLd.js";
|
|
|
10
10
|
import { e as g } from "../chunks/query.BBf1UFkC.js";
|
|
11
11
|
import { e as v } from "../chunks/class-map.BiVq-cVR.js";
|
|
12
12
|
import { s as _, g as f } from "../chunks/animation-registry.HmpwNuGH.js";
|
|
13
|
-
import { C as H } from "../chunks/icon-button.
|
|
13
|
+
import { C as H } from "../chunks/icon-button.CQiBjznj.js";
|
|
14
14
|
const k = I`:host{margin:0;display:contents}.alert{background-color:var(--cx-panel-background-color);border:solid var(--cx-panel-border-width) var(--cx-panel-border-color);border-top-width:calc(var(--cx-panel-border-width) * 3);border-radius:var(--cx-border-radius-small);font-family:var(--cx-font-sans);font-size:var(--cx-font-size-small);font-weight:var(--cx-font-weight-regular);color:var(--cx-color-neutral-700);margin:inherit;align-items:stretch;line-height:1.6;display:flex;position:relative;overflow:hidden}.alert:not(.alert--has-icon) .alert__icon,.alert:not(.alert--closable) .alert__close-button{display:none}.alert__icon{font-size:var(--cx-font-size-large);flex:none;align-items:center;padding-inline-start:var(--cx-spacing-large);display:flex}.alert--has-countdown{border-bottom:none}.alert--primary{border-top-color:var(--cx-color-primary)}.alert--primary .alert__icon{color:var(--cx-color-primary)}.alert--success{border-top-color:var(--cx-color-success)}.alert--success .alert__icon{color:var(--cx-color-success)}.alert--neutral{border-top-color:var(--cx-color-neutral)}.alert--neutral .alert__icon{color:var(--cx-color-neutral)}.alert--warning{border-top-color:var(--cx-color-warning)}.alert--warning .alert__icon{color:var(--cx-color-warning)}.alert--danger{border-top-color:var(--cx-color-danger)}.alert--danger .alert__icon{color:var(--cx-color-danger)}.alert__message{padding:var(--cx-spacing-large);flex:auto;display:block;overflow:hidden}.alert__close-button{font-size:var(--cx-font-size-medium);flex:none;align-items:center;padding-inline-end:var(--cx-spacing-medium);display:flex}.alert__countdown{width:100%;height:calc(var(--cx-panel-border-width) * 3);background-color:var(--cx-panel-border-color);display:flex;position:absolute;bottom:0;left:0}.alert__countdown--ltr{justify-content:flex-end}.alert__countdown .alert__countdown-elapsed{width:0;height:100%}.alert--primary .alert__countdown-elapsed{background-color:var(--cx-color-primary)}.alert--success .alert__countdown-elapsed{background-color:var(--cx-color-success)}.alert--neutral .alert__countdown-elapsed{background-color:var(--cx-color-neutral-600)}.alert--warning .alert__countdown-elapsed{background-color:var(--cx-color-warning)}.alert--danger .alert__countdown-elapsed{background-color:var(--cx-color-danger)}.alert__timer{display:none}`;
|
|
15
15
|
var z = Object.defineProperty, $ = Object.getOwnPropertyDescriptor, t = (r, o, n, l) => {
|
|
16
16
|
for (var a = l > 1 ? void 0 : l ? $(o, n) : o, c = r.length - 1, d; c >= 0; c--)
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import "./cropper.js";
|
|
2
|
-
import { C as B } from "../chunks/button.
|
|
2
|
+
import { C as B } from "../chunks/button.DwJEeW2t.js";
|
|
3
3
|
import _ from "./space.js";
|
|
4
4
|
import { C as F } from "../chunks/typography.DJC_UXgs.js";
|
|
5
5
|
import { n, C as W } from "../chunks/lib-cortex-element.CVMmyPMC.js";
|
|
6
|
-
import { b as rt, c as ht } from "../chunks/asset.
|
|
6
|
+
import { b as rt, c as ht } from "../chunks/asset.Drl4D1c7.js";
|
|
7
7
|
import { c as E } from "../chunks/component.styles.CRO4Odto.js";
|
|
8
8
|
import { U as a, T as l } from "../chunks/asset-link-format.B0c92pSs.js";
|
|
9
9
|
import { c as N } from "../chunks/custom-element.L4WJXn1j.js";
|
|
10
|
-
import { L as U } from "../chunks/i18n.
|
|
10
|
+
import { L as U } from "../chunks/i18n.CH-wak_P.js";
|
|
11
11
|
import { w } from "../chunks/watch.CThbualB.js";
|
|
12
12
|
import { s as et, c as it } from "../chunks/number.B4PQLJIg.js";
|
|
13
13
|
import { b as G } from "../chunks/transformation.BlQCWMfI.js";
|
|
@@ -17,9 +17,9 @@ import { n as k } from "../chunks/when.Dr1es41R.js";
|
|
|
17
17
|
import I from "./details.js";
|
|
18
18
|
import lt from "./divider.js";
|
|
19
19
|
import { C as L } from "../chunks/icon.DnBh6-56.js";
|
|
20
|
-
import { C as K } from "../chunks/icon-button.
|
|
21
|
-
import { C as J } from "../chunks/input.
|
|
22
|
-
import { C as X } from "../chunks/option.
|
|
20
|
+
import { C as K } from "../chunks/icon-button.CQiBjznj.js";
|
|
21
|
+
import { C as J } from "../chunks/input.CH4lKxPM.js";
|
|
22
|
+
import { C as X } from "../chunks/option.Bvh35v8S.js";
|
|
23
23
|
import Y from "./select.js";
|
|
24
24
|
import { c as ct } from "../chunks/image.9qwbjGNb.js";
|
|
25
25
|
import { e as V } from "../chunks/query.BBf1UFkC.js";
|