@orangelogic/design-system 2.112.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.Ci6rP56l.js → asset.Drl4D1c7.js} +1 -1
- package/library/chunks/{button.BvBgxmvw.js → button.DwJEeW2t.js} +1 -1
- package/library/chunks/{color-swatch-group.D8KPblw2.js → color-swatch-group.5Mqr0rNP.js} +7 -7
- package/library/chunks/{color-swatch.DQxReKYX.js → color-swatch.DVzEaNeL.js} +1 -1
- package/library/chunks/{confirm-popover.dyPIFLWa.js → confirm-popover.BifwpSuf.js} +3 -3
- package/library/chunks/{dialog.BoCFGpPO.js → dialog.BYCWepBc.js} +2 -2
- package/library/chunks/{document-viewer.B90s20gM.js → document-viewer.Cui5mV3v.js} +5 -5
- package/library/chunks/{dot-pagination.uz9GFrMP.js → dot-pagination.C4l5vKor.js} +1 -1
- package/library/chunks/{file-on-demand.DLVH0DID.js → file-on-demand.AwMj4AfO.js} +246 -227
- package/library/chunks/{folder-select.C2ruplAB.js → folder-select.Bc9x2hMO.js} +4 -4
- package/library/chunks/{header.By_Mfx47.js → header.Cf9ujCpg.js} +3 -3
- package/library/chunks/{i18n.BcD4Ohsq.js → i18n.CH-wak_P.js} +6 -1
- package/library/chunks/{icon-button.DO6DHXwo.js → icon-button.CQiBjznj.js} +1 -1
- package/library/chunks/{iframe.C4jZSmOr.js → iframe.BQPVygBJ.js} +1 -1
- package/library/chunks/{image.Cx4hbc4L.js → image.cT-FziNS.js} +1 -1
- package/library/chunks/{input.B7SaYNrr.js → input.CH4lKxPM.js} +1 -1
- package/library/chunks/{list-editor.Hag-nXN-.js → list-editor.BBgFSBlF.js} +74 -74
- package/library/chunks/{option.CA-HtVdP.js → option.Bvh35v8S.js} +10 -10
- package/library/chunks/{pagination.jgAGwDyt.js → pagination.zQ2FFtxB.js} +5 -5
- package/library/chunks/{tab-group.DyxpVNOn.js → tab-group.DvMX02hY.js} +3 -3
- package/library/chunks/{table.Crb35At8.js → table.DLrle5SR.js} +5 -5
- package/library/chunks/{tree.jg0MjIB8.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 +29688 -29415
- 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 +6 -3
- 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/types/src/icon-picker.d.ts +2 -2
- package/library/packages/utils/src/custom-element/i18n.d.ts +6 -1
- package/library/react-web-component.d.ts +51 -52
- 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
|
{
|
|
@@ -140,6 +140,7 @@ const w = {
|
|
|
140
140
|
addCurrent: "Add current",
|
|
141
141
|
addFolderCard: "Add folder card",
|
|
142
142
|
addLimitExceeded: (e) => `Cannot add more than ${e} fields at a time. Please modify your selection. Then add another set of fields.`,
|
|
143
|
+
addMarker: "Add marker",
|
|
143
144
|
addPageCard: "Add page card",
|
|
144
145
|
addParameter: "Add parameter",
|
|
145
146
|
addRemoveLink: "Add/remove link",
|
|
@@ -238,6 +239,7 @@ const w = {
|
|
|
238
239
|
buttonAriaLabelHelpText: "Used to announce button label through speech. Ignored if button has own label",
|
|
239
240
|
cache: "Cache",
|
|
240
241
|
cacheSizeCannotBeNegative: "Cache size cannot be negative.",
|
|
242
|
+
cacheSizeDescription: "Cache stores your recently accessed and pinned files locally for instant loading.",
|
|
241
243
|
cacheUsageWarning: "Out of cache.",
|
|
242
244
|
cached: "Cached",
|
|
243
245
|
caching: "Caching",
|
|
@@ -414,6 +416,7 @@ const w = {
|
|
|
414
416
|
editFolderCard: "Edit folder card",
|
|
415
417
|
editImage: "Edit image",
|
|
416
418
|
editLink: "Edit link",
|
|
419
|
+
editMarker: "Edit marker",
|
|
417
420
|
editPageCard: "Edit page card",
|
|
418
421
|
editSection: "Edit Section",
|
|
419
422
|
editSlide: "Edit slide",
|
|
@@ -614,6 +617,7 @@ const w = {
|
|
|
614
617
|
marginTop: "Margin Top",
|
|
615
618
|
margins: "Margins",
|
|
616
619
|
markerImages: "Marker images",
|
|
620
|
+
markers: "Markers",
|
|
617
621
|
markersPerScreen: "Markers per screen",
|
|
618
622
|
matchCase: "Match case",
|
|
619
623
|
max: "max",
|
|
@@ -915,7 +919,7 @@ const w = {
|
|
|
915
919
|
suggestDeletion: "Suggest deletion",
|
|
916
920
|
superscript: "Superscript",
|
|
917
921
|
syncCanceled: "Sync canceled.",
|
|
918
|
-
|
|
922
|
+
syncFailed: "Sync failed.",
|
|
919
923
|
syncing: "Syncing",
|
|
920
924
|
tabBackground: "Tab background",
|
|
921
925
|
table: "Table",
|
|
@@ -1000,6 +1004,7 @@ const w = {
|
|
|
1000
1004
|
urlValidationMessage: "Please enter a valid URL.",
|
|
1001
1005
|
useKeyboardArrowsToNavigateThroughTheCarousel: "Use the keyboard arrows to navigate through the carousel",
|
|
1002
1006
|
useKeyboardArrowsToNavigateThroughTheGallery: "Use the keyboard arrows to navigate through the gallery",
|
|
1007
|
+
used: "Used",
|
|
1003
1008
|
userAvatar: "User avatar",
|
|
1004
1009
|
userGuide: "User guide",
|
|
1005
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
|
|
33
|
-
import { a as
|
|
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";
|
|
@@ -776,15 +776,15 @@ var A, $;
|
|
|
776
776
|
function oe() {
|
|
777
777
|
if ($) return A;
|
|
778
778
|
$ = 1;
|
|
779
|
-
const e = re(),
|
|
779
|
+
const e = re(), t = {}, a = {}, i = [], s = [], p = [];
|
|
780
780
|
for (const d in e) {
|
|
781
781
|
const { name: m, nativeName: h } = e[d];
|
|
782
|
-
|
|
782
|
+
t[d] = a[m.toLowerCase()] = a[h.toLowerCase()] = { code: d, name: m, nativeName: h }, i.push(d), s.push(m), p.push(h);
|
|
783
783
|
}
|
|
784
784
|
return A = class f {
|
|
785
785
|
static getLanguages(m = []) {
|
|
786
786
|
return m.map(
|
|
787
|
-
(h) => f.validate(h) ? Object.assign({},
|
|
787
|
+
(h) => f.validate(h) ? Object.assign({}, t[h]) : { code: h, name: "", nativeName: "" }
|
|
788
788
|
);
|
|
789
789
|
}
|
|
790
790
|
static getName(m) {
|
|
@@ -800,7 +800,7 @@ function oe() {
|
|
|
800
800
|
return p.slice();
|
|
801
801
|
}
|
|
802
802
|
static getCode(m) {
|
|
803
|
-
return m = m.toLowerCase(),
|
|
803
|
+
return m = m.toLowerCase(), a.hasOwnProperty(m) ? a[m].code : "";
|
|
804
804
|
}
|
|
805
805
|
static getAllCodes() {
|
|
806
806
|
return i.slice();
|
|
@@ -814,18 +814,18 @@ var le = oe();
|
|
|
814
814
|
const me = /* @__PURE__ */ J(le);
|
|
815
815
|
var ce = 0;
|
|
816
816
|
function de(e) {
|
|
817
|
-
var
|
|
818
|
-
return Q(e) +
|
|
817
|
+
var t = ++ce;
|
|
818
|
+
return Q(e) + t;
|
|
819
819
|
}
|
|
820
|
-
const pe = z`:host{isolation:isolate}.asset-picker__input[data-user-invalid]~.asset-picker__trigger-wrapper .asset-picker__button::part(base){border-color:var(--cx-input-invalid-border-color)}.asset-picker__input[data-user-invalid]:focus-within~.asset-picker__trigger-wrapper .asset-picker__button::part(base){border-color:var(--cx-input-invalid-border-color);box-shadow:var(--cx-input-invalid-shadow)}.asset-picker__button-container{
|
|
821
|
-
var ue = Object.defineProperty, he = Object.getOwnPropertyDescriptor, u = (e,
|
|
822
|
-
for (var s = i > 1 ? void 0 : i ? he(
|
|
823
|
-
(d = e[p]) && (s = (i ? d(
|
|
824
|
-
return i && s && ue(
|
|
820
|
+
const pe = z`:host{isolation:isolate}.asset-picker__input[data-user-invalid]~.asset-picker__trigger-wrapper .asset-picker__button::part(base){border-color:var(--cx-input-invalid-border-color)}.asset-picker__input[data-user-invalid]:focus-within~.asset-picker__trigger-wrapper .asset-picker__button::part(base){border-color:var(--cx-input-invalid-border-color);box-shadow:var(--cx-input-invalid-shadow)}.asset-picker__button-container{position:relative}.asset-picker__trigger-wrapper{z-index:1;position:relative}.asset-picker__image{--height:150px;--width:200px;--border-radius:var(--cx-border-radius-medium)}.asset-picker__input{opacity:0;width:100%;height:100%;position:absolute;top:0;left:0}`;
|
|
821
|
+
var ue = Object.defineProperty, he = Object.getOwnPropertyDescriptor, u = (e, t, a, i) => {
|
|
822
|
+
for (var s = i > 1 ? void 0 : i ? he(t, a) : t, p = e.length - 1, d; p >= 0; p--)
|
|
823
|
+
(d = e[p]) && (s = (i ? d(t, a, s) : d(s)) || s);
|
|
824
|
+
return i && s && ue(t, a, s), s;
|
|
825
825
|
};
|
|
826
826
|
let c = class extends T {
|
|
827
827
|
constructor() {
|
|
828
|
-
super(...arguments), this.localize = new D(this), this.value = "", this.name = "", this.type = [g.Image], this.multiple = !1, this.accepts = [], this.required = !1, this.disabled = !1, this.onRequestAsset = void 0, this.recordId = "", this.previewSrc = "", this.apiGetAssets =
|
|
828
|
+
super(...arguments), this.localize = new D(this), this.value = "", this.name = "", this.type = [g.Image], this.multiple = !1, this.accepts = [], this.required = !1, this.disabled = !1, this.onRequestAsset = void 0, this.recordId = "", this.previewSrc = "", this.apiGetAssets = ae;
|
|
829
829
|
}
|
|
830
830
|
async handleRequestAssetClick() {
|
|
831
831
|
if (this.onRequestAsset)
|
|
@@ -841,21 +841,21 @@ let c = class extends T {
|
|
|
841
841
|
this.accepts
|
|
842
842
|
);
|
|
843
843
|
if (this.accepts.length > 0 && Object.values(e).some(
|
|
844
|
-
(
|
|
844
|
+
(a) => !this.accepts.includes(ne(a.src) ?? "")
|
|
845
845
|
))
|
|
846
846
|
se(this.localize.term("nonAcceptedExtension", this.accepts), {
|
|
847
847
|
notificationType: "warning"
|
|
848
848
|
});
|
|
849
849
|
else if (this.multiple) {
|
|
850
|
-
const
|
|
850
|
+
const a = Object.values(e);
|
|
851
851
|
this.emit("cx-content-builder-asset-select", {
|
|
852
|
-
detail:
|
|
852
|
+
detail: a
|
|
853
853
|
});
|
|
854
854
|
} else {
|
|
855
|
-
const { extension:
|
|
855
|
+
const { extension: a, id: i, identifier: s, name: p, representative: d, src: m, type: h } = e;
|
|
856
856
|
this.emit("cx-content-builder-asset-select", {
|
|
857
857
|
detail: {
|
|
858
|
-
extension:
|
|
858
|
+
extension: a,
|
|
859
859
|
id: i,
|
|
860
860
|
identifier: s,
|
|
861
861
|
name: p,
|
|
@@ -885,12 +885,12 @@ let c = class extends T {
|
|
|
885
885
|
return;
|
|
886
886
|
}
|
|
887
887
|
try {
|
|
888
|
-
const
|
|
888
|
+
const t = (await this.apiGetAssets({
|
|
889
889
|
extraFields: ["path_TR1"],
|
|
890
890
|
getPermanentAssetsPaths: !0,
|
|
891
891
|
recordIds: [this.recordId]
|
|
892
892
|
})).items[0];
|
|
893
|
-
this.previewSrc =
|
|
893
|
+
this.previewSrc = t?.path_TR1 || t?.originalUrl || "";
|
|
894
894
|
} catch {
|
|
895
895
|
this.previewSrc = "";
|
|
896
896
|
}
|
|
@@ -921,7 +921,7 @@ let c = class extends T {
|
|
|
921
921
|
return l`<cx-space part="base" class="asset-picker" spacing="2x-small" direction="horizontal" align-items=${this.acceptsType(g.Image) ? "flex-start" : "center"}>${this.renderAssetPreview()}
|
|
922
922
|
${N(
|
|
923
923
|
!this.disabled,
|
|
924
|
-
() => l`<div class="asset-picker__button-container"><cx-input class="asset-picker__input" aria-label=${this.localize.term("choose")} name=${this.name} value=${this.value} ?required=${this.required} .form=${this.closest("form")}></cx-input><div class="asset-picker__trigger-wrapper"><slot name="trigger" @click=${this.handleRequestAssetClick}><cx-button part="button" class="asset-picker__button">${this.localize.term("choose")}</cx-button></slot></div></div>${N(
|
|
924
|
+
() => l`<div part="button-container" class="asset-picker__button-container"><cx-input class="asset-picker__input" aria-label=${this.localize.term("choose")} name=${this.name} value=${this.value} ?required=${this.required} .form=${this.closest("form")}></cx-input><div class="asset-picker__trigger-wrapper"><slot name="trigger" @click=${this.handleRequestAssetClick}><cx-button part="button" class="asset-picker__button">${this.localize.term("choose")}</cx-button></slot></div></div>${N(
|
|
925
925
|
this.value,
|
|
926
926
|
() => l`<cx-icon-button label=${this.localize.term("delete")} name="delete" @click=${this.handleDeleteClick}></cx-icon-button>`
|
|
927
927
|
)}
|
|
@@ -933,7 +933,7 @@ c.styles = [L, pe];
|
|
|
933
933
|
c.dependencies = {
|
|
934
934
|
"cx-button": _,
|
|
935
935
|
"cx-icon-button": ee,
|
|
936
|
-
"cx-image":
|
|
936
|
+
"cx-image": te,
|
|
937
937
|
"cx-input": k,
|
|
938
938
|
"cx-space": S,
|
|
939
939
|
"cx-typography": E
|
|
@@ -953,7 +953,7 @@ u([
|
|
|
953
953
|
u([
|
|
954
954
|
o({
|
|
955
955
|
converter: {
|
|
956
|
-
fromAttribute: (e) => (e ?? "").split(" ").filter((
|
|
956
|
+
fromAttribute: (e) => (e ?? "").split(" ").filter((t) => t !== ""),
|
|
957
957
|
toAttribute: (e) => e.join(" ")
|
|
958
958
|
},
|
|
959
959
|
reflect: !0
|
|
@@ -965,7 +965,7 @@ u([
|
|
|
965
965
|
u([
|
|
966
966
|
o({
|
|
967
967
|
converter: {
|
|
968
|
-
fromAttribute: (e) => (e ?? "").split(" ").filter((
|
|
968
|
+
fromAttribute: (e) => (e ?? "").split(" ").filter((t) => t !== ""),
|
|
969
969
|
toAttribute: (e) => e.join(" ")
|
|
970
970
|
},
|
|
971
971
|
reflect: !0
|
|
@@ -996,10 +996,10 @@ c = u([
|
|
|
996
996
|
M("cx-asset-picker")
|
|
997
997
|
], c);
|
|
998
998
|
const ve = z`:host{--overridden-min-height:var(--min-height,160px);--overridden-max-height:var(--max-height,260px);width:100%;display:block}.list-editor{width:100%}.list-editor__table{--cell-border-color:transparent;--cell-bottom-border-color:transparent;--header-font-size:var(--cx-font-size-small);--row-header-border-color:transparent;--cell-horizontal-padding:var(--cx-spacing-2x-small);--table-min-height:var(--overridden-min-height);--table-max-height:var(--overridden-max-height)}.list-editor__table--no-header{--cell-hover-background-color:transparent}.list-editor__item::part(expand-button){display:none}.list-editor__item__text{--line-height:1}.list-editor__item__text__description{color:var(--cx-color-neutral-600)}.list-editor__dialog{--body-spacing:0;--header-spacing:var(--cx-spacing-small) var(--cx-spacing-large) 0;--width:540px}.list-editor__tab-group{--padding:0;--tab-group-nav-padding:0 var(--cx-spacing-large)}`;
|
|
999
|
-
var ge = Object.defineProperty, Ne = Object.getOwnPropertyDescriptor, r = (e,
|
|
1000
|
-
for (var s = i > 1 ? void 0 : i ? Ne(
|
|
1001
|
-
(d = e[p]) && (s = (i ? d(
|
|
1002
|
-
return i && s && ge(
|
|
999
|
+
var ge = Object.defineProperty, Ne = Object.getOwnPropertyDescriptor, r = (e, t, a, i) => {
|
|
1000
|
+
for (var s = i > 1 ? void 0 : i ? Ne(t, a) : t, p = e.length - 1, d; p >= 0; p--)
|
|
1001
|
+
(d = e[p]) && (s = (i ? d(t, a, s) : d(s)) || s);
|
|
1002
|
+
return i && s && ge(t, a, s), s;
|
|
1003
1003
|
};
|
|
1004
1004
|
const be = {
|
|
1005
1005
|
resizable: !1
|
|
@@ -1054,15 +1054,15 @@ let n = class extends T {
|
|
|
1054
1054
|
}
|
|
1055
1055
|
handleEditedItemChange() {
|
|
1056
1056
|
const e = {};
|
|
1057
|
-
for (const
|
|
1058
|
-
e[
|
|
1059
|
-
this.sortedEntries = Object.entries(this.editedItem || {}).filter(([
|
|
1057
|
+
for (const t of this.columns)
|
|
1058
|
+
e[t.field] = t.configOrder;
|
|
1059
|
+
this.sortedEntries = Object.entries(this.editedItem || {}).filter(([t]) => this.OMITTED_FIELDS.indexOf(t) === -1 && this.columnsMap[t]).sort(([t], [a]) => (e[t] ?? Number.MAX_SAFE_INTEGER) - (e[a] ?? Number.MAX_SAFE_INTEGER));
|
|
1060
1060
|
}
|
|
1061
1061
|
handleTableActions(e) {
|
|
1062
|
-
const { name:
|
|
1062
|
+
const { name: t, row: a } = e.detail, i = "component" in a ? a.component : a;
|
|
1063
1063
|
if (i) {
|
|
1064
1064
|
if (this.useEvents) {
|
|
1065
|
-
this.emit(`cx-list-editor-${
|
|
1065
|
+
this.emit(`cx-list-editor-${t}`, {
|
|
1066
1066
|
detail: {
|
|
1067
1067
|
index: i.getIndex(),
|
|
1068
1068
|
item: i.getData()
|
|
@@ -1070,7 +1070,7 @@ let n = class extends T {
|
|
|
1070
1070
|
});
|
|
1071
1071
|
return;
|
|
1072
1072
|
}
|
|
1073
|
-
|
|
1073
|
+
t === "edit" ? this.editedItem = i.getData() : t === "delete" && this.emit("cx-list-editor-change", {
|
|
1074
1074
|
detail: {
|
|
1075
1075
|
data: this.data.filter((s) => s.id !== i.getData().id)
|
|
1076
1076
|
}
|
|
@@ -1096,16 +1096,16 @@ let n = class extends T {
|
|
|
1096
1096
|
handleSaveClick() {
|
|
1097
1097
|
if (this.editedItem) {
|
|
1098
1098
|
const e = this.data.findIndex(
|
|
1099
|
-
(
|
|
1099
|
+
(a) => a.id === this.editedItem.id
|
|
1100
1100
|
);
|
|
1101
1101
|
if (!this.isAdding && e === -1) {
|
|
1102
1102
|
this.editedItem = null;
|
|
1103
1103
|
return;
|
|
1104
1104
|
}
|
|
1105
|
-
let
|
|
1106
|
-
this.isAdding ?
|
|
1105
|
+
let t = this.data;
|
|
1106
|
+
this.isAdding ? t = [...t, this.editedItem] : t = this.data.map((a) => a.id === this.editedItem.id ? this.editedItem : a), this.emit("cx-list-editor-change", {
|
|
1107
1107
|
detail: {
|
|
1108
|
-
data:
|
|
1108
|
+
data: t
|
|
1109
1109
|
}
|
|
1110
1110
|
}), this.editedItem = null, this.isAdding = !1;
|
|
1111
1111
|
}
|
|
@@ -1124,55 +1124,55 @@ let n = class extends T {
|
|
|
1124
1124
|
if (await this.updateComplete, !this.table)
|
|
1125
1125
|
return;
|
|
1126
1126
|
if (!this.loadingItemIndex) {
|
|
1127
|
-
this.table.tabulatorInstance?.getRows().forEach((
|
|
1128
|
-
const i =
|
|
1129
|
-
|
|
1127
|
+
this.table.tabulatorInstance?.getRows().forEach((a) => {
|
|
1128
|
+
const i = a._row.hoverMenuElement;
|
|
1129
|
+
a._row.hoverMenuElement.actions = i.actions.map((s) => (s.options?.buttonProps && (s.options.buttonProps.loading = !1), s));
|
|
1130
1130
|
});
|
|
1131
1131
|
return;
|
|
1132
1132
|
}
|
|
1133
1133
|
const e = this.table.tabulatorInstance?.getRow(this.loadingItemIndex);
|
|
1134
1134
|
if (!e || !e?._row?.hoverMenuElement)
|
|
1135
1135
|
return;
|
|
1136
|
-
const
|
|
1137
|
-
|
|
1136
|
+
const t = e._row.hoverMenuElement;
|
|
1137
|
+
t.actions = t.actions.map((a) => (a.options?.buttonProps && (a.options.buttonProps.loading = a.name === this.loadingEvent && this.loadingItemIndex === e.getIndex()), a));
|
|
1138
1138
|
}
|
|
1139
1139
|
handleChange(e) {
|
|
1140
1140
|
if (!e.target)
|
|
1141
1141
|
return;
|
|
1142
|
-
const
|
|
1143
|
-
if (!
|
|
1142
|
+
const t = e.target, a = t.dataset.id;
|
|
1143
|
+
if (!a)
|
|
1144
1144
|
return;
|
|
1145
|
-
let i =
|
|
1145
|
+
let i = t.value;
|
|
1146
1146
|
Array.isArray(i) ? i = i.join(" ") : i = String(i), this.editedItem = {
|
|
1147
1147
|
...this.editedItem,
|
|
1148
|
-
[
|
|
1148
|
+
[a]: i
|
|
1149
1149
|
};
|
|
1150
1150
|
}
|
|
1151
1151
|
renderControls(e) {
|
|
1152
1152
|
if (e === "translation") {
|
|
1153
|
-
const
|
|
1153
|
+
const t = l`
|
|
1154
1154
|
${x(
|
|
1155
1155
|
this.translatableControls,
|
|
1156
|
-
(
|
|
1157
|
-
(
|
|
1156
|
+
(a) => a.field,
|
|
1157
|
+
(a) => l`<cx-grid columns="4" spacing="var(--cx-spacing-small)" column-spacing="0" use-flex-gap row-spacing="0" wrap="wrap"><cx-grid-item xs="4" sm="1"><cx-typography variant="body2">${a.title}</cx-typography></cx-grid-item><cx-grid-item xs="4" sm="3"><cx-space direction="vertical" spacing="x-small" wrap="nowrap">${Z(this.supportedLanguages, (i) => {
|
|
1158
1158
|
const s = this.localize.languageName(i) || me.getName(i) || i, p = (d) => {
|
|
1159
1159
|
const m = d.target.value;
|
|
1160
1160
|
this.editedItem = {
|
|
1161
1161
|
...this.editedItem,
|
|
1162
|
-
[`${
|
|
1162
|
+
[`${a.field}-${i}`]: m
|
|
1163
1163
|
};
|
|
1164
1164
|
};
|
|
1165
|
-
return l`<cx-input ?disabled=${i.toLowerCase() === this.defaultLanguage?.toLowerCase()} label=${s} value=${this.editedItem?.[`${
|
|
1165
|
+
return l`<cx-input ?disabled=${i.toLowerCase() === this.defaultLanguage?.toLowerCase()} label=${s} value=${this.editedItem?.[`${a.field}-${i}`] ?? this.editedItem?.[`${a.field}`] ?? ""} @cx-change=${p}></cx-input>`;
|
|
1166
1166
|
})}</cx-space></cx-grid-item></cx-grid>`
|
|
1167
1167
|
)}
|
|
1168
1168
|
`;
|
|
1169
|
-
return l`<cx-space direction="vertical" wrap="nowrap">${
|
|
1169
|
+
return l`<cx-space direction="vertical" wrap="nowrap">${t}</cx-space>`;
|
|
1170
1170
|
}
|
|
1171
1171
|
return l`<cx-grid columns="3" spacing="var(--cx-spacing-small)" wrap="wrap">${x(
|
|
1172
1172
|
this.sortedEntries,
|
|
1173
|
-
([
|
|
1174
|
-
([
|
|
1175
|
-
this.columnsMap[
|
|
1173
|
+
([t]) => t,
|
|
1174
|
+
([t, a]) => l`<cx-grid-item xs="3" sm="1"><cx-typography variant="body2">${this.columnsMap[t].title}</cx-typography></cx-grid-item><cx-grid-item xs="3" sm="2">${X(
|
|
1175
|
+
this.columnsMap[t].controlType,
|
|
1176
1176
|
[
|
|
1177
1177
|
[
|
|
1178
1178
|
"image-picker",
|
|
@@ -1183,37 +1183,37 @@ let n = class extends T {
|
|
|
1183
1183
|
const { id: d, src: m } = p.detail;
|
|
1184
1184
|
this.editedItem = {
|
|
1185
1185
|
...this.editedItem,
|
|
1186
|
-
[
|
|
1186
|
+
[t]: m,
|
|
1187
1187
|
recordId: d
|
|
1188
1188
|
};
|
|
1189
1189
|
}, s = async () => {
|
|
1190
1190
|
this.editedItem = {
|
|
1191
1191
|
...this.editedItem,
|
|
1192
|
-
[
|
|
1192
|
+
[t]: "",
|
|
1193
1193
|
recordId: ""
|
|
1194
1194
|
};
|
|
1195
1195
|
};
|
|
1196
|
-
return l`<cx-asset-picker value=${
|
|
1196
|
+
return l`<cx-asset-picker value=${a} record-id=${this.editedItem.recordId || ""} type="image" id=${t} @cx-content-builder-asset-select=${i} @cx-content-builder-asset-delete=${s} @cx-asset-request-status=${this.handleAssetRequestStatus} .onRequestAsset=${this.onRequestAsset}></cx-asset-picker>`;
|
|
1197
1197
|
}
|
|
1198
1198
|
],
|
|
1199
1199
|
[
|
|
1200
1200
|
"radio-group",
|
|
1201
|
-
() => l`<cx-radio-group data-id=${
|
|
1202
|
-
this.columnsMap[
|
|
1201
|
+
() => l`<cx-radio-group data-id=${t} data-testid="radio-group-control" horizontal value=${(a || this.columnsMap[t].defaultValue) ?? ""} size="medium" @cx-change=${this.handleChange}>${x(
|
|
1202
|
+
this.columnsMap[t].options ?? [],
|
|
1203
1203
|
(i) => i.value,
|
|
1204
1204
|
(i) => l`<cx-radio value=${i.value}>${i.name}</cx-radio>`
|
|
1205
1205
|
)}</cx-radio-group>`
|
|
1206
1206
|
],
|
|
1207
1207
|
[
|
|
1208
1208
|
"select",
|
|
1209
|
-
() => this.columnsMap[
|
|
1210
|
-
this.columnsMap[
|
|
1209
|
+
() => this.columnsMap[t].api ? l`<cx-dynamic-select data-id=${t} hoist value=${a} @cx-change=${this.handleChange} .api=${this.columnsMap[t].api}></cx-dynamic-select>` : l`<cx-select data-id=${t} hoist value=${a} @cx-change=${this.handleChange}>${x(
|
|
1210
|
+
this.columnsMap[t].options ?? [],
|
|
1211
1211
|
(i) => i.value,
|
|
1212
1212
|
(i) => l`<cx-option value=${i.value}>${i.name}</cx-option>`
|
|
1213
1213
|
)}</cx-select>`
|
|
1214
1214
|
]
|
|
1215
1215
|
],
|
|
1216
|
-
() => l`<cx-input data-id=${
|
|
1216
|
+
() => l`<cx-input data-id=${t} value=${a} @cx-change=${this.handleChange}></cx-input>`
|
|
1217
1217
|
)}</cx-grid-item>`
|
|
1218
1218
|
)}</cx-grid>`;
|
|
1219
1219
|
}
|
|
@@ -1267,8 +1267,8 @@ r([
|
|
|
1267
1267
|
converter: {
|
|
1268
1268
|
fromAttribute: (e) => {
|
|
1269
1269
|
try {
|
|
1270
|
-
const
|
|
1271
|
-
return Array.isArray(
|
|
1270
|
+
const t = JSON.parse(e);
|
|
1271
|
+
return Array.isArray(t) ? t : [];
|
|
1272
1272
|
} catch {
|
|
1273
1273
|
return [];
|
|
1274
1274
|
}
|
|
@@ -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";
|